Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ClustersResource.TopicsResource

The "topics" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.ClustersResource.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.ManagedKafka.v1
Assembly: Google.Apis.ManagedKafka.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ClustersResource.TopicsResource

Constructors

TopicsResource(IClientService)

Constructs a new resource.

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

Methods

Create(Topic, string)

Creates a new topic in a given project and location.

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

The body of the request.

string parent

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

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

Delete(string)

Deletes a single topic.

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

Required. The name of the topic to delete. projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}.

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

Get(string)

Returns the properties of a single topic.

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

Required. The name of the topic whose configuration to return. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}.

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

List(string)

Lists the topics in a given cluster.

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

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

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

Patch(Topic, string)

Updates the properties of a single topic.

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

The body of the request.

string name

Identifier. The name of the topic. The topic segment is used when connecting directly to the cluster. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}

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