Class ClusterManager.ClusterManagerBase

[BindServiceMethod(typeof(ClusterManager), "BindService")]
public abstract class ClusterManagerBase

Base class for server-side implementations of ClusterManager

Inheritance

Object > ClusterManager.ClusterManagerBase

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Methods

CancelOperation(CancelOperationRequest, ServerCallContext)

public virtual Task<Empty> CancelOperation(CancelOperationRequest request, ServerCallContext context)

Cancels the specified operation.

Parameters
TypeNameDescription
CancelOperationRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).

CompleteIPRotation(CompleteIPRotationRequest, ServerCallContext)

public virtual Task<Operation> CompleteIPRotation(CompleteIPRotationRequest request, ServerCallContext context)

Completes master IP rotation.

Parameters
TypeNameDescription
CompleteIPRotationRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

CreateCluster(CreateClusterRequest, ServerCallContext)

public virtual Task<Operation> CreateCluster(CreateClusterRequest request, ServerCallContext context)

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

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

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

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

Parameters
TypeNameDescription
CreateClusterRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

CreateNodePool(CreateNodePoolRequest, ServerCallContext)

public virtual Task<Operation> CreateNodePool(CreateNodePoolRequest request, ServerCallContext context)

Creates a node pool for a cluster.

Parameters
TypeNameDescription
CreateNodePoolRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteCluster(DeleteClusterRequest, ServerCallContext)

public virtual Task<Operation> DeleteCluster(DeleteClusterRequest request, ServerCallContext context)

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

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

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

Parameters
TypeNameDescription
DeleteClusterRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteNodePool(DeleteNodePoolRequest, ServerCallContext)

public virtual Task<Operation> DeleteNodePool(DeleteNodePoolRequest request, ServerCallContext context)

Deletes a node pool from a cluster.

Parameters
TypeNameDescription
DeleteNodePoolRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

GetCluster(GetClusterRequest, ServerCallContext)

public virtual Task<Cluster> GetCluster(GetClusterRequest request, ServerCallContext context)

Gets the details of a specific cluster.

Parameters
TypeNameDescription
GetClusterRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Cluster>

The response to send back to the client (wrapped by a task).

GetJSONWebKeys(GetJSONWebKeysRequest, ServerCallContext)

public virtual Task<GetJSONWebKeysResponse> GetJSONWebKeys(GetJSONWebKeysRequest request, ServerCallContext context)

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

Parameters
TypeNameDescription
GetJSONWebKeysRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<GetJSONWebKeysResponse>

The response to send back to the client (wrapped by a task).

GetNodePool(GetNodePoolRequest, ServerCallContext)

public virtual Task<NodePool> GetNodePool(GetNodePoolRequest request, ServerCallContext context)

Retrieves the requested node pool.

Parameters
TypeNameDescription
GetNodePoolRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<NodePool>

The response to send back to the client (wrapped by a task).

GetOperation(GetOperationRequest, ServerCallContext)

public virtual Task<Operation> GetOperation(GetOperationRequest request, ServerCallContext context)

Gets the specified operation.

Parameters
TypeNameDescription
GetOperationRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

GetServerConfig(GetServerConfigRequest, ServerCallContext)

public virtual Task<ServerConfig> GetServerConfig(GetServerConfigRequest request, ServerCallContext context)

Returns configuration info about the Google Kubernetes Engine service.

Parameters
TypeNameDescription
GetServerConfigRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ServerConfig>

The response to send back to the client (wrapped by a task).

ListClusters(ListClustersRequest, ServerCallContext)

public virtual Task<ListClustersResponse> ListClusters(ListClustersRequest request, ServerCallContext context)

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

Parameters
TypeNameDescription
ListClustersRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListClustersResponse>

The response to send back to the client (wrapped by a task).

ListNodePools(ListNodePoolsRequest, ServerCallContext)

public virtual Task<ListNodePoolsResponse> ListNodePools(ListNodePoolsRequest request, ServerCallContext context)

Lists the node pools for a cluster.

Parameters
TypeNameDescription
ListNodePoolsRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListNodePoolsResponse>

The response to send back to the client (wrapped by a task).

ListOperations(ListOperationsRequest, ServerCallContext)

public virtual Task<ListOperationsResponse> ListOperations(ListOperationsRequest request, ServerCallContext context)

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

Parameters
TypeNameDescription
ListOperationsRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListOperationsResponse>

The response to send back to the client (wrapped by a task).

ListUsableSubnetworks(ListUsableSubnetworksRequest, ServerCallContext)

public virtual Task<ListUsableSubnetworksResponse> ListUsableSubnetworks(ListUsableSubnetworksRequest request, ServerCallContext context)

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

Parameters
TypeNameDescription
ListUsableSubnetworksRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListUsableSubnetworksResponse>

The response to send back to the client (wrapped by a task).

RollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest, ServerCallContext)

public virtual Task<Operation> RollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request, ServerCallContext context)

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

Parameters
TypeNameDescription
RollbackNodePoolUpgradeRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

SetAddonsConfig(SetAddonsConfigRequest, ServerCallContext)

public virtual Task<Operation> SetAddonsConfig(SetAddonsConfigRequest request, ServerCallContext context)

Sets the addons for a specific cluster.

Parameters
TypeNameDescription
SetAddonsConfigRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

SetLabels(SetLabelsRequest, ServerCallContext)

public virtual Task<Operation> SetLabels(SetLabelsRequest request, ServerCallContext context)

Sets labels on a cluster.

Parameters
TypeNameDescription
SetLabelsRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

SetLegacyAbac(SetLegacyAbacRequest, ServerCallContext)

public virtual Task<Operation> SetLegacyAbac(SetLegacyAbacRequest request, ServerCallContext context)

Enables or disables the ABAC authorization mechanism on a cluster.

Parameters
TypeNameDescription
SetLegacyAbacRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

SetLocations(SetLocationsRequest, ServerCallContext)

public virtual Task<Operation> SetLocations(SetLocationsRequest request, ServerCallContext context)

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

Parameters
TypeNameDescription
SetLocationsRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

SetLoggingService(SetLoggingServiceRequest, ServerCallContext)

public virtual Task<Operation> SetLoggingService(SetLoggingServiceRequest request, ServerCallContext context)

Sets the logging service for a specific cluster.

Parameters
TypeNameDescription
SetLoggingServiceRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

SetMaintenancePolicy(SetMaintenancePolicyRequest, ServerCallContext)

public virtual Task<Operation> SetMaintenancePolicy(SetMaintenancePolicyRequest request, ServerCallContext context)

Sets the maintenance policy for a cluster.

Parameters
TypeNameDescription
SetMaintenancePolicyRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

SetMasterAuth(SetMasterAuthRequest, ServerCallContext)

public virtual Task<Operation> SetMasterAuth(SetMasterAuthRequest request, ServerCallContext context)

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

Parameters
TypeNameDescription
SetMasterAuthRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

SetMonitoringService(SetMonitoringServiceRequest, ServerCallContext)

public virtual Task<Operation> SetMonitoringService(SetMonitoringServiceRequest request, ServerCallContext context)

Sets the monitoring service for a specific cluster.

Parameters
TypeNameDescription
SetMonitoringServiceRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

SetNetworkPolicy(SetNetworkPolicyRequest, ServerCallContext)

public virtual Task<Operation> SetNetworkPolicy(SetNetworkPolicyRequest request, ServerCallContext context)

Enables or disables Network Policy for a cluster.

Parameters
TypeNameDescription
SetNetworkPolicyRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

SetNodePoolAutoscaling(SetNodePoolAutoscalingRequest, ServerCallContext)

public virtual Task<Operation> SetNodePoolAutoscaling(SetNodePoolAutoscalingRequest request, ServerCallContext context)

Sets the autoscaling settings for the specified node pool.

Parameters
TypeNameDescription
SetNodePoolAutoscalingRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

SetNodePoolManagement(SetNodePoolManagementRequest, ServerCallContext)

public virtual Task<Operation> SetNodePoolManagement(SetNodePoolManagementRequest request, ServerCallContext context)

Sets the NodeManagement options for a node pool.

Parameters
TypeNameDescription
SetNodePoolManagementRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

SetNodePoolSize(SetNodePoolSizeRequest, ServerCallContext)

public virtual Task<Operation> SetNodePoolSize(SetNodePoolSizeRequest request, ServerCallContext context)

Sets the size for a specific node pool.

Parameters
TypeNameDescription
SetNodePoolSizeRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

StartIPRotation(StartIPRotationRequest, ServerCallContext)

public virtual Task<Operation> StartIPRotation(StartIPRotationRequest request, ServerCallContext context)

Starts master IP rotation.

Parameters
TypeNameDescription
StartIPRotationRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateCluster(UpdateClusterRequest, ServerCallContext)

public virtual Task<Operation> UpdateCluster(UpdateClusterRequest request, ServerCallContext context)

Updates the settings of a specific cluster.

Parameters
TypeNameDescription
UpdateClusterRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateMaster(UpdateMasterRequest, ServerCallContext)

public virtual Task<Operation> UpdateMaster(UpdateMasterRequest request, ServerCallContext context)

Updates the master for a specific cluster.

Parameters
TypeNameDescription
UpdateMasterRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateNodePool(UpdateNodePoolRequest, ServerCallContext)

public virtual Task<Operation> UpdateNodePool(UpdateNodePoolRequest request, ServerCallContext context)

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

Parameters
TypeNameDescription
UpdateNodePoolRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).