Show / Hide Table of Contents

Class AdminResource.ProjectsResource.LocationsResource.TopicsResource

The "topics" collection of methods.

Inheritance
object
AdminResource.ProjectsResource.LocationsResource.TopicsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.PubsubLite.v1
Assembly: Google.Apis.PubsubLite.v1.dll
Syntax
public class AdminResource.ProjectsResource.LocationsResource.TopicsResource

Constructors

TopicsResource(IClientService)

Constructs a new resource.

Declaration
public TopicsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Subscriptions

Gets the Subscriptions resource.

Declaration
public virtual AdminResource.ProjectsResource.LocationsResource.TopicsResource.SubscriptionsResource Subscriptions { get; }
Property Value
Type Description
AdminResource.ProjectsResource.LocationsResource.TopicsResource.SubscriptionsResource

Methods

Create(Topic, string)

Creates a new topic.

Declaration
public virtual AdminResource.ProjectsResource.LocationsResource.TopicsResource.CreateRequest Create(Topic body, string parent)
Parameters
Type Name Description
Topic body

The body of the request.

string parent

Required. The parent location in which to create the topic. Structured like projects/{project_number}/locations/{location}.

Returns
Type Description
AdminResource.ProjectsResource.LocationsResource.TopicsResource.CreateRequest

Delete(string)

Deletes the specified topic.

Declaration
public virtual AdminResource.ProjectsResource.LocationsResource.TopicsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the topic to delete.

Returns
Type Description
AdminResource.ProjectsResource.LocationsResource.TopicsResource.DeleteRequest

Get(string)

Returns the topic configuration.

Declaration
public virtual AdminResource.ProjectsResource.LocationsResource.TopicsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the topic whose configuration to return.

Returns
Type Description
AdminResource.ProjectsResource.LocationsResource.TopicsResource.GetRequest

GetPartitions(string)

Returns the partition information for the requested topic.

Declaration
public virtual AdminResource.ProjectsResource.LocationsResource.TopicsResource.GetPartitionsRequest GetPartitions(string name)
Parameters
Type Name Description
string name

Required. The topic whose partition information to return.

Returns
Type Description
AdminResource.ProjectsResource.LocationsResource.TopicsResource.GetPartitionsRequest

List(string)

Returns the list of topics for the given project.

Declaration
public virtual AdminResource.ProjectsResource.LocationsResource.TopicsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent whose topics are to be listed. Structured like projects/{project_number}/locations/{location}.

Returns
Type Description
AdminResource.ProjectsResource.LocationsResource.TopicsResource.ListRequest

Patch(Topic, string)

Updates properties of the specified topic.

Declaration
public virtual AdminResource.ProjectsResource.LocationsResource.TopicsResource.PatchRequest Patch(Topic body, string name)
Parameters
Type Name Description
Topic body

The body of the request.

string name

The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}

Returns
Type Description
AdminResource.ProjectsResource.LocationsResource.TopicsResource.PatchRequest
In this article
Back to top Generated by DocFX