Google Kubernetes Engine v1 API - Class ClusterManagerClient (3.21.0)

public abstract class ClusterManagerClient

Reference documentation and code samples for the Google Kubernetes Engine v1 API 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
IReadOnlyListstring
Remarks

The default ClusterManager scopes are:

GrpcClient

public virtual ClusterManager.ClusterManagerClient GrpcClient { get; }

The underlying gRPC ClusterManager client

Property Value
TypeDescription
ClusterManagerClusterManagerClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
TypeDescription
ServiceMetadata

Methods

CancelOperation(CancelOperationRequest, CallSettings)

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

Cancels the specified operation.

Parameters
NameDescription
requestCancelOperationRequest

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
NameDescription
namestring

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
NameDescription
projectIdstring

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

zonestring

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.

operationIdstring

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
NameDescription
requestCancelOperationRequest

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
NameDescription
requestCancelOperationRequest

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
NameDescription
namestring

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
NameDescription
projectIdstring

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

zonestring

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.

operationIdstring

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
NameDescription
projectIdstring

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

zonestring

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.

operationIdstring

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
NameDescription
namestring

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);

CheckAutopilotCompatibility(CheckAutopilotCompatibilityRequest, CallSettings)

public virtual CheckAutopilotCompatibilityResponse CheckAutopilotCompatibility(CheckAutopilotCompatibilityRequest request, CallSettings callSettings = null)

Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.

Parameters
NameDescription
requestCheckAutopilotCompatibilityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CheckAutopilotCompatibilityResponse

The RPC response.

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

CheckAutopilotCompatibilityAsync(CheckAutopilotCompatibilityRequest, CallSettings)

public virtual Task<CheckAutopilotCompatibilityResponse> CheckAutopilotCompatibilityAsync(CheckAutopilotCompatibilityRequest request, CallSettings callSettings = null)

Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.

Parameters
NameDescription
requestCheckAutopilotCompatibilityRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCheckAutopilotCompatibilityResponse

A Task containing the RPC response.

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

CheckAutopilotCompatibilityAsync(CheckAutopilotCompatibilityRequest, CancellationToken)

public virtual Task<CheckAutopilotCompatibilityResponse> CheckAutopilotCompatibilityAsync(CheckAutopilotCompatibilityRequest request, CancellationToken cancellationToken)

Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.

Parameters
NameDescription
requestCheckAutopilotCompatibilityRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCheckAutopilotCompatibilityResponse

A Task containing the RPC response.

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

CompleteIPRotation(CompleteIPRotationRequest, CallSettings)

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

Completes master IP rotation.

Parameters
NameDescription
requestCompleteIPRotationRequest

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
NameDescription
namestring

The name (project, location, cluster name) 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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
NameDescription
requestCompleteIPRotationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

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
NameDescription
requestCompleteIPRotationRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

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
NameDescription
namestring

The name (project, location, cluster name) 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
TaskOperation

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
TaskOperation

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
TaskOperation

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
NameDescription
namestring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

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);

CompleteNodePoolUpgrade(CompleteNodePoolUpgradeRequest, CallSettings)

public virtual void CompleteNodePoolUpgrade(CompleteNodePoolUpgradeRequest request, CallSettings callSettings = null)

CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.

Parameters
NameDescription
requestCompleteNodePoolUpgradeRequest

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)
CompleteNodePoolUpgradeRequest request = new CompleteNodePoolUpgradeRequest { Name = "", };
// Make the request
clusterManagerClient.CompleteNodePoolUpgrade(request);

CompleteNodePoolUpgradeAsync(CompleteNodePoolUpgradeRequest, CallSettings)

public virtual Task CompleteNodePoolUpgradeAsync(CompleteNodePoolUpgradeRequest request, CallSettings callSettings = null)

CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.

Parameters
NameDescription
requestCompleteNodePoolUpgradeRequest

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)
CompleteNodePoolUpgradeRequest request = new CompleteNodePoolUpgradeRequest { Name = "", };
// Make the request
await clusterManagerClient.CompleteNodePoolUpgradeAsync(request);

CompleteNodePoolUpgradeAsync(CompleteNodePoolUpgradeRequest, CancellationToken)

public virtual Task CompleteNodePoolUpgradeAsync(CompleteNodePoolUpgradeRequest request, CancellationToken cancellationToken)

CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.

Parameters
NameDescription
requestCompleteNodePoolUpgradeRequest

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)
CompleteNodePoolUpgradeRequest request = new CompleteNodePoolUpgradeRequest { Name = "", };
// Make the request
await clusterManagerClient.CompleteNodePoolUpgradeAsync(request);

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)

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

Parameter
NameDescription
cancellationTokenCancellationToken

The CancellationToken to use while creating the client.

Returns
TypeDescription
TaskClusterManagerClient

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
NameDescription
requestCreateClusterRequest

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
NameDescription
parentstring

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
NameDescription
projectIdstring

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

zonestring

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
NameDescription
requestCreateClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

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
NameDescription
requestCreateClusterRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

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
NameDescription
parentstring

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
TaskOperation

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
NameDescription
parentstring

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
TaskOperation

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
NameDescription
projectIdstring

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

zonestring

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
TaskOperation

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
NameDescription
projectIdstring

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

zonestring

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
TaskOperation

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
NameDescription
requestCreateNodePoolRequest

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
NameDescription
parentstring

The parent (project, location, cluster name) 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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
NameDescription
requestCreateNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

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
NameDescription
requestCreateNodePoolRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

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
NameDescription
parentstring

The parent (project, location, cluster name) 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
TaskOperation

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
NameDescription
parentstring

The parent (project, location, cluster name) 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
TaskOperation

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
TaskOperation

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
TaskOperation

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
NameDescription
requestDeleteClusterRequest

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
NameDescription
namestring

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
NameDescription
requestDeleteClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

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
NameDescription
requestDeleteClusterRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

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
NameDescription
namestring

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
TaskOperation

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
TaskOperation

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
TaskOperation

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
NameDescription
namestring

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
TaskOperation

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
NameDescription
requestDeleteNodePoolRequest

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
NameDescription
namestring

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

nodePoolIdstring

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
NameDescription
requestDeleteNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

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
NameDescription
requestDeleteNodePoolRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

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
NameDescription
namestring

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
TaskOperation

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

nodePoolIdstring

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
TaskOperation

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

nodePoolIdstring

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
TaskOperation

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
NameDescription
namestring

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
TaskOperation

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
NameDescription
requestGetClusterRequest

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
NameDescription
namestring

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
NameDescription
requestGetClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCluster

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
NameDescription
requestGetClusterRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskCluster

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
NameDescription
namestring

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
TaskCluster

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
TaskCluster

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
TaskCluster

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
NameDescription
namestring

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
TaskCluster

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.

Parameters
NameDescription
requestGetJSONWebKeysRequest

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.

Parameters
NameDescription
requestGetJSONWebKeysRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskGetJSONWebKeysResponse

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.

Parameters
NameDescription
requestGetJSONWebKeysRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskGetJSONWebKeysResponse

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
NameDescription
requestGetNodePoolRequest

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
NameDescription
namestring

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

nodePoolIdstring

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
NameDescription
requestGetNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskNodePool

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
NameDescription
requestGetNodePoolRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskNodePool

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
NameDescription
namestring

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
TaskNodePool

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

nodePoolIdstring

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
TaskNodePool

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

nodePoolIdstring

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
TaskNodePool

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
NameDescription
namestring

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
TaskNodePool

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
NameDescription
requestGetOperationRequest

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
NameDescription
namestring

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
NameDescription
projectIdstring

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

zonestring

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.

operationIdstring

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
NameDescription
requestGetOperationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

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
NameDescription
requestGetOperationRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

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
NameDescription
namestring

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
TaskOperation

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
NameDescription
projectIdstring

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

zonestring

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.

operationIdstring

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
TaskOperation

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
NameDescription
projectIdstring

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

zonestring

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.

operationIdstring

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
TaskOperation

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
NameDescription
namestring

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
TaskOperation

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
NameDescription
requestGetServerConfigRequest

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
NameDescription
namestring

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
NameDescription
projectIdstring

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

zonestring

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
NameDescription
requestGetServerConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskServerConfig

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
NameDescription
requestGetServerConfigRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskServerConfig

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
NameDescription
namestring

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
TaskServerConfig

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
NameDescription
projectIdstring

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

zonestring

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
TaskServerConfig

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
NameDescription
projectIdstring

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

zonestring

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
TaskServerConfig

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
NameDescription
namestring

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
TaskServerConfig

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
NameDescription
requestListClustersRequest

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
NameDescription
parentstring

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
NameDescription
projectIdstring

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

zonestring

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
NameDescription
requestListClustersRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskListClustersResponse

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
NameDescription
requestListClustersRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskListClustersResponse

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
NameDescription
parentstring

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
TaskListClustersResponse

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
NameDescription
projectIdstring

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

zonestring

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
TaskListClustersResponse

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
NameDescription
projectIdstring

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

zonestring

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
TaskListClustersResponse

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
NameDescription
parentstring

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
TaskListClustersResponse

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
NameDescription
requestListNodePoolsRequest

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
NameDescription
parentstring

The parent (project, location, cluster name) 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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
NameDescription
requestListNodePoolsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskListNodePoolsResponse

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
NameDescription
requestListNodePoolsRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskListNodePoolsResponse

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
NameDescription
parentstring

The parent (project, location, cluster name) 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
TaskListNodePoolsResponse

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
TaskListNodePoolsResponse

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
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
TaskListNodePoolsResponse

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, CancellationToken)

public virtual Task<ListNodePoolsResponse> ListNodePoolsAsync(string parent, CancellationToken cancellationToken)

Lists the node pools for a cluster.

Parameters
NameDescription
parentstring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskListNodePoolsResponse

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);

ListOperations(ListOperationsRequest, CallSettings)

public virtual ListOperationsResponse ListOperations(ListOperationsRequest request, CallSettings callSettings = null)

Lists all operations in a project in a specific zone or all zones.

Parameters
NameDescription
requestListOperationsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListOperationsResponse

The RPC response.

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

ListOperations(string, string, CallSettings)

[Obsolete]
public virtual ListOperationsResponse ListOperations(string projectId, string zone, CallSettings callSettings = null)

Lists all operations in a project in a specific zone or all zones.

Parameters
NameDescription
projectIdstring

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

zonestring

Deprecated. The name of the Google Compute Engine zone to return operations for, 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
ListOperationsResponse

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
            ListOperationsResponse response = clusterManagerClient.ListOperations(projectId, zone);
#pragma warning restore CS0612

ListOperationsAsync(ListOperationsRequest, CallSettings)

public virtual Task<ListOperationsResponse> ListOperationsAsync(ListOperationsRequest request, CallSettings callSettings = null)

Lists all operations in a project in a specific zone or all zones.

Parameters
NameDescription
requestListOperationsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskListOperationsResponse

A Task containing the RPC response.

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

ListOperationsAsync(ListOperationsRequest, CancellationToken)

public virtual Task<ListOperationsResponse> ListOperationsAsync(ListOperationsRequest request, CancellationToken cancellationToken)

Lists all operations in a project in a specific zone or all zones.

Parameters
NameDescription
requestListOperationsRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskListOperationsResponse

A Task containing the RPC response.

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

ListOperationsAsync(string, string, CallSettings)

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

Lists all operations in a project in a specific zone or all zones.

Parameters
NameDescription
projectIdstring

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

zonestring

Deprecated. The name of the Google Compute Engine zone to return operations for, 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
TaskListOperationsResponse

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
            ListOperationsResponse response = await clusterManagerClient.ListOperationsAsync(projectId, zone);
#pragma warning restore CS0612

ListOperationsAsync(string, string, CancellationToken)

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

Lists all operations in a project in a specific zone or all zones.

Parameters
NameDescription
projectIdstring

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

zonestring

Deprecated. The name of the Google Compute Engine zone to return operations for, 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
TaskListOperationsResponse

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
            ListOperationsResponse response = await clusterManagerClient.ListOperationsAsync(projectId, zone);
#pragma warning restore CS0612

ListUsableSubnetworks(ListUsableSubnetworksRequest, CallSettings)

public virtual PagedEnumerable<ListUsableSubnetworksResponse, UsableSubnetwork> ListUsableSubnetworks(ListUsableSubnetworksRequest request, CallSettings callSettings = null)

Lists subnetworks that are usable for creating clusters in a project.

Parameters
NameDescription
requestListUsableSubnetworksRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListUsableSubnetworksResponseUsableSubnetwork

A pageable sequence of UsableSubnetwork resources.

Example
// Create client
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create();
// Initialize request argument(s)
ListUsableSubnetworksRequest request = new ListUsableSubnetworksRequest
{
    Parent = "",
    Filter = "",
};
// Make the request
PagedEnumerable<ListUsableSubnetworksResponse, UsableSubnetwork> response = clusterManagerClient.ListUsableSubnetworks(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (UsableSubnetwork item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListUsableSubnetworksResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (UsableSubnetwork item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<UsableSubnetwork> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (UsableSubnetwork item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListUsableSubnetworksAsync(ListUsableSubnetworksRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListUsableSubnetworksResponse, UsableSubnetwork> ListUsableSubnetworksAsync(ListUsableSubnetworksRequest request, CallSettings callSettings = null)

Lists subnetworks that are usable for creating clusters in a project.

Parameters
NameDescription
requestListUsableSubnetworksRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListUsableSubnetworksResponseUsableSubnetwork

A pageable asynchronous sequence of UsableSubnetwork resources.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
ListUsableSubnetworksRequest request = new ListUsableSubnetworksRequest
{
    Parent = "",
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListUsableSubnetworksResponse, UsableSubnetwork> response = clusterManagerClient.ListUsableSubnetworksAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((UsableSubnetwork item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListUsableSubnetworksResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (UsableSubnetwork item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<UsableSubnetwork> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (UsableSubnetwork item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

RollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest, CallSettings)

public virtual Operation RollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request, CallSettings callSettings = null)

Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.

Parameters
NameDescription
requestRollbackNodePoolUpgradeRequest

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)
RollbackNodePoolUpgradeRequest request = new RollbackNodePoolUpgradeRequest
{
    Name = "",
    RespectPdb = false,
};
// Make the request
Operation response = clusterManagerClient.RollbackNodePoolUpgrade(request);

RollbackNodePoolUpgrade(string, CallSettings)

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

Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.

Parameters
NameDescription
namestring

The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. 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.RollbackNodePoolUpgrade(name);

RollbackNodePoolUpgrade(string, string, string, string, CallSettings)

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

Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

nodePoolIdstring

Deprecated. The name of the node pool to rollback. 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.RollbackNodePoolUpgrade(projectId, zone, clusterId, nodePoolId);
#pragma warning restore CS0612

RollbackNodePoolUpgradeAsync(RollbackNodePoolUpgradeRequest, CallSettings)

public virtual Task<Operation> RollbackNodePoolUpgradeAsync(RollbackNodePoolUpgradeRequest request, CallSettings callSettings = null)

Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.

Parameters
NameDescription
requestRollbackNodePoolUpgradeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

RollbackNodePoolUpgradeAsync(RollbackNodePoolUpgradeRequest, CancellationToken)

public virtual Task<Operation> RollbackNodePoolUpgradeAsync(RollbackNodePoolUpgradeRequest request, CancellationToken cancellationToken)

Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.

Parameters
NameDescription
requestRollbackNodePoolUpgradeRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

RollbackNodePoolUpgradeAsync(string, CallSettings)

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

Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.

Parameters
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

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.RollbackNodePoolUpgradeAsync(name);

RollbackNodePoolUpgradeAsync(string, string, string, string, CallSettings)

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

Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

nodePoolIdstring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

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.RollbackNodePoolUpgradeAsync(projectId, zone, clusterId, nodePoolId);
#pragma warning restore CS0612

RollbackNodePoolUpgradeAsync(string, string, string, string, CancellationToken)

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

Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

nodePoolIdstring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

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.RollbackNodePoolUpgradeAsync(projectId, zone, clusterId, nodePoolId);
#pragma warning restore CS0612

RollbackNodePoolUpgradeAsync(string, CancellationToken)

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

Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.

Parameters
NameDescription
namestring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

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.RollbackNodePoolUpgradeAsync(name);

SetAddonsConfig(SetAddonsConfigRequest, CallSettings)

public virtual Operation SetAddonsConfig(SetAddonsConfigRequest request, CallSettings callSettings = null)

Sets the addons for a specific cluster.

Parameters
NameDescription
requestSetAddonsConfigRequest

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)
SetAddonsConfigRequest request = new SetAddonsConfigRequest
{
    AddonsConfig = new AddonsConfig(),
    Name = "",
};
// Make the request
Operation response = clusterManagerClient.SetAddonsConfig(request);

SetAddonsConfig(string, AddonsConfig, CallSettings)

public virtual Operation SetAddonsConfig(string name, AddonsConfig addonsConfig, CallSettings callSettings = null)

Sets the addons for a specific cluster.

Parameters
NameDescription
namestring

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

addonsConfigAddonsConfig

Required. The desired configurations for the various addons available to run in the cluster.

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 = "";
AddonsConfig addonsConfig = new AddonsConfig();
// Make the request
Operation response = clusterManagerClient.SetAddonsConfig(name, addonsConfig);

SetAddonsConfig(string, string, string, AddonsConfig, CallSettings)

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

Sets the addons for a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

addonsConfigAddonsConfig

Required. The desired configurations for the various addons available to run in the cluster.

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 = "";
            AddonsConfig addonsConfig = new AddonsConfig();
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.SetAddonsConfig(projectId, zone, clusterId, addonsConfig);
#pragma warning restore CS0612

SetAddonsConfigAsync(SetAddonsConfigRequest, CallSettings)

public virtual Task<Operation> SetAddonsConfigAsync(SetAddonsConfigRequest request, CallSettings callSettings = null)

Sets the addons for a specific cluster.

Parameters
NameDescription
requestSetAddonsConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetAddonsConfigAsync(SetAddonsConfigRequest, CancellationToken)

public virtual Task<Operation> SetAddonsConfigAsync(SetAddonsConfigRequest request, CancellationToken cancellationToken)

Sets the addons for a specific cluster.

Parameters
NameDescription
requestSetAddonsConfigRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetAddonsConfigAsync(string, AddonsConfig, CallSettings)

public virtual Task<Operation> SetAddonsConfigAsync(string name, AddonsConfig addonsConfig, CallSettings callSettings = null)

Sets the addons for a specific cluster.

Parameters
NameDescription
namestring

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

addonsConfigAddonsConfig

Required. The desired configurations for the various addons available to run in the cluster.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetAddonsConfigAsync(string, AddonsConfig, CancellationToken)

public virtual Task<Operation> SetAddonsConfigAsync(string name, AddonsConfig addonsConfig, CancellationToken cancellationToken)

Sets the addons for a specific cluster.

Parameters
NameDescription
namestring

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

addonsConfigAddonsConfig

Required. The desired configurations for the various addons available to run in the cluster.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetAddonsConfigAsync(string, string, string, AddonsConfig, CallSettings)

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

Sets the addons for a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

addonsConfigAddonsConfig

Required. The desired configurations for the various addons available to run in the cluster.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetAddonsConfigAsync(string, string, string, AddonsConfig, CancellationToken)

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

Sets the addons for a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

addonsConfigAddonsConfig

Required. The desired configurations for the various addons available to run in the cluster.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetLabels(SetLabelsRequest, CallSettings)

public virtual Operation SetLabels(SetLabelsRequest request, CallSettings callSettings = null)

Sets labels on a cluster.

Parameters
NameDescription
requestSetLabelsRequest

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)
SetLabelsRequest request = new SetLabelsRequest
{
    ResourceLabels = { { "", "" }, },
    LabelFingerprint = "",
    Name = "",
};
// Make the request
Operation response = clusterManagerClient.SetLabels(request);

SetLabelsAsync(SetLabelsRequest, CallSettings)

public virtual Task<Operation> SetLabelsAsync(SetLabelsRequest request, CallSettings callSettings = null)

Sets labels on a cluster.

Parameters
NameDescription
requestSetLabelsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetLabelsAsync(SetLabelsRequest, CancellationToken)

public virtual Task<Operation> SetLabelsAsync(SetLabelsRequest request, CancellationToken cancellationToken)

Sets labels on a cluster.

Parameters
NameDescription
requestSetLabelsRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetLegacyAbac(SetLegacyAbacRequest, CallSettings)

public virtual Operation SetLegacyAbac(SetLegacyAbacRequest request, CallSettings callSettings = null)

Enables or disables the ABAC authorization mechanism on a cluster.

Parameters
NameDescription
requestSetLegacyAbacRequest

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)
SetLegacyAbacRequest request = new SetLegacyAbacRequest
{
    Enabled = false,
    Name = "",
};
// Make the request
Operation response = clusterManagerClient.SetLegacyAbac(request);

SetLegacyAbac(string, bool, CallSettings)

public virtual Operation SetLegacyAbac(string name, bool enabled, CallSettings callSettings = null)

Enables or disables the ABAC authorization mechanism on a cluster.

Parameters
NameDescription
namestring

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

enabledbool

Required. Whether ABAC authorization will be enabled in the cluster.

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 = "";
bool enabled = false;
// Make the request
Operation response = clusterManagerClient.SetLegacyAbac(name, enabled);

SetLegacyAbac(string, string, string, bool, CallSettings)

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

Enables or disables the ABAC authorization mechanism on a cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

enabledbool

Required. Whether ABAC authorization will be enabled in the cluster.

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 = "";
            bool enabled = false;
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.SetLegacyAbac(projectId, zone, clusterId, enabled);
#pragma warning restore CS0612

SetLegacyAbacAsync(SetLegacyAbacRequest, CallSettings)

public virtual Task<Operation> SetLegacyAbacAsync(SetLegacyAbacRequest request, CallSettings callSettings = null)

Enables or disables the ABAC authorization mechanism on a cluster.

Parameters
NameDescription
requestSetLegacyAbacRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetLegacyAbacAsync(SetLegacyAbacRequest, CancellationToken)

public virtual Task<Operation> SetLegacyAbacAsync(SetLegacyAbacRequest request, CancellationToken cancellationToken)

Enables or disables the ABAC authorization mechanism on a cluster.

Parameters
NameDescription
requestSetLegacyAbacRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetLegacyAbacAsync(string, bool, CallSettings)

public virtual Task<Operation> SetLegacyAbacAsync(string name, bool enabled, CallSettings callSettings = null)

Enables or disables the ABAC authorization mechanism on a cluster.

Parameters
NameDescription
namestring

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

enabledbool

Required. Whether ABAC authorization will be enabled in the cluster.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetLegacyAbacAsync(string, bool, CancellationToken)

public virtual Task<Operation> SetLegacyAbacAsync(string name, bool enabled, CancellationToken cancellationToken)

Enables or disables the ABAC authorization mechanism on a cluster.

Parameters
NameDescription
namestring

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

enabledbool

Required. Whether ABAC authorization will be enabled in the cluster.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetLegacyAbacAsync(string, string, string, bool, CallSettings)

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

Enables or disables the ABAC authorization mechanism on a cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

enabledbool

Required. Whether ABAC authorization will be enabled in the cluster.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetLegacyAbacAsync(string, string, string, bool, CancellationToken)

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

Enables or disables the ABAC authorization mechanism on a cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

enabledbool

Required. Whether ABAC authorization will be enabled in the cluster.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetLocations(SetLocationsRequest, CallSettings)

[Obsolete]
public virtual Operation SetLocations(SetLocationsRequest request, CallSettings callSettings = null)

Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead.

Parameters
NameDescription
requestSetLocationsRequest

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)
            SetLocationsRequest request = new SetLocationsRequest
            {
                Locations = { "", },
                Name = "",
            };
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.SetLocations(request);
#pragma warning restore CS0612

SetLocations(string, IEnumerable<string>, CallSettings)

[Obsolete]
public virtual Operation SetLocations(string name, IEnumerable<string> locations, CallSettings callSettings = null)

Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead.

Parameters
NameDescription
namestring

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

locationsIEnumerablestring

Required. The desired list of Google Compute Engine zones in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed.

This list must always include the cluster's primary zone.

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 = "";
            IEnumerable<string> locations = new string[] { "", };
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.SetLocations(name, locations);
#pragma warning restore CS0612

SetLocations(string, string, string, IEnumerable<string>, CallSettings)

[Obsolete]
public virtual Operation SetLocations(string projectId, string zone, string clusterId, IEnumerable<string> locations, CallSettings callSettings = null)

Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

locationsIEnumerablestring

Required. The desired list of Google Compute Engine zones in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed.

This list must always include the cluster's primary zone.

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 = "";
            IEnumerable<string> locations = new string[] { "", };
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.SetLocations(projectId, zone, clusterId, locations);
#pragma warning restore CS0612

SetLocationsAsync(SetLocationsRequest, CallSettings)

[Obsolete]
public virtual Task<Operation> SetLocationsAsync(SetLocationsRequest request, CallSettings callSettings = null)

Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead.

Parameters
NameDescription
requestSetLocationsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            SetLocationsRequest request = new SetLocationsRequest
            {
                Locations = { "", },
                Name = "",
            };
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.SetLocationsAsync(request);
#pragma warning restore CS0612

SetLocationsAsync(SetLocationsRequest, CancellationToken)

[Obsolete]
public virtual Task<Operation> SetLocationsAsync(SetLocationsRequest request, CancellationToken cancellationToken)

Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead.

Parameters
NameDescription
requestSetLocationsRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            SetLocationsRequest request = new SetLocationsRequest
            {
                Locations = { "", },
                Name = "",
            };
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.SetLocationsAsync(request);
#pragma warning restore CS0612

SetLocationsAsync(string, IEnumerable<string>, CallSettings)

[Obsolete]
public virtual Task<Operation> SetLocationsAsync(string name, IEnumerable<string> locations, CallSettings callSettings = null)

Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead.

Parameters
NameDescription
namestring

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

locationsIEnumerablestring

Required. The desired list of Google Compute Engine zones in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed.

This list must always include the cluster's primary zone.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string name = "";
            IEnumerable<string> locations = new string[] { "", };
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.SetLocationsAsync(name, locations);
#pragma warning restore CS0612

SetLocationsAsync(string, IEnumerable<string>, CancellationToken)

[Obsolete]
public virtual Task<Operation> SetLocationsAsync(string name, IEnumerable<string> locations, CancellationToken cancellationToken)

Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead.

Parameters
NameDescription
namestring

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

locationsIEnumerablestring

Required. The desired list of Google Compute Engine zones in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed.

This list must always include the cluster's primary zone.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string name = "";
            IEnumerable<string> locations = new string[] { "", };
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.SetLocationsAsync(name, locations);
#pragma warning restore CS0612

SetLocationsAsync(string, string, string, IEnumerable<string>, CallSettings)

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

Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

locationsIEnumerablestring

Required. The desired list of Google Compute Engine zones in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed.

This list must always include the cluster's primary zone.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            IEnumerable<string> locations = new string[] { "", };
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.SetLocationsAsync(projectId, zone, clusterId, locations);
#pragma warning restore CS0612

SetLocationsAsync(string, string, string, IEnumerable<string>, CancellationToken)

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

Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

locationsIEnumerablestring

Required. The desired list of Google Compute Engine zones in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed.

This list must always include the cluster's primary zone.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

Example
            // Create client
            ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
            // Initialize request argument(s)
            string projectId = "";
            string zone = "";
            string clusterId = "";
            IEnumerable<string> locations = new string[] { "", };
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.SetLocationsAsync(projectId, zone, clusterId, locations);
#pragma warning restore CS0612

SetLoggingService(SetLoggingServiceRequest, CallSettings)

public virtual Operation SetLoggingService(SetLoggingServiceRequest request, CallSettings callSettings = null)

Sets the logging service for a specific cluster.

Parameters
NameDescription
requestSetLoggingServiceRequest

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)
SetLoggingServiceRequest request = new SetLoggingServiceRequest
{
    LoggingService = "",
    Name = "",
};
// Make the request
Operation response = clusterManagerClient.SetLoggingService(request);

SetLoggingService(string, string, CallSettings)

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

Sets the logging service for a specific cluster.

Parameters
NameDescription
namestring

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

loggingServicestring

Required. The logging service the cluster should use to write logs. Currently available options:

  • logging.googleapis.com/kubernetes - The Cloud Logging service with a Kubernetes-native resource model
  • logging.googleapis.com - The legacy Cloud Logging service (no longer available as of GKE 1.15).
  • none - no logs will be exported from the cluster.

If left as an empty string,logging.googleapis.com/kubernetes will be used for GKE 1.14+ or logging.googleapis.com for earlier versions.

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 = "";
string loggingService = "";
// Make the request
Operation response = clusterManagerClient.SetLoggingService(name, loggingService);

SetLoggingService(string, string, string, string, CallSettings)

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

Sets the logging service for a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

loggingServicestring

Required. The logging service the cluster should use to write logs. Currently available options:

  • logging.googleapis.com/kubernetes - The Cloud Logging service with a Kubernetes-native resource model
  • logging.googleapis.com - The legacy Cloud Logging service (no longer available as of GKE 1.15).
  • none - no logs will be exported from the cluster.

If left as an empty string,logging.googleapis.com/kubernetes will be used for GKE 1.14+ or logging.googleapis.com for earlier versions.

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 loggingService = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.SetLoggingService(projectId, zone, clusterId, loggingService);
#pragma warning restore CS0612

SetLoggingServiceAsync(SetLoggingServiceRequest, CallSettings)

public virtual Task<Operation> SetLoggingServiceAsync(SetLoggingServiceRequest request, CallSettings callSettings = null)

Sets the logging service for a specific cluster.

Parameters
NameDescription
requestSetLoggingServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetLoggingServiceAsync(SetLoggingServiceRequest, CancellationToken)

public virtual Task<Operation> SetLoggingServiceAsync(SetLoggingServiceRequest request, CancellationToken cancellationToken)

Sets the logging service for a specific cluster.

Parameters
NameDescription
requestSetLoggingServiceRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetLoggingServiceAsync(string, string, CallSettings)

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

Sets the logging service for a specific cluster.

Parameters
NameDescription
namestring

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

loggingServicestring

Required. The logging service the cluster should use to write logs. Currently available options:

  • logging.googleapis.com/kubernetes - The Cloud Logging service with a Kubernetes-native resource model
  • logging.googleapis.com - The legacy Cloud Logging service (no longer available as of GKE 1.15).
  • none - no logs will be exported from the cluster.

If left as an empty string,logging.googleapis.com/kubernetes will be used for GKE 1.14+ or logging.googleapis.com for earlier versions.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetLoggingServiceAsync(string, string, string, string, CallSettings)

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

Sets the logging service for a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

loggingServicestring

Required. The logging service the cluster should use to write logs. Currently available options:

  • logging.googleapis.com/kubernetes - The Cloud Logging service with a Kubernetes-native resource model
  • logging.googleapis.com - The legacy Cloud Logging service (no longer available as of GKE 1.15).
  • none - no logs will be exported from the cluster.

If left as an empty string,logging.googleapis.com/kubernetes will be used for GKE 1.14+ or logging.googleapis.com for earlier versions.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

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 loggingService = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.SetLoggingServiceAsync(projectId, zone, clusterId, loggingService);
#pragma warning restore CS0612

SetLoggingServiceAsync(string, string, string, string, CancellationToken)

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

Sets the logging service for a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

loggingServicestring

Required. The logging service the cluster should use to write logs. Currently available options:

  • logging.googleapis.com/kubernetes - The Cloud Logging service with a Kubernetes-native resource model
  • logging.googleapis.com - The legacy Cloud Logging service (no longer available as of GKE 1.15).
  • none - no logs will be exported from the cluster.

If left as an empty string,logging.googleapis.com/kubernetes will be used for GKE 1.14+ or logging.googleapis.com for earlier versions.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

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 loggingService = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.SetLoggingServiceAsync(projectId, zone, clusterId, loggingService);
#pragma warning restore CS0612

SetLoggingServiceAsync(string, string, CancellationToken)

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

Sets the logging service for a specific cluster.

Parameters
NameDescription
namestring

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

loggingServicestring

Required. The logging service the cluster should use to write logs. Currently available options:

  • logging.googleapis.com/kubernetes - The Cloud Logging service with a Kubernetes-native resource model
  • logging.googleapis.com - The legacy Cloud Logging service (no longer available as of GKE 1.15).
  • none - no logs will be exported from the cluster.

If left as an empty string,logging.googleapis.com/kubernetes will be used for GKE 1.14+ or logging.googleapis.com for earlier versions.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetMaintenancePolicy(SetMaintenancePolicyRequest, CallSettings)

public virtual Operation SetMaintenancePolicy(SetMaintenancePolicyRequest request, CallSettings callSettings = null)

Sets the maintenance policy for a cluster.

Parameters
NameDescription
requestSetMaintenancePolicyRequest

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)
SetMaintenancePolicyRequest request = new SetMaintenancePolicyRequest
{
    ProjectId = "",
    Zone = "",
    ClusterId = "",
    MaintenancePolicy = new MaintenancePolicy(),
    Name = "",
};
// Make the request
Operation response = clusterManagerClient.SetMaintenancePolicy(request);

SetMaintenancePolicy(string, MaintenancePolicy, CallSettings)

public virtual Operation SetMaintenancePolicy(string name, MaintenancePolicy maintenancePolicy, CallSettings callSettings = null)

Sets the maintenance policy for a cluster.

Parameters
NameDescription
namestring

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

maintenancePolicyMaintenancePolicy

Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.

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 = "";
MaintenancePolicy maintenancePolicy = new MaintenancePolicy();
// Make the request
Operation response = clusterManagerClient.SetMaintenancePolicy(name, maintenancePolicy);

SetMaintenancePolicy(string, string, string, MaintenancePolicy, CallSettings)

public virtual Operation SetMaintenancePolicy(string projectId, string zone, string clusterId, MaintenancePolicy maintenancePolicy, CallSettings callSettings = null)

Sets the maintenance policy for a cluster.

Parameters
NameDescription
projectIdstring

Required. The Google Developers Console project ID or project number.

zonestring

Required. The name of the Google Compute Engine zone in which the cluster resides.

clusterIdstring

Required. The name of the cluster to update.

maintenancePolicyMaintenancePolicy

Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.

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 = "";
MaintenancePolicy maintenancePolicy = new MaintenancePolicy();
// Make the request
Operation response = clusterManagerClient.SetMaintenancePolicy(projectId, zone, clusterId, maintenancePolicy);

SetMaintenancePolicyAsync(SetMaintenancePolicyRequest, CallSettings)

public virtual Task<Operation> SetMaintenancePolicyAsync(SetMaintenancePolicyRequest request, CallSettings callSettings = null)

Sets the maintenance policy for a cluster.

Parameters
NameDescription
requestSetMaintenancePolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
SetMaintenancePolicyRequest request = new SetMaintenancePolicyRequest
{
    ProjectId = "",
    Zone = "",
    ClusterId = "",
    MaintenancePolicy = new MaintenancePolicy(),
    Name = "",
};
// Make the request
Operation response = await clusterManagerClient.SetMaintenancePolicyAsync(request);

SetMaintenancePolicyAsync(SetMaintenancePolicyRequest, CancellationToken)

public virtual Task<Operation> SetMaintenancePolicyAsync(SetMaintenancePolicyRequest request, CancellationToken cancellationToken)

Sets the maintenance policy for a cluster.

Parameters
NameDescription
requestSetMaintenancePolicyRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
SetMaintenancePolicyRequest request = new SetMaintenancePolicyRequest
{
    ProjectId = "",
    Zone = "",
    ClusterId = "",
    MaintenancePolicy = new MaintenancePolicy(),
    Name = "",
};
// Make the request
Operation response = await clusterManagerClient.SetMaintenancePolicyAsync(request);

SetMaintenancePolicyAsync(string, MaintenancePolicy, CallSettings)

public virtual Task<Operation> SetMaintenancePolicyAsync(string name, MaintenancePolicy maintenancePolicy, CallSettings callSettings = null)

Sets the maintenance policy for a cluster.

Parameters
NameDescription
namestring

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

maintenancePolicyMaintenancePolicy

Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetMaintenancePolicyAsync(string, MaintenancePolicy, CancellationToken)

public virtual Task<Operation> SetMaintenancePolicyAsync(string name, MaintenancePolicy maintenancePolicy, CancellationToken cancellationToken)

Sets the maintenance policy for a cluster.

Parameters
NameDescription
namestring

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

maintenancePolicyMaintenancePolicy

Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetMaintenancePolicyAsync(string, string, string, MaintenancePolicy, CallSettings)

public virtual Task<Operation> SetMaintenancePolicyAsync(string projectId, string zone, string clusterId, MaintenancePolicy maintenancePolicy, CallSettings callSettings = null)

Sets the maintenance policy for a cluster.

Parameters
NameDescription
projectIdstring

Required. The Google Developers Console project ID or project number.

zonestring

Required. The name of the Google Compute Engine zone in which the cluster resides.

clusterIdstring

Required. The name of the cluster to update.

maintenancePolicyMaintenancePolicy

Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string projectId = "";
string zone = "";
string clusterId = "";
MaintenancePolicy maintenancePolicy = new MaintenancePolicy();
// Make the request
Operation response = await clusterManagerClient.SetMaintenancePolicyAsync(projectId, zone, clusterId, maintenancePolicy);

SetMaintenancePolicyAsync(string, string, string, MaintenancePolicy, CancellationToken)

public virtual Task<Operation> SetMaintenancePolicyAsync(string projectId, string zone, string clusterId, MaintenancePolicy maintenancePolicy, CancellationToken cancellationToken)

Sets the maintenance policy for a cluster.

Parameters
NameDescription
projectIdstring

Required. The Google Developers Console project ID or project number.

zonestring

Required. The name of the Google Compute Engine zone in which the cluster resides.

clusterIdstring

Required. The name of the cluster to update.

maintenancePolicyMaintenancePolicy

Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
string projectId = "";
string zone = "";
string clusterId = "";
MaintenancePolicy maintenancePolicy = new MaintenancePolicy();
// Make the request
Operation response = await clusterManagerClient.SetMaintenancePolicyAsync(projectId, zone, clusterId, maintenancePolicy);

SetMasterAuth(SetMasterAuthRequest, CallSettings)

public virtual Operation SetMasterAuth(SetMasterAuthRequest request, CallSettings callSettings = null)

Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.

Parameters
NameDescription
requestSetMasterAuthRequest

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)
SetMasterAuthRequest request = new SetMasterAuthRequest
{
    Action = SetMasterAuthRequest.Types.Action.Unknown,
    Update = new MasterAuth(),
    Name = "",
};
// Make the request
Operation response = clusterManagerClient.SetMasterAuth(request);

SetMasterAuthAsync(SetMasterAuthRequest, CallSettings)

public virtual Task<Operation> SetMasterAuthAsync(SetMasterAuthRequest request, CallSettings callSettings = null)

Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.

Parameters
NameDescription
requestSetMasterAuthRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
SetMasterAuthRequest request = new SetMasterAuthRequest
{
    Action = SetMasterAuthRequest.Types.Action.Unknown,
    Update = new MasterAuth(),
    Name = "",
};
// Make the request
Operation response = await clusterManagerClient.SetMasterAuthAsync(request);

SetMasterAuthAsync(SetMasterAuthRequest, CancellationToken)

public virtual Task<Operation> SetMasterAuthAsync(SetMasterAuthRequest request, CancellationToken cancellationToken)

Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.

Parameters
NameDescription
requestSetMasterAuthRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
SetMasterAuthRequest request = new SetMasterAuthRequest
{
    Action = SetMasterAuthRequest.Types.Action.Unknown,
    Update = new MasterAuth(),
    Name = "",
};
// Make the request
Operation response = await clusterManagerClient.SetMasterAuthAsync(request);

SetMonitoringService(SetMonitoringServiceRequest, CallSettings)

public virtual Operation SetMonitoringService(SetMonitoringServiceRequest request, CallSettings callSettings = null)

Sets the monitoring service for a specific cluster.

Parameters
NameDescription
requestSetMonitoringServiceRequest

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)
SetMonitoringServiceRequest request = new SetMonitoringServiceRequest
{
    MonitoringService = "",
    Name = "",
};
// Make the request
Operation response = clusterManagerClient.SetMonitoringService(request);

SetMonitoringService(string, string, CallSettings)

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

Sets the monitoring service for a specific cluster.

Parameters
NameDescription
namestring

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

monitoringServicestring

Required. The monitoring service the cluster should use to write metrics. Currently available options:

  • "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model
  • monitoring.googleapis.com - The legacy Cloud Monitoring service (no longer available as of GKE 1.15).
  • none - No metrics will be exported from the cluster.

If left as an empty string,monitoring.googleapis.com/kubernetes will be used for GKE 1.14+ or monitoring.googleapis.com for earlier versions.

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 = "";
string monitoringService = "";
// Make the request
Operation response = clusterManagerClient.SetMonitoringService(name, monitoringService);

SetMonitoringService(string, string, string, string, CallSettings)

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

Sets the monitoring service for a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

monitoringServicestring

Required. The monitoring service the cluster should use to write metrics. Currently available options:

  • "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model
  • monitoring.googleapis.com - The legacy Cloud Monitoring service (no longer available as of GKE 1.15).
  • none - No metrics will be exported from the cluster.

If left as an empty string,monitoring.googleapis.com/kubernetes will be used for GKE 1.14+ or monitoring.googleapis.com for earlier versions.

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 monitoringService = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.SetMonitoringService(projectId, zone, clusterId, monitoringService);
#pragma warning restore CS0612

SetMonitoringServiceAsync(SetMonitoringServiceRequest, CallSettings)

public virtual Task<Operation> SetMonitoringServiceAsync(SetMonitoringServiceRequest request, CallSettings callSettings = null)

Sets the monitoring service for a specific cluster.

Parameters
NameDescription
requestSetMonitoringServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetMonitoringServiceAsync(SetMonitoringServiceRequest, CancellationToken)

public virtual Task<Operation> SetMonitoringServiceAsync(SetMonitoringServiceRequest request, CancellationToken cancellationToken)

Sets the monitoring service for a specific cluster.

Parameters
NameDescription
requestSetMonitoringServiceRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetMonitoringServiceAsync(string, string, CallSettings)

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

Sets the monitoring service for a specific cluster.

Parameters
NameDescription
namestring

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

monitoringServicestring

Required. The monitoring service the cluster should use to write metrics. Currently available options:

  • "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model
  • monitoring.googleapis.com - The legacy Cloud Monitoring service (no longer available as of GKE 1.15).
  • none - No metrics will be exported from the cluster.

If left as an empty string,monitoring.googleapis.com/kubernetes will be used for GKE 1.14+ or monitoring.googleapis.com for earlier versions.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetMonitoringServiceAsync(string, string, string, string, CallSettings)

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

Sets the monitoring service for a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

monitoringServicestring

Required. The monitoring service the cluster should use to write metrics. Currently available options:

  • "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model
  • monitoring.googleapis.com - The legacy Cloud Monitoring service (no longer available as of GKE 1.15).
  • none - No metrics will be exported from the cluster.

If left as an empty string,monitoring.googleapis.com/kubernetes will be used for GKE 1.14+ or monitoring.googleapis.com for earlier versions.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

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 monitoringService = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.SetMonitoringServiceAsync(projectId, zone, clusterId, monitoringService);
#pragma warning restore CS0612

SetMonitoringServiceAsync(string, string, string, string, CancellationToken)

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

Sets the monitoring service for a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

monitoringServicestring

Required. The monitoring service the cluster should use to write metrics. Currently available options:

  • "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model
  • monitoring.googleapis.com - The legacy Cloud Monitoring service (no longer available as of GKE 1.15).
  • none - No metrics will be exported from the cluster.

If left as an empty string,monitoring.googleapis.com/kubernetes will be used for GKE 1.14+ or monitoring.googleapis.com for earlier versions.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

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 monitoringService = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.SetMonitoringServiceAsync(projectId, zone, clusterId, monitoringService);
#pragma warning restore CS0612

SetMonitoringServiceAsync(string, string, CancellationToken)

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

Sets the monitoring service for a specific cluster.

Parameters
NameDescription
namestring

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

monitoringServicestring

Required. The monitoring service the cluster should use to write metrics. Currently available options:

  • "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model
  • monitoring.googleapis.com - The legacy Cloud Monitoring service (no longer available as of GKE 1.15).
  • none - No metrics will be exported from the cluster.

If left as an empty string,monitoring.googleapis.com/kubernetes will be used for GKE 1.14+ or monitoring.googleapis.com for earlier versions.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetNetworkPolicy(SetNetworkPolicyRequest, CallSettings)

public virtual Operation SetNetworkPolicy(SetNetworkPolicyRequest request, CallSettings callSettings = null)

Enables or disables Network Policy for a cluster.

Parameters
NameDescription
requestSetNetworkPolicyRequest

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)
SetNetworkPolicyRequest request = new SetNetworkPolicyRequest
{
    NetworkPolicy = new NetworkPolicy(),
    Name = "",
};
// Make the request
Operation response = clusterManagerClient.SetNetworkPolicy(request);

SetNetworkPolicy(string, NetworkPolicy, CallSettings)

public virtual Operation SetNetworkPolicy(string name, NetworkPolicy networkPolicy, CallSettings callSettings = null)

Enables or disables Network Policy for a cluster.

Parameters
NameDescription
namestring

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

networkPolicyNetworkPolicy

Required. Configuration options for the NetworkPolicy feature.

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 = "";
NetworkPolicy networkPolicy = new NetworkPolicy();
// Make the request
Operation response = clusterManagerClient.SetNetworkPolicy(name, networkPolicy);

SetNetworkPolicy(string, string, string, NetworkPolicy, CallSettings)

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

Enables or disables Network Policy for a cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

networkPolicyNetworkPolicy

Required. Configuration options for the NetworkPolicy feature.

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 = "";
            NetworkPolicy networkPolicy = new NetworkPolicy();
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.SetNetworkPolicy(projectId, zone, clusterId, networkPolicy);
#pragma warning restore CS0612

SetNetworkPolicyAsync(SetNetworkPolicyRequest, CallSettings)

public virtual Task<Operation> SetNetworkPolicyAsync(SetNetworkPolicyRequest request, CallSettings callSettings = null)

Enables or disables Network Policy for a cluster.

Parameters
NameDescription
requestSetNetworkPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetNetworkPolicyAsync(SetNetworkPolicyRequest, CancellationToken)

public virtual Task<Operation> SetNetworkPolicyAsync(SetNetworkPolicyRequest request, CancellationToken cancellationToken)

Enables or disables Network Policy for a cluster.

Parameters
NameDescription
requestSetNetworkPolicyRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetNetworkPolicyAsync(string, NetworkPolicy, CallSettings)

public virtual Task<Operation> SetNetworkPolicyAsync(string name, NetworkPolicy networkPolicy, CallSettings callSettings = null)

Enables or disables Network Policy for a cluster.

Parameters
NameDescription
namestring

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

networkPolicyNetworkPolicy

Required. Configuration options for the NetworkPolicy feature.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetNetworkPolicyAsync(string, NetworkPolicy, CancellationToken)

public virtual Task<Operation> SetNetworkPolicyAsync(string name, NetworkPolicy networkPolicy, CancellationToken cancellationToken)

Enables or disables Network Policy for a cluster.

Parameters
NameDescription
namestring

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

networkPolicyNetworkPolicy

Required. Configuration options for the NetworkPolicy feature.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetNetworkPolicyAsync(string, string, string, NetworkPolicy, CallSettings)

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

Enables or disables Network Policy for a cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

networkPolicyNetworkPolicy

Required. Configuration options for the NetworkPolicy feature.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetNetworkPolicyAsync(string, string, string, NetworkPolicy, CancellationToken)

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

Enables or disables Network Policy for a cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

networkPolicyNetworkPolicy

Required. Configuration options for the NetworkPolicy feature.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetNodePoolAutoscaling(SetNodePoolAutoscalingRequest, CallSettings)

public virtual Operation SetNodePoolAutoscaling(SetNodePoolAutoscalingRequest request, CallSettings callSettings = null)

Sets the autoscaling settings for the specified node pool.

Parameters
NameDescription
requestSetNodePoolAutoscalingRequest

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)
SetNodePoolAutoscalingRequest request = new SetNodePoolAutoscalingRequest
{
    Autoscaling = new NodePoolAutoscaling(),
    Name = "",
};
// Make the request
Operation response = clusterManagerClient.SetNodePoolAutoscaling(request);

SetNodePoolAutoscalingAsync(SetNodePoolAutoscalingRequest, CallSettings)

public virtual Task<Operation> SetNodePoolAutoscalingAsync(SetNodePoolAutoscalingRequest request, CallSettings callSettings = null)

Sets the autoscaling settings for the specified node pool.

Parameters
NameDescription
requestSetNodePoolAutoscalingRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetNodePoolAutoscalingAsync(SetNodePoolAutoscalingRequest, CancellationToken)

public virtual Task<Operation> SetNodePoolAutoscalingAsync(SetNodePoolAutoscalingRequest request, CancellationToken cancellationToken)

Sets the autoscaling settings for the specified node pool.

Parameters
NameDescription
requestSetNodePoolAutoscalingRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetNodePoolManagement(SetNodePoolManagementRequest, CallSettings)

public virtual Operation SetNodePoolManagement(SetNodePoolManagementRequest request, CallSettings callSettings = null)

Sets the NodeManagement options for a node pool.

Parameters
NameDescription
requestSetNodePoolManagementRequest

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)
SetNodePoolManagementRequest request = new SetNodePoolManagementRequest
{
    Management = new NodeManagement(),
    Name = "",
};
// Make the request
Operation response = clusterManagerClient.SetNodePoolManagement(request);

SetNodePoolManagementAsync(SetNodePoolManagementRequest, CallSettings)

public virtual Task<Operation> SetNodePoolManagementAsync(SetNodePoolManagementRequest request, CallSettings callSettings = null)

Sets the NodeManagement options for a node pool.

Parameters
NameDescription
requestSetNodePoolManagementRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetNodePoolManagementAsync(SetNodePoolManagementRequest, CancellationToken)

public virtual Task<Operation> SetNodePoolManagementAsync(SetNodePoolManagementRequest request, CancellationToken cancellationToken)

Sets the NodeManagement options for a node pool.

Parameters
NameDescription
requestSetNodePoolManagementRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetNodePoolSize(SetNodePoolSizeRequest, CallSettings)

public virtual Operation SetNodePoolSize(SetNodePoolSizeRequest request, CallSettings callSettings = null)

Sets the size for a specific node pool. The new size will be used for all replicas, including future replicas created by modifying [NodePool.locations][google.container.v1.NodePool.locations].

Parameters
NameDescription
requestSetNodePoolSizeRequest

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)
SetNodePoolSizeRequest request = new SetNodePoolSizeRequest
{
    NodeCount = 0,
    Name = "",
};
// Make the request
Operation response = clusterManagerClient.SetNodePoolSize(request);

SetNodePoolSizeAsync(SetNodePoolSizeRequest, CallSettings)

public virtual Task<Operation> SetNodePoolSizeAsync(SetNodePoolSizeRequest request, CallSettings callSettings = null)

Sets the size for a specific node pool. The new size will be used for all replicas, including future replicas created by modifying [NodePool.locations][google.container.v1.NodePool.locations].

Parameters
NameDescription
requestSetNodePoolSizeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

SetNodePoolSizeAsync(SetNodePoolSizeRequest, CancellationToken)

public virtual Task<Operation> SetNodePoolSizeAsync(SetNodePoolSizeRequest request, CancellationToken cancellationToken)

Sets the size for a specific node pool. The new size will be used for all replicas, including future replicas created by modifying [NodePool.locations][google.container.v1.NodePool.locations].

Parameters
NameDescription
requestSetNodePoolSizeRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
TypeDescription
Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

StartIPRotation(StartIPRotationRequest, CallSettings)

public virtual Operation StartIPRotation(StartIPRotationRequest request, CallSettings callSettings = null)

Starts master IP rotation.

Parameters
NameDescription
requestStartIPRotationRequest

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)
StartIPRotationRequest request = new StartIPRotationRequest
{
    Name = "",
    RotateCredentials = false,
};
// Make the request
Operation response = clusterManagerClient.StartIPRotation(request);

StartIPRotation(string, CallSettings)

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

Starts master IP rotation.

Parameters
NameDescription
namestring

The name (project, location, cluster name) of the cluster to start 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.StartIPRotation(name);

StartIPRotation(string, string, string, CallSettings)

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

Starts master IP rotation.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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.StartIPRotation(projectId, zone, clusterId);
#pragma warning restore CS0612

StartIPRotationAsync(StartIPRotationRequest, CallSettings)

public virtual Task<Operation> StartIPRotationAsync(StartIPRotationRequest request, CallSettings callSettings = null)

Starts master IP rotation.

Parameters
NameDescription
requestStartIPRotationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

StartIPRotationAsync(StartIPRotationRequest, CancellationToken)

public virtual Task<Operation> StartIPRotationAsync(StartIPRotationRequest request, CancellationToken cancellationToken)

Starts master IP rotation.

Parameters
NameDescription
requestStartIPRotationRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

StartIPRotationAsync(string, CallSettings)

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

Starts master IP rotation.

Parameters
NameDescription
namestring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

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.StartIPRotationAsync(name);

StartIPRotationAsync(string, string, string, CallSettings)

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

Starts master IP rotation.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
TaskOperation

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.StartIPRotationAsync(projectId, zone, clusterId);
#pragma warning restore CS0612

StartIPRotationAsync(string, string, string, CancellationToken)

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

Starts master IP rotation.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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
TaskOperation

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.StartIPRotationAsync(projectId, zone, clusterId);
#pragma warning restore CS0612

StartIPRotationAsync(string, CancellationToken)

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

Starts master IP rotation.

Parameters
NameDescription
namestring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

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.StartIPRotationAsync(name);

UpdateCluster(UpdateClusterRequest, CallSettings)

public virtual Operation UpdateCluster(UpdateClusterRequest request, CallSettings callSettings = null)

Updates the settings of a specific cluster.

Parameters
NameDescription
requestUpdateClusterRequest

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)
UpdateClusterRequest request = new UpdateClusterRequest
{
    Update = new ClusterUpdate(),
    Name = "",
};
// Make the request
Operation response = clusterManagerClient.UpdateCluster(request);

UpdateCluster(string, ClusterUpdate, CallSettings)

public virtual Operation UpdateCluster(string name, ClusterUpdate update, CallSettings callSettings = null)

Updates the settings of a specific cluster.

Parameters
NameDescription
namestring

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

updateClusterUpdate

Required. A description of the update.

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 = "";
ClusterUpdate update = new ClusterUpdate();
// Make the request
Operation response = clusterManagerClient.UpdateCluster(name, update);

UpdateCluster(string, string, string, ClusterUpdate, CallSettings)

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

Updates the settings of a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

updateClusterUpdate

Required. A description of the update.

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 = "";
            ClusterUpdate update = new ClusterUpdate();
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.UpdateCluster(projectId, zone, clusterId, update);
#pragma warning restore CS0612

UpdateClusterAsync(UpdateClusterRequest, CallSettings)

public virtual Task<Operation> UpdateClusterAsync(UpdateClusterRequest request, CallSettings callSettings = null)

Updates the settings of a specific cluster.

Parameters
NameDescription
requestUpdateClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

UpdateClusterAsync(UpdateClusterRequest, CancellationToken)

public virtual Task<Operation> UpdateClusterAsync(UpdateClusterRequest request, CancellationToken cancellationToken)

Updates the settings of a specific cluster.

Parameters
NameDescription
requestUpdateClusterRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

UpdateClusterAsync(string, ClusterUpdate, CallSettings)

public virtual Task<Operation> UpdateClusterAsync(string name, ClusterUpdate update, CallSettings callSettings = null)

Updates the settings of a specific cluster.

Parameters
NameDescription
namestring

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

updateClusterUpdate

Required. A description of the update.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

UpdateClusterAsync(string, ClusterUpdate, CancellationToken)

public virtual Task<Operation> UpdateClusterAsync(string name, ClusterUpdate update, CancellationToken cancellationToken)

Updates the settings of a specific cluster.

Parameters
NameDescription
namestring

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

updateClusterUpdate

Required. A description of the update.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

UpdateClusterAsync(string, string, string, ClusterUpdate, CallSettings)

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

Updates the settings of a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

updateClusterUpdate

Required. A description of the update.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

UpdateClusterAsync(string, string, string, ClusterUpdate, CancellationToken)

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

Updates the settings of a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

updateClusterUpdate

Required. A description of the update.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

UpdateMaster(UpdateMasterRequest, CallSettings)

public virtual Operation UpdateMaster(UpdateMasterRequest request, CallSettings callSettings = null)

Updates the master for a specific cluster.

Parameters
NameDescription
requestUpdateMasterRequest

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)
UpdateMasterRequest request = new UpdateMasterRequest
{
    MasterVersion = "",
    Name = "",
};
// Make the request
Operation response = clusterManagerClient.UpdateMaster(request);

UpdateMaster(string, string, CallSettings)

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

Updates the master for a specific cluster.

Parameters
NameDescription
namestring

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

masterVersionstring

Required. The Kubernetes version to change the master to.

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

  • "latest": picks the highest valid Kubernetes version
  • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
  • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
  • "1.X.Y-gke.N": picks an explicit Kubernetes version
  • "-": picks the default Kubernetes version
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 = "";
string masterVersion = "";
// Make the request
Operation response = clusterManagerClient.UpdateMaster(name, masterVersion);

UpdateMaster(string, string, string, string, CallSettings)

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

Updates the master for a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

masterVersionstring

Required. The Kubernetes version to change the master to.

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

  • "latest": picks the highest valid Kubernetes version
  • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
  • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
  • "1.X.Y-gke.N": picks an explicit Kubernetes version
  • "-": picks the default Kubernetes version
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 masterVersion = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = clusterManagerClient.UpdateMaster(projectId, zone, clusterId, masterVersion);
#pragma warning restore CS0612

UpdateMasterAsync(UpdateMasterRequest, CallSettings)

public virtual Task<Operation> UpdateMasterAsync(UpdateMasterRequest request, CallSettings callSettings = null)

Updates the master for a specific cluster.

Parameters
NameDescription
requestUpdateMasterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

UpdateMasterAsync(UpdateMasterRequest, CancellationToken)

public virtual Task<Operation> UpdateMasterAsync(UpdateMasterRequest request, CancellationToken cancellationToken)

Updates the master for a specific cluster.

Parameters
NameDescription
requestUpdateMasterRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

UpdateMasterAsync(string, string, CallSettings)

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

Updates the master for a specific cluster.

Parameters
NameDescription
namestring

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

masterVersionstring

Required. The Kubernetes version to change the master to.

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

  • "latest": picks the highest valid Kubernetes version
  • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
  • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
  • "1.X.Y-gke.N": picks an explicit Kubernetes version
  • "-": picks the default Kubernetes version
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

UpdateMasterAsync(string, string, string, string, CallSettings)

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

Updates the master for a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

masterVersionstring

Required. The Kubernetes version to change the master to.

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

  • "latest": picks the highest valid Kubernetes version
  • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
  • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
  • "1.X.Y-gke.N": picks an explicit Kubernetes version
  • "-": picks the default Kubernetes version
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

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 masterVersion = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.UpdateMasterAsync(projectId, zone, clusterId, masterVersion);
#pragma warning restore CS0612

UpdateMasterAsync(string, string, string, string, CancellationToken)

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

Updates the master for a specific cluster.

Parameters
NameDescription
projectIdstring

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

zonestring

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.

clusterIdstring

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

masterVersionstring

Required. The Kubernetes version to change the master to.

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

  • "latest": picks the highest valid Kubernetes version
  • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
  • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
  • "1.X.Y-gke.N": picks an explicit Kubernetes version
  • "-": picks the default Kubernetes version
cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

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 masterVersion = "";
            // Make the request
#pragma warning disable CS0612
            Operation response = await clusterManagerClient.UpdateMasterAsync(projectId, zone, clusterId, masterVersion);
#pragma warning restore CS0612

UpdateMasterAsync(string, string, CancellationToken)

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

Updates the master for a specific cluster.

Parameters
NameDescription
namestring

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

masterVersionstring

Required. The Kubernetes version to change the master to.

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

  • "latest": picks the highest valid Kubernetes version
  • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
  • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
  • "1.X.Y-gke.N": picks an explicit Kubernetes version
  • "-": picks the default Kubernetes version
cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

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

UpdateNodePool(UpdateNodePoolRequest, CallSettings)

public virtual Operation UpdateNodePool(UpdateNodePoolRequest request, CallSettings callSettings = null)

Updates the version and/or image type for the specified node pool.

Parameters
NameDescription
requestUpdateNodePoolRequest

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)
UpdateNodePoolRequest request = new UpdateNodePoolRequest
{
    NodeVersion = "",
    ImageType = "",
    Name = "",
    Locations = { "", },
    WorkloadMetadataConfig = new WorkloadMetadataConfig(),
    UpgradeSettings = new NodePool.Types.UpgradeSettings(),
    Tags = new NetworkTags(),
    Taints = new NodeTaints(),
    Labels = new NodeLabels(),
    LinuxNodeConfig = new LinuxNodeConfig(),
    KubeletConfig = new NodeKubeletConfig(),
    NodeNetworkConfig = new NodeNetworkConfig(),
    GcfsConfig = new GcfsConfig(),
    ConfidentialNodes = new ConfidentialNodes(),
    Gvnic = new VirtualNIC(),
    Etag = "",
    FastSocket = new FastSocket(),
    LoggingConfig = new NodePoolLoggingConfig(),
    ResourceLabels = new ResourceLabels(),
    WindowsNodeConfig = new WindowsNodeConfig(),
    MachineType = "",
    DiskType = "",
    DiskSizeGb = 0L,
    ResourceManagerTags = new ResourceManagerTags(),
};
// Make the request
Operation response = clusterManagerClient.UpdateNodePool(request);

UpdateNodePoolAsync(UpdateNodePoolRequest, CallSettings)

public virtual Task<Operation> UpdateNodePoolAsync(UpdateNodePoolRequest request, CallSettings callSettings = null)

Updates the version and/or image type for the specified node pool.

Parameters
NameDescription
requestUpdateNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateNodePoolRequest request = new UpdateNodePoolRequest
{
    NodeVersion = "",
    ImageType = "",
    Name = "",
    Locations = { "", },
    WorkloadMetadataConfig = new WorkloadMetadataConfig(),
    UpgradeSettings = new NodePool.Types.UpgradeSettings(),
    Tags = new NetworkTags(),
    Taints = new NodeTaints(),
    Labels = new NodeLabels(),
    LinuxNodeConfig = new LinuxNodeConfig(),
    KubeletConfig = new NodeKubeletConfig(),
    NodeNetworkConfig = new NodeNetworkConfig(),
    GcfsConfig = new GcfsConfig(),
    ConfidentialNodes = new ConfidentialNodes(),
    Gvnic = new VirtualNIC(),
    Etag = "",
    FastSocket = new FastSocket(),
    LoggingConfig = new NodePoolLoggingConfig(),
    ResourceLabels = new ResourceLabels(),
    WindowsNodeConfig = new WindowsNodeConfig(),
    MachineType = "",
    DiskType = "",
    DiskSizeGb = 0L,
    ResourceManagerTags = new ResourceManagerTags(),
};
// Make the request
Operation response = await clusterManagerClient.UpdateNodePoolAsync(request);

UpdateNodePoolAsync(UpdateNodePoolRequest, CancellationToken)

public virtual Task<Operation> UpdateNodePoolAsync(UpdateNodePoolRequest request, CancellationToken cancellationToken)

Updates the version and/or image type for the specified node pool.

Parameters
NameDescription
requestUpdateNodePoolRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperation

A Task containing the RPC response.

Example
// Create client
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateNodePoolRequest request = new UpdateNodePoolRequest
{
    NodeVersion = "",
    ImageType = "",
    Name = "",
    Locations = { "", },
    WorkloadMetadataConfig = new WorkloadMetadataConfig(),
    UpgradeSettings = new NodePool.Types.UpgradeSettings(),
    Tags = new NetworkTags(),
    Taints = new NodeTaints(),
    Labels = new NodeLabels(),
    LinuxNodeConfig = new LinuxNodeConfig(),
    KubeletConfig = new NodeKubeletConfig(),
    NodeNetworkConfig = new NodeNetworkConfig(),
    GcfsConfig = new GcfsConfig(),
    ConfidentialNodes = new ConfidentialNodes(),
    Gvnic = new VirtualNIC(),
    Etag = "",
    FastSocket = new FastSocket(),
    LoggingConfig = new NodePoolLoggingConfig(),
    ResourceLabels = new ResourceLabels(),
    WindowsNodeConfig = new WindowsNodeConfig(),
    MachineType = "",
    DiskType = "",
    DiskSizeGb = 0L,
    ResourceManagerTags = new ResourceManagerTags(),
};
// Make the request
Operation response = await clusterManagerClient.UpdateNodePoolAsync(request);