Interface ClusterManagerGrpc.AsyncService (2.27.0)

public static interface ClusterManagerGrpc.AsyncService

Google Kubernetes Engine Cluster Manager v1beta1

Methods

cancelOperation(CancelOperationRequest request, StreamObserver<Empty> responseObserver)

public default void cancelOperation(CancelOperationRequest request, StreamObserver<Empty> responseObserver)

Cancels the specified operation.

Parameters
NameDescription
requestCancelOperationRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

checkAutopilotCompatibility(CheckAutopilotCompatibilityRequest request, StreamObserver<CheckAutopilotCompatibilityResponse> responseObserver)

public default void checkAutopilotCompatibility(CheckAutopilotCompatibilityRequest request, StreamObserver<CheckAutopilotCompatibilityResponse> responseObserver)

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

Parameters
NameDescription
requestCheckAutopilotCompatibilityRequest
responseObserverio.grpc.stub.StreamObserver<CheckAutopilotCompatibilityResponse>

completeIPRotation(CompleteIPRotationRequest request, StreamObserver<Operation> responseObserver)

public default void completeIPRotation(CompleteIPRotationRequest request, StreamObserver<Operation> responseObserver)

Completes master IP rotation.

Parameters
NameDescription
requestCompleteIPRotationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request, StreamObserver<Empty> responseObserver)

public default void completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request, StreamObserver<Empty> responseObserver)

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

Parameters
NameDescription
requestCompleteNodePoolUpgradeRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

public default void createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

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
responseObserverio.grpc.stub.StreamObserver<Operation>

createNodePool(CreateNodePoolRequest request, StreamObserver<Operation> responseObserver)

public default void createNodePool(CreateNodePoolRequest request, StreamObserver<Operation> responseObserver)

Creates a node pool for a cluster.

Parameters
NameDescription
requestCreateNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

public default void deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

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
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteNodePool(DeleteNodePoolRequest request, StreamObserver<Operation> responseObserver)

public default void deleteNodePool(DeleteNodePoolRequest request, StreamObserver<Operation> responseObserver)

Deletes a node pool from a cluster.

Parameters
NameDescription
requestDeleteNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

public default void getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

Gets the details for a specific cluster.

Parameters
NameDescription
requestGetClusterRequest
responseObserverio.grpc.stub.StreamObserver<Cluster>

getJSONWebKeys(GetJSONWebKeysRequest request, StreamObserver<GetJSONWebKeysResponse> responseObserver)

public default void getJSONWebKeys(GetJSONWebKeysRequest request, StreamObserver<GetJSONWebKeysResponse> responseObserver)

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
NameDescription
requestGetJSONWebKeysRequest
responseObserverio.grpc.stub.StreamObserver<GetJSONWebKeysResponse>

getNodePool(GetNodePoolRequest request, StreamObserver<NodePool> responseObserver)

public default void getNodePool(GetNodePoolRequest request, StreamObserver<NodePool> responseObserver)

Retrieves the requested node pool.

Parameters
NameDescription
requestGetNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<NodePool>

getOperation(GetOperationRequest request, StreamObserver<Operation> responseObserver)

public default void getOperation(GetOperationRequest request, StreamObserver<Operation> responseObserver)

Gets the specified operation.

Parameters
NameDescription
requestGetOperationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getServerConfig(GetServerConfigRequest request, StreamObserver<ServerConfig> responseObserver)

public default void getServerConfig(GetServerConfigRequest request, StreamObserver<ServerConfig> responseObserver)

Returns configuration info about the Google Kubernetes Engine service.

Parameters
NameDescription
requestGetServerConfigRequest
responseObserverio.grpc.stub.StreamObserver<ServerConfig>

listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)

public default void listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)

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

Parameters
NameDescription
requestListClustersRequest
responseObserverio.grpc.stub.StreamObserver<ListClustersResponse>

listLocations(ListLocationsRequest request, StreamObserver<ListLocationsResponse> responseObserver)

public default void listLocations(ListLocationsRequest request, StreamObserver<ListLocationsResponse> responseObserver)

Fetches locations that offer Google Kubernetes Engine.

Parameters
NameDescription
requestListLocationsRequest
responseObserverio.grpc.stub.StreamObserver<ListLocationsResponse>

listNodePools(ListNodePoolsRequest request, StreamObserver<ListNodePoolsResponse> responseObserver)

public default void listNodePools(ListNodePoolsRequest request, StreamObserver<ListNodePoolsResponse> responseObserver)

Lists the node pools for a cluster.

Parameters
NameDescription
requestListNodePoolsRequest
responseObserverio.grpc.stub.StreamObserver<ListNodePoolsResponse>

listOperations(ListOperationsRequest request, StreamObserver<ListOperationsResponse> responseObserver)

public default void listOperations(ListOperationsRequest request, StreamObserver<ListOperationsResponse> responseObserver)

Lists all operations in a project in the specified zone or all zones.

Parameters
NameDescription
requestListOperationsRequest
responseObserverio.grpc.stub.StreamObserver<ListOperationsResponse>

listUsableSubnetworks(ListUsableSubnetworksRequest request, StreamObserver<ListUsableSubnetworksResponse> responseObserver)

public default void listUsableSubnetworks(ListUsableSubnetworksRequest request, StreamObserver<ListUsableSubnetworksResponse> responseObserver)

Lists subnetworks that can be used for creating clusters in a project.

Parameters
NameDescription
requestListUsableSubnetworksRequest
responseObserverio.grpc.stub.StreamObserver<ListUsableSubnetworksResponse>

rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request, StreamObserver<Operation> responseObserver)

public default void rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestRollbackNodePoolUpgradeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setAddonsConfig(SetAddonsConfigRequest request, StreamObserver<Operation> responseObserver)

public default void setAddonsConfig(SetAddonsConfigRequest request, StreamObserver<Operation> responseObserver)

Sets the addons for a specific cluster.

Parameters
NameDescription
requestSetAddonsConfigRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setLabels(SetLabelsRequest request, StreamObserver<Operation> responseObserver)

public default void setLabels(SetLabelsRequest request, StreamObserver<Operation> responseObserver)

Sets labels on a cluster.

Parameters
NameDescription
requestSetLabelsRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setLegacyAbac(SetLegacyAbacRequest request, StreamObserver<Operation> responseObserver)

public default void setLegacyAbac(SetLegacyAbacRequest request, StreamObserver<Operation> responseObserver)

Enables or disables the ABAC authorization mechanism on a cluster.

Parameters
NameDescription
requestSetLegacyAbacRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setLocations(SetLocationsRequest request, StreamObserver<Operation> responseObserver)

public default void setLocations(SetLocationsRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestSetLocationsRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setLoggingService(SetLoggingServiceRequest request, StreamObserver<Operation> responseObserver)

public default void setLoggingService(SetLoggingServiceRequest request, StreamObserver<Operation> responseObserver)

Sets the logging service for a specific cluster.

Parameters
NameDescription
requestSetLoggingServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setMaintenancePolicy(SetMaintenancePolicyRequest request, StreamObserver<Operation> responseObserver)

public default void setMaintenancePolicy(SetMaintenancePolicyRequest request, StreamObserver<Operation> responseObserver)

Sets the maintenance policy for a cluster.

Parameters
NameDescription
requestSetMaintenancePolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setMasterAuth(SetMasterAuthRequest request, StreamObserver<Operation> responseObserver)

public default void setMasterAuth(SetMasterAuthRequest request, StreamObserver<Operation> responseObserver)

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
responseObserverio.grpc.stub.StreamObserver<Operation>

setMonitoringService(SetMonitoringServiceRequest request, StreamObserver<Operation> responseObserver)

public default void setMonitoringService(SetMonitoringServiceRequest request, StreamObserver<Operation> responseObserver)

Sets the monitoring service for a specific cluster.

Parameters
NameDescription
requestSetMonitoringServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setNetworkPolicy(SetNetworkPolicyRequest request, StreamObserver<Operation> responseObserver)

public default void setNetworkPolicy(SetNetworkPolicyRequest request, StreamObserver<Operation> responseObserver)

Enables or disables Network Policy for a cluster.

Parameters
NameDescription
requestSetNetworkPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request, StreamObserver<Operation> responseObserver)

public default void setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request, StreamObserver<Operation> responseObserver)

Sets the autoscaling settings of a specific node pool.

Parameters
NameDescription
requestSetNodePoolAutoscalingRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setNodePoolManagement(SetNodePoolManagementRequest request, StreamObserver<Operation> responseObserver)

public default void setNodePoolManagement(SetNodePoolManagementRequest request, StreamObserver<Operation> responseObserver)

Sets the NodeManagement options for a node pool.

Parameters
NameDescription
requestSetNodePoolManagementRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setNodePoolSize(SetNodePoolSizeRequest request, StreamObserver<Operation> responseObserver)

public default void setNodePoolSize(SetNodePoolSizeRequest request, StreamObserver<Operation> responseObserver)

SetNodePoolSizeRequest sets the size of a node pool. The new size will be used for all replicas, including future replicas created by modifying NodePool.locations.

Parameters
NameDescription
requestSetNodePoolSizeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

startIPRotation(StartIPRotationRequest request, StreamObserver<Operation> responseObserver)

public default void startIPRotation(StartIPRotationRequest request, StreamObserver<Operation> responseObserver)

Starts master IP rotation.

Parameters
NameDescription
requestStartIPRotationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

public default void updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

Updates the settings for a specific cluster.

Parameters
NameDescription
requestUpdateClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateMaster(UpdateMasterRequest request, StreamObserver<Operation> responseObserver)

public default void updateMaster(UpdateMasterRequest request, StreamObserver<Operation> responseObserver)

Updates the master for a specific cluster.

Parameters
NameDescription
requestUpdateMasterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateNodePool(UpdateNodePoolRequest request, StreamObserver<Operation> responseObserver)

public default void updateNodePool(UpdateNodePoolRequest request, StreamObserver<Operation> responseObserver)

Updates the version and/or image type of a specific node pool.

Parameters
NameDescription
requestUpdateNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>