Class ClusterManagerClient

public abstract class ClusterManagerClient

ClusterManager client wrapper, for convenient use.

Inheritance

Object > ClusterManagerClient

Derived Types

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Remarks

Google Kubernetes Engine Cluster Manager v1

Properties

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the ClusterManager service, which is a host of "container.googleapis.com" and a port of 443.

Property Value
TypeDescription
String

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default ClusterManager scopes.

Property Value
TypeDescription
IReadOnlyList<String>
Remarks

The default ClusterManager scopes are:

GrpcClient

public virtual ClusterManager.ClusterManagerClient GrpcClient { get; }

The underlying gRPC ClusterManager client

Property Value
TypeDescription
ClusterManager.ClusterManagerClient

Methods

CancelOperation(CancelOperationRequest, CallSettings)

public virtual void CancelOperation(CancelOperationRequest request, CallSettings callSettings = null)

Cancels the specified operation.

Parameters
TypeNameDescription
CancelOperationRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
CancelOperationRequest request = new CancelOperationRequest { Name = "", };
// Make the request
clusterManagerClient.CancelOperation(request);

CancelOperation(String, CallSettings)

public virtual void CancelOperation(string name, CallSettings callSettings = null)

Cancels the specified operation.

Parameters
TypeNameDescription
Stringname

The name (project, location, operation id) of the operation to cancel. Specified in the format projects/*/locations/*/operations/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
string name = "";
// Make the request
clusterManagerClient.CancelOperation(name);

CancelOperation(String, String, String, CallSettings)

[Obsolete]
public virtual void CancelOperation(string projectId, string zone, string operationId, CallSettings callSettings = null)

Cancels the specified operation.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the operation resides. This field has been deprecated and replaced by the name field.

StringoperationId

Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string operationId = "";
            // Make the request
#pragma warning disable CS0612
            clusterManagerClient.CancelOperation(projectId, zone, operationId);
#pragma warning restore CS0612

CancelOperationAsync(CancelOperationRequest, CallSettings)

public virtual Task CancelOperationAsync(CancelOperationRequest request, CallSettings callSettings = null)

Cancels the specified operation.

Parameters
TypeNameDescription
CancelOperationRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
CancelOperationRequest request = new CancelOperationRequest { Name = "", };
// Make the request
await clusterManagerClient.CancelOperationAsync(request);

CancelOperationAsync(CancelOperationRequest, CancellationToken)

public virtual Task CancelOperationAsync(CancelOperationRequest request, CancellationToken cancellationToken)

Cancels the specified operation.

Parameters
TypeNameDescription
CancelOperationRequestrequest

The request object containing all of the parameters for the API call.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
CancelOperationRequest request = new CancelOperationRequest { Name = "", };
// Make the request
await clusterManagerClient.CancelOperationAsync(request);

CancelOperationAsync(String, CallSettings)

public virtual Task CancelOperationAsync(string name, CallSettings callSettings = null)

Cancels the specified operation.

Parameters
TypeNameDescription
Stringname

The name (project, location, operation id) of the operation to cancel. Specified in the format projects/*/locations/*/operations/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
await clusterManagerClient.CancelOperationAsync(name);

CancelOperationAsync(String, String, String, CallSettings)

[Obsolete]
public virtual Task CancelOperationAsync(string projectId, string zone, string operationId, CallSettings callSettings = null)

Cancels the specified operation.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the operation resides. This field has been deprecated and replaced by the name field.

StringoperationId

Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string operationId = "";
            // Make the request
#pragma warning disable CS0612
            await clusterManagerClient.CancelOperationAsync(projectId, zone, operationId);
#pragma warning restore CS0612

CancelOperationAsync(String, String, String, CancellationToken)

[Obsolete]
public virtual Task CancelOperationAsync(string projectId, string zone, string operationId, CancellationToken cancellationToken)

Cancels the specified operation.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the operation resides. This field has been deprecated and replaced by the name field.

StringoperationId

Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string operationId = "";
            // Make the request
#pragma warning disable CS0612
            await clusterManagerClient.CancelOperationAsync(projectId, zone, operationId);
#pragma warning restore CS0612

CancelOperationAsync(String, CancellationToken)

public virtual Task CancelOperationAsync(string name, CancellationToken cancellationToken)

Cancels the specified operation.

Parameters
TypeNameDescription
Stringname

The name (project, location, operation id) of the operation to cancel. Specified in the format projects/*/locations/*/operations/*.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
await clusterManagerClient.CancelOperationAsync(name);

CompleteIPRotation(CompleteIPRotationRequest, CallSettings)

public virtual Operation CompleteIPRotation(CompleteIPRotationRequest request, CallSettings callSettings = null)

Completes master IP rotation.

Parameters
TypeNameDescription
CompleteIPRotationRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
CompleteIPRotationRequest request = new CompleteIPRotationRequest { Name = "", };
// Make the request
Operation response = clusterManagerClient.CompleteIPRotation(request);

CompleteIPRotation(String, CallSettings)

public virtual Operation CompleteIPRotation(string name, CallSettings callSettings = null)

Completes master IP rotation.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format projects/*/locations/*/clusters/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
string name = "";
// Make the request
Operation response = clusterManagerClient.CompleteIPRotation(name);

CompleteIPRotation(String, String, String, CallSettings)

[Obsolete]
public virtual Operation CompleteIPRotation(string projectId, string zone, string clusterId, CallSettings callSettings = null)

Completes master IP rotation.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.CompleteIPRotation(projectId, zone, clusterId);
#pragma warning restore CS0612

CompleteIPRotationAsync(CompleteIPRotationRequest, CallSettings)

public virtual Task<Operation> CompleteIPRotationAsync(CompleteIPRotationRequest request, CallSettings callSettings = null)

Completes master IP rotation.

Parameters
TypeNameDescription
CompleteIPRotationRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
CompleteIPRotationRequest request = new CompleteIPRotationRequest { Name = "", };
// Make the request
Operation response = await clusterManagerClient.CompleteIPRotationAsync(request);

CompleteIPRotationAsync(CompleteIPRotationRequest, CancellationToken)

public virtual Task<Operation> CompleteIPRotationAsync(CompleteIPRotationRequest request, CancellationToken cancellationToken)

Completes master IP rotation.

Parameters
TypeNameDescription
CompleteIPRotationRequestrequest

The request object containing all of the parameters for the API call.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
CompleteIPRotationRequest request = new CompleteIPRotationRequest { Name = "", };
// Make the request
Operation response = await clusterManagerClient.CompleteIPRotationAsync(request);

CompleteIPRotationAsync(String, CallSettings)

public virtual Task<Operation> CompleteIPRotationAsync(string name, CallSettings callSettings = null)

Completes master IP rotation.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format projects/*/locations/*/clusters/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
Operation response = await clusterManagerClient.CompleteIPRotationAsync(name);

CompleteIPRotationAsync(String, String, String, CallSettings)

[Obsolete]
public virtual Task<Operation> CompleteIPRotationAsync(string projectId, string zone, string clusterId, CallSettings callSettings = null)

Completes master IP rotation.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.CompleteIPRotationAsync(projectId, zone, clusterId);
#pragma warning restore CS0612

CompleteIPRotationAsync(String, String, String, CancellationToken)

[Obsolete]
public virtual Task<Operation> CompleteIPRotationAsync(string projectId, string zone, string clusterId, CancellationToken cancellationToken)

Completes master IP rotation.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.CompleteIPRotationAsync(projectId, zone, clusterId);
#pragma warning restore CS0612

CompleteIPRotationAsync(String, CancellationToken)

public virtual Task<Operation> CompleteIPRotationAsync(string name, CancellationToken cancellationToken)

Completes master IP rotation.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format projects/*/locations/*/clusters/*.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
Operation response = await clusterManagerClient.CompleteIPRotationAsync(name);

Create()

public static ClusterManagerClient Create()

Synchronously creates a ClusterManagerClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use ClusterManagerClientBuilder.

Returns
TypeDescription
ClusterManagerClient

The created ClusterManagerClient.

CreateAsync(CancellationToken)

public static Task<ClusterManagerClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))

Asynchronously creates a ClusterManagerClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use ClusterManagerClientBuilder.

Parameter
TypeNameDescription
CancellationTokencancellationToken

The CancellationToken to use while creating the client.

Returns
TypeDescription
Task<ClusterManagerClient>

The task representing the created ClusterManagerClient.

CreateCluster(CreateClusterRequest, CallSettings)

public virtual Operation CreateCluster(CreateClusterRequest request, CallSettings callSettings = null)

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.

By default, the cluster is created in the project's default network.

One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster.

Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.

Parameters
TypeNameDescription
CreateClusterRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
CreateClusterRequest request = new CreateClusterRequest
{
    Cluster = new Cluster(),
    Parent = "",
};
// Make the request
Operation response = clusterManagerClient.CreateCluster(request);

CreateCluster(String, Cluster, CallSettings)

public virtual Operation CreateCluster(string parent, Cluster cluster, CallSettings callSettings = null)

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.

By default, the cluster is created in the project's default network.

One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster.

Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.

Parameters
TypeNameDescription
Stringparent

The parent (project and location) where the cluster will be created. Specified in the format projects/*/locations/*.

Clustercluster

Required. A cluster resource

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
string parent = "";
Cluster cluster = new Cluster();
// Make the request
Operation response = clusterManagerClient.CreateCluster(parent, cluster);

CreateCluster(String, String, Cluster, CallSettings)

[Obsolete]
public virtual Operation CreateCluster(string projectId, string zone, Cluster cluster, CallSettings callSettings = null)

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.

By default, the cluster is created in the project's default network.

One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster.

Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

Clustercluster

Required. A cluster resource

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            Cluster cluster = new Cluster();
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.CreateCluster(projectId, zone, cluster);
#pragma warning restore CS0612

CreateClusterAsync(CreateClusterRequest, CallSettings)

public virtual Task<Operation> CreateClusterAsync(CreateClusterRequest request, CallSettings callSettings = null)

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.

By default, the cluster is created in the project's default network.

One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster.

Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.

Parameters
TypeNameDescription
CreateClusterRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
CreateClusterRequest request = new CreateClusterRequest
{
    Cluster = new Cluster(),
    Parent = "",
};
// Make the request
Operation response = await clusterManagerClient.CreateClusterAsync(request);

CreateClusterAsync(CreateClusterRequest, CancellationToken)

public virtual Task<Operation> CreateClusterAsync(CreateClusterRequest request, CancellationToken cancellationToken)

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.

By default, the cluster is created in the project's default network.

One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster.

Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.

Parameters
TypeNameDescription
CreateClusterRequestrequest

The request object containing all of the parameters for the API call.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
CreateClusterRequest request = new CreateClusterRequest
{
    Cluster = new Cluster(),
    Parent = "",
};
// Make the request
Operation response = await clusterManagerClient.CreateClusterAsync(request);

CreateClusterAsync(String, Cluster, CallSettings)

public virtual Task<Operation> CreateClusterAsync(string parent, Cluster cluster, CallSettings callSettings = null)

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.

By default, the cluster is created in the project's default network.

One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster.

Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.

Parameters
TypeNameDescription
Stringparent

The parent (project and location) where the cluster will be created. Specified in the format projects/*/locations/*.

Clustercluster

Required. A cluster resource

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "";
Cluster cluster = new Cluster();
// Make the request
Operation response = await clusterManagerClient.CreateClusterAsync(parent, cluster);

CreateClusterAsync(String, Cluster, CancellationToken)

public virtual Task<Operation> CreateClusterAsync(string parent, Cluster cluster, CancellationToken cancellationToken)

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.

By default, the cluster is created in the project's default network.

One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster.

Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.

Parameters
TypeNameDescription
Stringparent

The parent (project and location) where the cluster will be created. Specified in the format projects/*/locations/*.

Clustercluster

Required. A cluster resource

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "";
Cluster cluster = new Cluster();
// Make the request
Operation response = await clusterManagerClient.CreateClusterAsync(parent, cluster);

CreateClusterAsync(String, String, Cluster, CallSettings)

[Obsolete]
public virtual Task<Operation> CreateClusterAsync(string projectId, string zone, Cluster cluster, CallSettings callSettings = null)

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.

By default, the cluster is created in the project's default network.

One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster.

Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

Clustercluster

Required. A cluster resource

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            Cluster cluster = new Cluster();
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.CreateClusterAsync(projectId, zone, cluster);
#pragma warning restore CS0612

CreateClusterAsync(String, String, Cluster, CancellationToken)

[Obsolete]
public virtual Task<Operation> CreateClusterAsync(string projectId, string zone, Cluster cluster, CancellationToken cancellationToken)

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.

By default, the cluster is created in the project's default network.

One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster.

Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

Clustercluster

Required. A cluster resource

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            Cluster cluster = new Cluster();
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.CreateClusterAsync(projectId, zone, cluster);
#pragma warning restore CS0612

CreateNodePool(CreateNodePoolRequest, CallSettings)

public virtual Operation CreateNodePool(CreateNodePoolRequest request, CallSettings callSettings = null)

Creates a node pool for a cluster.

Parameters
TypeNameDescription
CreateNodePoolRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
CreateNodePoolRequest request = new CreateNodePoolRequest
{
    NodePool = new NodePool(),
    Parent = "",
};
// Make the request
Operation response = clusterManagerClient.CreateNodePool(request);

CreateNodePool(String, NodePool, CallSettings)

public virtual Operation CreateNodePool(string parent, NodePool nodePool, CallSettings callSettings = null)

Creates a node pool for a cluster.

Parameters
TypeNameDescription
Stringparent

The parent (project, location, cluster id) where the node pool will be created. Specified in the format projects/*/locations/*/clusters/*.

NodePoolnodePool

Required. The node pool to create.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
string parent = "";
NodePool nodePool = new NodePool();
// Make the request
Operation response = clusterManagerClient.CreateNodePool(parent, nodePool);

CreateNodePool(String, String, String, NodePool, CallSettings)

[Obsolete]
public virtual Operation CreateNodePool(string projectId, string zone, string clusterId, NodePool nodePool, CallSettings callSettings = null)

Creates a node pool for a cluster.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.

NodePoolnodePool

Required. The node pool to create.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            NodePool nodePool = new NodePool();
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.CreateNodePool(projectId, zone, clusterId, nodePool);
#pragma warning restore CS0612

CreateNodePoolAsync(CreateNodePoolRequest, CallSettings)

public virtual Task<Operation> CreateNodePoolAsync(CreateNodePoolRequest request, CallSettings callSettings = null)

Creates a node pool for a cluster.

Parameters
TypeNameDescription
CreateNodePoolRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
CreateNodePoolRequest request = new CreateNodePoolRequest
{
    NodePool = new NodePool(),
    Parent = "",
};
// Make the request
Operation response = await clusterManagerClient.CreateNodePoolAsync(request);

CreateNodePoolAsync(CreateNodePoolRequest, CancellationToken)

public virtual Task<Operation> CreateNodePoolAsync(CreateNodePoolRequest request, CancellationToken cancellationToken)

Creates a node pool for a cluster.

Parameters
TypeNameDescription
CreateNodePoolRequestrequest

The request object containing all of the parameters for the API call.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
CreateNodePoolRequest request = new CreateNodePoolRequest
{
    NodePool = new NodePool(),
    Parent = "",
};
// Make the request
Operation response = await clusterManagerClient.CreateNodePoolAsync(request);

CreateNodePoolAsync(String, NodePool, CallSettings)

public virtual Task<Operation> CreateNodePoolAsync(string parent, NodePool nodePool, CallSettings callSettings = null)

Creates a node pool for a cluster.

Parameters
TypeNameDescription
Stringparent

The parent (project, location, cluster id) where the node pool will be created. Specified in the format projects/*/locations/*/clusters/*.

NodePoolnodePool

Required. The node pool to create.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "";
NodePool nodePool = new NodePool();
// Make the request
Operation response = await clusterManagerClient.CreateNodePoolAsync(parent, nodePool);

CreateNodePoolAsync(String, NodePool, CancellationToken)

public virtual Task<Operation> CreateNodePoolAsync(string parent, NodePool nodePool, CancellationToken cancellationToken)

Creates a node pool for a cluster.

Parameters
TypeNameDescription
Stringparent

The parent (project, location, cluster id) where the node pool will be created. Specified in the format projects/*/locations/*/clusters/*.

NodePoolnodePool

Required. The node pool to create.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "";
NodePool nodePool = new NodePool();
// Make the request
Operation response = await clusterManagerClient.CreateNodePoolAsync(parent, nodePool);

CreateNodePoolAsync(String, String, String, NodePool, CallSettings)

[Obsolete]
public virtual Task<Operation> CreateNodePoolAsync(string projectId, string zone, string clusterId, NodePool nodePool, CallSettings callSettings = null)

Creates a node pool for a cluster.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.

NodePoolnodePool

Required. The node pool to create.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            NodePool nodePool = new NodePool();
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.CreateNodePoolAsync(projectId, zone, clusterId, nodePool);
#pragma warning restore CS0612

CreateNodePoolAsync(String, String, String, NodePool, CancellationToken)

[Obsolete]
public virtual Task<Operation> CreateNodePoolAsync(string projectId, string zone, string clusterId, NodePool nodePool, CancellationToken cancellationToken)

Creates a node pool for a cluster.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.

NodePoolnodePool

Required. The node pool to create.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            NodePool nodePool = new NodePool();
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.CreateNodePoolAsync(projectId, zone, clusterId, nodePool);
#pragma warning restore CS0612

DeleteCluster(DeleteClusterRequest, CallSettings)

public virtual Operation DeleteCluster(DeleteClusterRequest request, CallSettings callSettings = null)

Deletes the cluster, including the Kubernetes endpoint and all worker nodes.

Firewalls and routes that were configured during cluster creation are also deleted.

Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.

Parameters
TypeNameDescription
DeleteClusterRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
DeleteClusterRequest request = new DeleteClusterRequest { Name = "", };
// Make the request
Operation response = clusterManagerClient.DeleteCluster(request);

DeleteCluster(String, CallSettings)

public virtual Operation DeleteCluster(string name, CallSettings callSettings = null)

Deletes the cluster, including the Kubernetes endpoint and all worker nodes.

Firewalls and routes that were configured during cluster creation are also deleted.

Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster) of the cluster to delete. Specified in the format projects/*/locations/*/clusters/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
string name = "";
// Make the request
Operation response = clusterManagerClient.DeleteCluster(name);

DeleteCluster(String, String, String, CallSettings)

[Obsolete]
public virtual Operation DeleteCluster(string projectId, string zone, string clusterId, CallSettings callSettings = null)

Deletes the cluster, including the Kubernetes endpoint and all worker nodes.

Firewalls and routes that were configured during cluster creation are also deleted.

Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.DeleteCluster(projectId, zone, clusterId);
#pragma warning restore CS0612

DeleteClusterAsync(DeleteClusterRequest, CallSettings)

public virtual Task<Operation> DeleteClusterAsync(DeleteClusterRequest request, CallSettings callSettings = null)

Deletes the cluster, including the Kubernetes endpoint and all worker nodes.

Firewalls and routes that were configured during cluster creation are also deleted.

Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.

Parameters
TypeNameDescription
DeleteClusterRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteClusterRequest request = new DeleteClusterRequest { Name = "", };
// Make the request
Operation response = await clusterManagerClient.DeleteClusterAsync(request);

DeleteClusterAsync(DeleteClusterRequest, CancellationToken)

public virtual Task<Operation> DeleteClusterAsync(DeleteClusterRequest request, CancellationToken cancellationToken)

Deletes the cluster, including the Kubernetes endpoint and all worker nodes.

Firewalls and routes that were configured during cluster creation are also deleted.

Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.

Parameters
TypeNameDescription
DeleteClusterRequestrequest

The request object containing all of the parameters for the API call.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteClusterRequest request = new DeleteClusterRequest { Name = "", };
// Make the request
Operation response = await clusterManagerClient.DeleteClusterAsync(request);

DeleteClusterAsync(String, CallSettings)

public virtual Task<Operation> DeleteClusterAsync(string name, CallSettings callSettings = null)

Deletes the cluster, including the Kubernetes endpoint and all worker nodes.

Firewalls and routes that were configured during cluster creation are also deleted.

Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster) of the cluster to delete. Specified in the format projects/*/locations/*/clusters/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
Operation response = await clusterManagerClient.DeleteClusterAsync(name);

DeleteClusterAsync(String, String, String, CallSettings)

[Obsolete]
public virtual Task<Operation> DeleteClusterAsync(string projectId, string zone, string clusterId, CallSettings callSettings = null)

Deletes the cluster, including the Kubernetes endpoint and all worker nodes.

Firewalls and routes that were configured during cluster creation are also deleted.

Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.DeleteClusterAsync(projectId, zone, clusterId);
#pragma warning restore CS0612

DeleteClusterAsync(String, String, String, CancellationToken)

[Obsolete]
public virtual Task<Operation> DeleteClusterAsync(string projectId, string zone, string clusterId, CancellationToken cancellationToken)

Deletes the cluster, including the Kubernetes endpoint and all worker nodes.

Firewalls and routes that were configured during cluster creation are also deleted.

Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.DeleteClusterAsync(projectId, zone, clusterId);
#pragma warning restore CS0612

DeleteClusterAsync(String, CancellationToken)

public virtual Task<Operation> DeleteClusterAsync(string name, CancellationToken cancellationToken)

Deletes the cluster, including the Kubernetes endpoint and all worker nodes.

Firewalls and routes that were configured during cluster creation are also deleted.

Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster) of the cluster to delete. Specified in the format projects/*/locations/*/clusters/*.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
Operation response = await clusterManagerClient.DeleteClusterAsync(name);

DeleteNodePool(DeleteNodePoolRequest, CallSettings)

public virtual Operation DeleteNodePool(DeleteNodePoolRequest request, CallSettings callSettings = null)

Deletes a node pool from a cluster.

Parameters
TypeNameDescription
DeleteNodePoolRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
DeleteNodePoolRequest request = new DeleteNodePoolRequest { Name = "", };
// Make the request
Operation response = clusterManagerClient.DeleteNodePool(request);

DeleteNodePool(String, CallSettings)

public virtual Operation DeleteNodePool(string name, CallSettings callSettings = null)

Deletes a node pool from a cluster.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
string name = "";
// Make the request
Operation response = clusterManagerClient.DeleteNodePool(name);

DeleteNodePool(String, String, String, String, CallSettings)

[Obsolete]
public virtual Operation DeleteNodePool(string projectId, string zone, string clusterId, string nodePoolId, CallSettings callSettings = null)

Deletes a node pool from a cluster.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

StringnodePoolId

Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            string nodePoolId = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.DeleteNodePool(projectId, zone, clusterId, nodePoolId);
#pragma warning restore CS0612

DeleteNodePoolAsync(DeleteNodePoolRequest, CallSettings)

public virtual Task<Operation> DeleteNodePoolAsync(DeleteNodePoolRequest request, CallSettings callSettings = null)

Deletes a node pool from a cluster.

Parameters
TypeNameDescription
DeleteNodePoolRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteNodePoolRequest request = new DeleteNodePoolRequest { Name = "", };
// Make the request
Operation response = await clusterManagerClient.DeleteNodePoolAsync(request);

DeleteNodePoolAsync(DeleteNodePoolRequest, CancellationToken)

public virtual Task<Operation> DeleteNodePoolAsync(DeleteNodePoolRequest request, CancellationToken cancellationToken)

Deletes a node pool from a cluster.

Parameters
TypeNameDescription
DeleteNodePoolRequestrequest

The request object containing all of the parameters for the API call.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteNodePoolRequest request = new DeleteNodePoolRequest { Name = "", };
// Make the request
Operation response = await clusterManagerClient.DeleteNodePoolAsync(request);

DeleteNodePoolAsync(String, CallSettings)

public virtual Task<Operation> DeleteNodePoolAsync(string name, CallSettings callSettings = null)

Deletes a node pool from a cluster.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
Operation response = await clusterManagerClient.DeleteNodePoolAsync(name);

DeleteNodePoolAsync(String, String, String, String, CallSettings)

[Obsolete]
public virtual Task<Operation> DeleteNodePoolAsync(string projectId, string zone, string clusterId, string nodePoolId, CallSettings callSettings = null)

Deletes a node pool from a cluster.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

StringnodePoolId

Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            string nodePoolId = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.DeleteNodePoolAsync(projectId, zone, clusterId, nodePoolId);
#pragma warning restore CS0612

DeleteNodePoolAsync(String, String, String, String, CancellationToken)

[Obsolete]
public virtual Task<Operation> DeleteNodePoolAsync(string projectId, string zone, string clusterId, string nodePoolId, CancellationToken cancellationToken)

Deletes a node pool from a cluster.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

StringnodePoolId

Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            string nodePoolId = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.DeleteNodePoolAsync(projectId, zone, clusterId, nodePoolId);
#pragma warning restore CS0612

DeleteNodePoolAsync(String, CancellationToken)

public virtual Task<Operation> DeleteNodePoolAsync(string name, CancellationToken cancellationToken)

Deletes a node pool from a cluster.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
Operation response = await clusterManagerClient.DeleteNodePoolAsync(name);

GetCluster(GetClusterRequest, CallSettings)

public virtual Cluster GetCluster(GetClusterRequest request, CallSettings callSettings = null)

Gets the details of a specific cluster.

Parameters
TypeNameDescription
GetClusterRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Cluster

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
GetClusterRequest request = new GetClusterRequest { Name = "", };
// Make the request
Cluster response = clusterManagerClient.GetCluster(request);

GetCluster(String, CallSettings)

public virtual Cluster GetCluster(string name, CallSettings callSettings = null)

Gets the details of a specific cluster.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster) of the cluster to retrieve. Specified in the format projects/*/locations/*/clusters/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Cluster

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
string name = "";
// Make the request
Cluster response = clusterManagerClient.GetCluster(name);

GetCluster(String, String, String, CallSettings)

[Obsolete]
public virtual Cluster GetCluster(string projectId, string zone, string clusterId, CallSettings callSettings = null)

Gets the details of a specific cluster.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Cluster

The RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            // Make the request
#pragma warning disable CS0612
            Cluster response = clusterManagerClient.GetCluster(projectId, zone, clusterId);
#pragma warning restore CS0612

GetClusterAsync(GetClusterRequest, CallSettings)

public virtual Task<Cluster> GetClusterAsync(GetClusterRequest request, CallSettings callSettings = null)

Gets the details of a specific cluster.

Parameters
TypeNameDescription
GetClusterRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Cluster>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
GetClusterRequest request = new GetClusterRequest { Name = "", };
// Make the request
Cluster response = await clusterManagerClient.GetClusterAsync(request);

GetClusterAsync(GetClusterRequest, CancellationToken)

public virtual Task<Cluster> GetClusterAsync(GetClusterRequest request, CancellationToken cancellationToken)

Gets the details of a specific cluster.

Parameters
TypeNameDescription
GetClusterRequestrequest

The request object containing all of the parameters for the API call.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Cluster>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
GetClusterRequest request = new GetClusterRequest { Name = "", };
// Make the request
Cluster response = await clusterManagerClient.GetClusterAsync(request);

GetClusterAsync(String, CallSettings)

public virtual Task<Cluster> GetClusterAsync(string name, CallSettings callSettings = null)

Gets the details of a specific cluster.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster) of the cluster to retrieve. Specified in the format projects/*/locations/*/clusters/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Cluster>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
Cluster response = await clusterManagerClient.GetClusterAsync(name);

GetClusterAsync(String, String, String, CallSettings)

[Obsolete]
public virtual Task<Cluster> GetClusterAsync(string projectId, string zone, string clusterId, CallSettings callSettings = null)

Gets the details of a specific cluster.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Cluster>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            // Make the request
#pragma warning disable CS0612
            Cluster response = await clusterManagerClient.GetClusterAsync(projectId, zone, clusterId);
#pragma warning restore CS0612

GetClusterAsync(String, String, String, CancellationToken)

[Obsolete]
public virtual Task<Cluster> GetClusterAsync(string projectId, string zone, string clusterId, CancellationToken cancellationToken)

Gets the details of a specific cluster.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Cluster>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            // Make the request
#pragma warning disable CS0612
            Cluster response = await clusterManagerClient.GetClusterAsync(projectId, zone, clusterId);
#pragma warning restore CS0612

GetClusterAsync(String, CancellationToken)

public virtual Task<Cluster> GetClusterAsync(string name, CancellationToken cancellationToken)

Gets the details of a specific cluster.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster) of the cluster to retrieve. Specified in the format projects/*/locations/*/clusters/*.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Cluster>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
Cluster response = await clusterManagerClient.GetClusterAsync(name);

GetJSONWebKeys(GetJSONWebKeysRequest, CallSettings)

public virtual GetJSONWebKeysResponse GetJSONWebKeys(GetJSONWebKeysRequest request, CallSettings callSettings = null)

Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.

Parameters
TypeNameDescription
GetJSONWebKeysRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
GetJSONWebKeysResponse

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
GetJSONWebKeysRequest request = new GetJSONWebKeysRequest { Parent = "", };
// Make the request
GetJSONWebKeysResponse response = clusterManagerClient.GetJSONWebKeys(request);

GetJSONWebKeysAsync(GetJSONWebKeysRequest, CallSettings)

public virtual Task<GetJSONWebKeysResponse> GetJSONWebKeysAsync(GetJSONWebKeysRequest request, CallSettings callSettings = null)

Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.

Parameters
TypeNameDescription
GetJSONWebKeysRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<GetJSONWebKeysResponse>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
GetJSONWebKeysRequest request = new GetJSONWebKeysRequest { Parent = "", };
// Make the request
GetJSONWebKeysResponse response = await clusterManagerClient.GetJSONWebKeysAsync(request);

GetJSONWebKeysAsync(GetJSONWebKeysRequest, CancellationToken)

public virtual Task<GetJSONWebKeysResponse> GetJSONWebKeysAsync(GetJSONWebKeysRequest request, CancellationToken cancellationToken)

Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.

Parameters
TypeNameDescription
GetJSONWebKeysRequestrequest

The request object containing all of the parameters for the API call.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<GetJSONWebKeysResponse>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
GetJSONWebKeysRequest request = new GetJSONWebKeysRequest { Parent = "", };
// Make the request
GetJSONWebKeysResponse response = await clusterManagerClient.GetJSONWebKeysAsync(request);

GetNodePool(GetNodePoolRequest, CallSettings)

public virtual NodePool GetNodePool(GetNodePoolRequest request, CallSettings callSettings = null)

Retrieves the requested node pool.

Parameters
TypeNameDescription
GetNodePoolRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
NodePool

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
GetNodePoolRequest request = new GetNodePoolRequest { Name = "", };
// Make the request
NodePool response = clusterManagerClient.GetNodePool(request);

GetNodePool(String, CallSettings)

public virtual NodePool GetNodePool(string name, CallSettings callSettings = null)

Retrieves the requested node pool.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
NodePool

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
string name = "";
// Make the request
NodePool response = clusterManagerClient.GetNodePool(name);

GetNodePool(String, String, String, String, CallSettings)

[Obsolete]
public virtual NodePool GetNodePool(string projectId, string zone, string clusterId, string nodePoolId, CallSettings callSettings = null)

Retrieves the requested node pool.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

StringnodePoolId

Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
NodePool

The RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            string nodePoolId = "";
            // Make the request
#pragma warning disable CS0612
            NodePool response = clusterManagerClient.GetNodePool(projectId, zone, clusterId, nodePoolId);
#pragma warning restore CS0612

GetNodePoolAsync(GetNodePoolRequest, CallSettings)

public virtual Task<NodePool> GetNodePoolAsync(GetNodePoolRequest request, CallSettings callSettings = null)

Retrieves the requested node pool.

Parameters
TypeNameDescription
GetNodePoolRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<NodePool>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
GetNodePoolRequest request = new GetNodePoolRequest { Name = "", };
// Make the request
NodePool response = await clusterManagerClient.GetNodePoolAsync(request);

GetNodePoolAsync(GetNodePoolRequest, CancellationToken)

public virtual Task<NodePool> GetNodePoolAsync(GetNodePoolRequest request, CancellationToken cancellationToken)

Retrieves the requested node pool.

Parameters
TypeNameDescription
GetNodePoolRequestrequest

The request object containing all of the parameters for the API call.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<NodePool>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
GetNodePoolRequest request = new GetNodePoolRequest { Name = "", };
// Make the request
NodePool response = await clusterManagerClient.GetNodePoolAsync(request);

GetNodePoolAsync(String, CallSettings)

public virtual Task<NodePool> GetNodePoolAsync(string name, CallSettings callSettings = null)

Retrieves the requested node pool.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<NodePool>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
NodePool response = await clusterManagerClient.GetNodePoolAsync(name);

GetNodePoolAsync(String, String, String, String, CallSettings)

[Obsolete]
public virtual Task<NodePool> GetNodePoolAsync(string projectId, string zone, string clusterId, string nodePoolId, CallSettings callSettings = null)

Retrieves the requested node pool.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

StringnodePoolId

Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<NodePool>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            string nodePoolId = "";
            // Make the request
#pragma warning disable CS0612
            NodePool response = await clusterManagerClient.GetNodePoolAsync(projectId, zone, clusterId, nodePoolId);
#pragma warning restore CS0612

GetNodePoolAsync(String, String, String, String, CancellationToken)

[Obsolete]
public virtual Task<NodePool> GetNodePoolAsync(string projectId, string zone, string clusterId, string nodePoolId, CancellationToken cancellationToken)

Retrieves the requested node pool.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

StringnodePoolId

Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<NodePool>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            string nodePoolId = "";
            // Make the request
#pragma warning disable CS0612
            NodePool response = await clusterManagerClient.GetNodePoolAsync(projectId, zone, clusterId, nodePoolId);
#pragma warning restore CS0612

GetNodePoolAsync(String, CancellationToken)

public virtual Task<NodePool> GetNodePoolAsync(string name, CancellationToken cancellationToken)

Retrieves the requested node pool.

Parameters
TypeNameDescription
Stringname

The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<NodePool>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
NodePool response = await clusterManagerClient.GetNodePoolAsync(name);

GetOperation(GetOperationRequest, CallSettings)

public virtual Operation GetOperation(GetOperationRequest request, CallSettings callSettings = null)

Gets the specified operation.

Parameters
TypeNameDescription
GetOperationRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
GetOperationRequest request = new GetOperationRequest { Name = "", };
// Make the request
Operation response = clusterManagerClient.GetOperation(request);

GetOperation(String, CallSettings)

public virtual Operation GetOperation(string name, CallSettings callSettings = null)

Gets the specified operation.

Parameters
TypeNameDescription
Stringname

The name (project, location, operation id) of the operation to get. Specified in the format projects/*/locations/*/operations/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
string name = "";
// Make the request
Operation response = clusterManagerClient.GetOperation(name);

GetOperation(String, String, String, CallSettings)

[Obsolete]
public virtual Operation GetOperation(string projectId, string zone, string operationId, CallSettings callSettings = null)

Gets the specified operation.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringoperationId

Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation

The RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string operationId = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.GetOperation(projectId, zone, operationId);
#pragma warning restore CS0612

GetOperationAsync(GetOperationRequest, CallSettings)

public virtual Task<Operation> GetOperationAsync(GetOperationRequest request, CallSettings callSettings = null)

Gets the specified operation.

Parameters
TypeNameDescription
GetOperationRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
GetOperationRequest request = new GetOperationRequest { Name = "", };
// Make the request
Operation response = await clusterManagerClient.GetOperationAsync(request);

GetOperationAsync(GetOperationRequest, CancellationToken)

public virtual Task<Operation> GetOperationAsync(GetOperationRequest request, CancellationToken cancellationToken)

Gets the specified operation.

Parameters
TypeNameDescription
GetOperationRequestrequest

The request object containing all of the parameters for the API call.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
GetOperationRequest request = new GetOperationRequest { Name = "", };
// Make the request
Operation response = await clusterManagerClient.GetOperationAsync(request);

GetOperationAsync(String, CallSettings)

public virtual Task<Operation> GetOperationAsync(string name, CallSettings callSettings = null)

Gets the specified operation.

Parameters
TypeNameDescription
Stringname

The name (project, location, operation id) of the operation to get. Specified in the format projects/*/locations/*/operations/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
Operation response = await clusterManagerClient.GetOperationAsync(name);

GetOperationAsync(String, String, String, CallSettings)

[Obsolete]
public virtual Task<Operation> GetOperationAsync(string projectId, string zone, string operationId, CallSettings callSettings = null)

Gets the specified operation.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringoperationId

Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string operationId = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.GetOperationAsync(projectId, zone, operationId);
#pragma warning restore CS0612

GetOperationAsync(String, String, String, CancellationToken)

[Obsolete]
public virtual Task<Operation> GetOperationAsync(string projectId, string zone, string operationId, CancellationToken cancellationToken)

Gets the specified operation.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

StringoperationId

Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string operationId = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.GetOperationAsync(projectId, zone, operationId);
#pragma warning restore CS0612

GetOperationAsync(String, CancellationToken)

public virtual Task<Operation> GetOperationAsync(string name, CancellationToken cancellationToken)

Gets the specified operation.

Parameters
TypeNameDescription
Stringname

The name (project, location, operation id) of the operation to get. Specified in the format projects/*/locations/*/operations/*.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
Operation response = await clusterManagerClient.GetOperationAsync(name);

GetServerConfig(GetServerConfigRequest, CallSettings)

public virtual ServerConfig GetServerConfig(GetServerConfigRequest request, CallSettings callSettings = null)

Returns configuration info about the Google Kubernetes Engine service.

Parameters
TypeNameDescription
GetServerConfigRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ServerConfig

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
GetServerConfigRequest request = new GetServerConfigRequest { Name = "", };
// Make the request
ServerConfig response = clusterManagerClient.GetServerConfig(request);

GetServerConfig(String, CallSettings)

public virtual ServerConfig GetServerConfig(string name, CallSettings callSettings = null)

Returns configuration info about the Google Kubernetes Engine service.

Parameters
TypeNameDescription
Stringname

The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ServerConfig

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
string name = "";
// Make the request
ServerConfig response = clusterManagerClient.GetServerConfig(name);

GetServerConfig(String, String, CallSettings)

[Obsolete]
public virtual ServerConfig GetServerConfig(string projectId, string zone, CallSettings callSettings = null)

Returns configuration info about the Google Kubernetes Engine service.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ServerConfig

The RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            // Make the request
#pragma warning disable CS0612
            ServerConfig response = clusterManagerClient.GetServerConfig(projectId, zone);
#pragma warning restore CS0612

GetServerConfigAsync(GetServerConfigRequest, CallSettings)

public virtual Task<ServerConfig> GetServerConfigAsync(GetServerConfigRequest request, CallSettings callSettings = null)

Returns configuration info about the Google Kubernetes Engine service.

Parameters
TypeNameDescription
GetServerConfigRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ServerConfig>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
GetServerConfigRequest request = new GetServerConfigRequest { Name = "", };
// Make the request
ServerConfig response = await clusterManagerClient.GetServerConfigAsync(request);

GetServerConfigAsync(GetServerConfigRequest, CancellationToken)

public virtual Task<ServerConfig> GetServerConfigAsync(GetServerConfigRequest request, CancellationToken cancellationToken)

Returns configuration info about the Google Kubernetes Engine service.

Parameters
TypeNameDescription
GetServerConfigRequestrequest

The request object containing all of the parameters for the API call.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<ServerConfig>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
GetServerConfigRequest request = new GetServerConfigRequest { Name = "", };
// Make the request
ServerConfig response = await clusterManagerClient.GetServerConfigAsync(request);

GetServerConfigAsync(String, CallSettings)

public virtual Task<ServerConfig> GetServerConfigAsync(string name, CallSettings callSettings = null)

Returns configuration info about the Google Kubernetes Engine service.

Parameters
TypeNameDescription
Stringname

The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ServerConfig>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
ServerConfig response = await clusterManagerClient.GetServerConfigAsync(name);

GetServerConfigAsync(String, String, CallSettings)

[Obsolete]
public virtual Task<ServerConfig> GetServerConfigAsync(string projectId, string zone, CallSettings callSettings = null)

Returns configuration info about the Google Kubernetes Engine service.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ServerConfig>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            // Make the request
#pragma warning disable CS0612
            ServerConfig response = await clusterManagerClient.GetServerConfigAsync(projectId, zone);
#pragma warning restore CS0612

GetServerConfigAsync(String, String, CancellationToken)

[Obsolete]
public virtual Task<ServerConfig> GetServerConfigAsync(string projectId, string zone, CancellationToken cancellationToken)

Returns configuration info about the Google Kubernetes Engine service.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Stringzone

Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<ServerConfig>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            // Make the request
#pragma warning disable CS0612
            ServerConfig response = await clusterManagerClient.GetServerConfigAsync(projectId, zone);
#pragma warning restore CS0612

GetServerConfigAsync(String, CancellationToken)

public virtual Task<ServerConfig> GetServerConfigAsync(string name, CancellationToken cancellationToken)

Returns configuration info about the Google Kubernetes Engine service.

Parameters
TypeNameDescription
Stringname

The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<ServerConfig>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "";
// Make the request
ServerConfig response = await clusterManagerClient.GetServerConfigAsync(name);

ListClusters(ListClustersRequest, CallSettings)

public virtual ListClustersResponse ListClusters(ListClustersRequest request, CallSettings callSettings = null)

Lists all clusters owned by a project in either the specified zone or all zones.

Parameters
TypeNameDescription
ListClustersRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListClustersResponse

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
ListClustersRequest request = new ListClustersRequest { Parent = "", };
// Make the request
ListClustersResponse response = clusterManagerClient.ListClusters(request);

ListClusters(String, CallSettings)

public virtual ListClustersResponse ListClusters(string parent, CallSettings callSettings = null)

Lists all clusters owned by a project in either the specified zone or all zones.

Parameters
TypeNameDescription
Stringparent

The parent (project and location) where the clusters will be listed. Specified in the format projects/*/locations/*. Location "-" matches all zones and all regions.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListClustersResponse

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
string parent = "";
// Make the request
ListClustersResponse response = clusterManagerClient.ListClusters(parent);

ListClusters(String, String, CallSettings)

[Obsolete]
public virtual ListClustersResponse ListClusters(string projectId, string zone, CallSettings callSettings = null)

Lists all clusters owned by a project in either the specified zone or all zones.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides, or "-" for all zones. This field has been deprecated and replaced by the parent field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListClustersResponse

The RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            // Make the request
#pragma warning disable CS0612
            ListClustersResponse response = clusterManagerClient.ListClusters(projectId, zone);
#pragma warning restore CS0612

ListClustersAsync(ListClustersRequest, CallSettings)

public virtual Task<ListClustersResponse> ListClustersAsync(ListClustersRequest request, CallSettings callSettings = null)

Lists all clusters owned by a project in either the specified zone or all zones.

Parameters
TypeNameDescription
ListClustersRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ListClustersResponse>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
ListClustersRequest request = new ListClustersRequest { Parent = "", };
// Make the request
ListClustersResponse response = await clusterManagerClient.ListClustersAsync(request);

ListClustersAsync(ListClustersRequest, CancellationToken)

public virtual Task<ListClustersResponse> ListClustersAsync(ListClustersRequest request, CancellationToken cancellationToken)

Lists all clusters owned by a project in either the specified zone or all zones.

Parameters
TypeNameDescription
ListClustersRequestrequest

The request object containing all of the parameters for the API call.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<ListClustersResponse>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
ListClustersRequest request = new ListClustersRequest { Parent = "", };
// Make the request
ListClustersResponse response = await clusterManagerClient.ListClustersAsync(request);

ListClustersAsync(String, CallSettings)

public virtual Task<ListClustersResponse> ListClustersAsync(string parent, CallSettings callSettings = null)

Lists all clusters owned by a project in either the specified zone or all zones.

Parameters
TypeNameDescription
Stringparent

The parent (project and location) where the clusters will be listed. Specified in the format projects/*/locations/*. Location "-" matches all zones and all regions.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ListClustersResponse>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "";
// Make the request
ListClustersResponse response = await clusterManagerClient.ListClustersAsync(parent);

ListClustersAsync(String, String, CallSettings)

[Obsolete]
public virtual Task<ListClustersResponse> ListClustersAsync(string projectId, string zone, CallSettings callSettings = null)

Lists all clusters owned by a project in either the specified zone or all zones.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides, or "-" for all zones. This field has been deprecated and replaced by the parent field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ListClustersResponse>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            // Make the request
#pragma warning disable CS0612
            ListClustersResponse response = await clusterManagerClient.ListClustersAsync(projectId, zone);
#pragma warning restore CS0612

ListClustersAsync(String, String, CancellationToken)

[Obsolete]
public virtual Task<ListClustersResponse> ListClustersAsync(string projectId, string zone, CancellationToken cancellationToken)

Lists all clusters owned by a project in either the specified zone or all zones.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides, or "-" for all zones. This field has been deprecated and replaced by the parent field.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<ListClustersResponse>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            // Make the request
#pragma warning disable CS0612
            ListClustersResponse response = await clusterManagerClient.ListClustersAsync(projectId, zone);
#pragma warning restore CS0612

ListClustersAsync(String, CancellationToken)

public virtual Task<ListClustersResponse> ListClustersAsync(string parent, CancellationToken cancellationToken)

Lists all clusters owned by a project in either the specified zone or all zones.

Parameters
TypeNameDescription
Stringparent

The parent (project and location) where the clusters will be listed. Specified in the format projects/*/locations/*. Location "-" matches all zones and all regions.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<ListClustersResponse>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "";
// Make the request
ListClustersResponse response = await clusterManagerClient.ListClustersAsync(parent);

ListNodePools(ListNodePoolsRequest, CallSettings)

public virtual ListNodePoolsResponse ListNodePools(ListNodePoolsRequest request, CallSettings callSettings = null)

Lists the node pools for a cluster.

Parameters
TypeNameDescription
ListNodePoolsRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListNodePoolsResponse

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
ListNodePoolsRequest request = new ListNodePoolsRequest { Parent = "", };
// Make the request
ListNodePoolsResponse response = clusterManagerClient.ListNodePools(request);

ListNodePools(String, CallSettings)

public virtual ListNodePoolsResponse ListNodePools(string parent, CallSettings callSettings = null)

Lists the node pools for a cluster.

Parameters
TypeNameDescription
Stringparent

The parent (project, location, cluster id) where the node pools will be listed. Specified in the format projects/*/locations/*/clusters/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListNodePoolsResponse

The RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
string parent = "";
// Make the request
ListNodePoolsResponse response = clusterManagerClient.ListNodePools(parent);

ListNodePools(String, String, String, CallSettings)

[Obsolete]
public virtual ListNodePoolsResponse ListNodePools(string projectId, string zone, string clusterId, CallSettings callSettings = null)

Lists the node pools for a cluster.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListNodePoolsResponse

The RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            // Make the request
#pragma warning disable CS0612
            ListNodePoolsResponse response = clusterManagerClient.ListNodePools(projectId, zone, clusterId);
#pragma warning restore CS0612

ListNodePoolsAsync(ListNodePoolsRequest, CallSettings)

public virtual Task<ListNodePoolsResponse> ListNodePoolsAsync(ListNodePoolsRequest request, CallSettings callSettings = null)

Lists the node pools for a cluster.

Parameters
TypeNameDescription
ListNodePoolsRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ListNodePoolsResponse>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
ListNodePoolsRequest request = new ListNodePoolsRequest { Parent = "", };
// Make the request
ListNodePoolsResponse response = await clusterManagerClient.ListNodePoolsAsync(request);

ListNodePoolsAsync(ListNodePoolsRequest, CancellationToken)

public virtual Task<ListNodePoolsResponse> ListNodePoolsAsync(ListNodePoolsRequest request, CancellationToken cancellationToken)

Lists the node pools for a cluster.

Parameters
TypeNameDescription
ListNodePoolsRequestrequest

The request object containing all of the parameters for the API call.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<ListNodePoolsResponse>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
ListNodePoolsRequest request = new ListNodePoolsRequest { Parent = "", };
// Make the request
ListNodePoolsResponse response = await clusterManagerClient.ListNodePoolsAsync(request);

ListNodePoolsAsync(String, CallSettings)

public virtual Task<ListNodePoolsResponse> ListNodePoolsAsync(string parent, CallSettings callSettings = null)

Lists the node pools for a cluster.

Parameters
TypeNameDescription
Stringparent

The parent (project, location, cluster id) where the node pools will be listed. Specified in the format projects/*/locations/*/clusters/*.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ListNodePoolsResponse>

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "";
// Make the request
ListNodePoolsResponse response = await clusterManagerClient.ListNodePoolsAsync(parent);

ListNodePoolsAsync(String, String, String, CallSettings)

[Obsolete]
public virtual Task<ListNodePoolsResponse> ListNodePoolsAsync(string projectId, string zone, string clusterId, CallSettings callSettings = null)

Lists the node pools for a cluster.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ListNodePoolsResponse>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            // Make the request
#pragma warning disable CS0612
            ListNodePoolsResponse response = await clusterManagerClient.ListNodePoolsAsync(projectId, zone, clusterId);
#pragma warning restore CS0612

ListNodePoolsAsync(String, String, String, CancellationToken)

[Obsolete]
public virtual Task<ListNodePoolsResponse> ListNodePoolsAsync(string projectId, string zone, string clusterId, CancellationToken cancellationToken)

Lists the node pools for a cluster.

Parameters
TypeNameDescription
StringprojectId

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

Stringzone

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

StringclusterId

Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.

CancellationTokencancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<ListNodePoolsResponse>

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone