Class ProjectsResource.LocationsResource.ClustersResource
The "clusters" collection of methods.
Inherited Members
Namespace: Google.Apis.ManagedKafka.v1
Assembly: Google.Apis.ManagedKafka.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ClustersResource
Constructors
ClustersResource(IClientService)
Constructs a new resource.
Declaration
public ClustersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Acls
Gets the Acls resource.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.AclsResource Acls { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.AclsResource |
ConsumerGroups
Gets the ConsumerGroups resource.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.ConsumerGroupsResource ConsumerGroups { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.ConsumerGroupsResource |
Topics
Gets the Topics resource.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.TopicsResource Topics { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.TopicsResource |
Methods
Create(Cluster, string)
Creates a new cluster in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.CreateRequest Create(Cluster body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Cluster | body | The body of the request. |
string | parent | Required. The parent region in which to create the cluster. Structured like
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.CreateRequest |
Delete(string)
Deletes a single cluster.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the cluster to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.DeleteRequest |
Get(string)
Returns the properties of a single cluster.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the cluster whose configuration to return. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.GetRequest |
List(string)
Lists the clusters in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent location whose clusters are to be listed. Structured like
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.ListRequest |
Patch(Cluster, string)
Updates the properties of a single cluster.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.PatchRequest Patch(Cluster body, string name)
Parameters
Type | Name | Description |
---|---|---|
Cluster | body | The body of the request. |
string | name | Identifier. The name of the cluster. Structured like: projects/{project_number}/locations/{location}/clusters/{cluster_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.PatchRequest |