Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ClustersResource

The "clusters" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.ClustersResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.HypercomputeCluster.v1
Assembly: Google.Apis.HypercomputeCluster.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

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. Parent location in which the cluster should be created, in the format projects/{project}/locations/{location}.

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. Name of the cluster to delete, in the format projects/{project}/locations/{location}/clusters/{cluster}.

Returns
Type Description
ProjectsResource.LocationsResource.ClustersResource.DeleteRequest

Get(string)

Gets details of a single Cluster.

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

Required. Name of the cluster to retrieve, in the format projects/{project}/locations/{location}/clusters/{cluster}.

Returns
Type Description
ProjectsResource.LocationsResource.ClustersResource.GetRequest

List(string)

Lists Clusters in a given project and location.

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

Required. Parent location of the clusters to list, in the format projects/{project}/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.ClustersResource.ListRequest

Patch(Cluster, string)

Updates the parameters 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. Relative resource name of the cluster, in the format projects/{project}/locations/{location}/clusters/{cluster}.

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