Interface ClusterManagerGrpc.AsyncService (2.45.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
Name Description
request CancelOperationRequest
responseObserver io.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
Name Description
request CheckAutopilotCompatibilityRequest
responseObserver io.grpc.stub.StreamObserver<CheckAutopilotCompatibilityResponse>

completeIPRotation(CompleteIPRotationRequest request, StreamObserver<Operation> responseObserver)

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

Completes master IP rotation.

Parameters
Name Description
request CompleteIPRotationRequest
responseObserver io.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
Name Description
request CompleteNodePoolUpgradeRequest
responseObserver io.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
Name Description
request CreateClusterRequest
responseObserver io.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
Name Description
request CreateNodePoolRequest
responseObserver io.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
Name Description
request DeleteClusterRequest
responseObserver io.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
Name Description
request DeleteNodePoolRequest
responseObserver io.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
Name Description
request GetClusterRequest
responseObserver io.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.

Parameters
Name Description
request GetJSONWebKeysRequest
responseObserver io.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
Name Description
request GetNodePoolRequest
responseObserver io.grpc.stub.StreamObserver<NodePool>

getOperation(GetOperationRequest request, StreamObserver<Operation> responseObserver)

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

Gets the specified operation.

Parameters
Name Description
request GetOperationRequest
responseObserver io.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
Name Description
request GetServerConfigRequest
responseObserver io.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
Name Description
request ListClustersRequest
responseObserver io.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
Name Description
request ListLocationsRequest
responseObserver io.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
Name Description
request ListNodePoolsRequest
responseObserver io.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
Name Description
request ListOperationsRequest
responseObserver io.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
Name Description
request ListUsableSubnetworksRequest
responseObserver io.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
Name Description
request RollbackNodePoolUpgradeRequest
responseObserver io.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
Name Description
request SetAddonsConfigRequest
responseObserver io.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
Name Description
request SetLabelsRequest
responseObserver io.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
Name Description
request SetLegacyAbacRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

setLocations(SetLocationsRequest request, StreamObserver<Operation> responseObserver) (deprecated)

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

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

Parameters
Name Description
request SetLocationsRequest
responseObserver io.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
Name Description
request SetLoggingServiceRequest
responseObserver io.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
Name Description
request SetMaintenancePolicyRequest
responseObserver io.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
Name Description
request SetMasterAuthRequest
responseObserver io.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
Name Description
request SetMonitoringServiceRequest
responseObserver io.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
Name Description
request SetNetworkPolicyRequest
responseObserver io.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
Name Description
request SetNodePoolAutoscalingRequest
responseObserver io.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
Name Description
request SetNodePoolManagementRequest
responseObserver io.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
Name Description
request SetNodePoolSizeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

startIPRotation(StartIPRotationRequest request, StreamObserver<Operation> responseObserver)

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

Starts master IP rotation.

Parameters
Name Description
request StartIPRotationRequest
responseObserver io.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
Name Description
request UpdateClusterRequest
responseObserver io.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
Name Description
request UpdateMasterRequest
responseObserver io.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
Name Description
request UpdateNodePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>