Class ClusterManagerGrpc.ClusterManagerStub (2.55.0)

public static final class ClusterManagerGrpc.ClusterManagerStub extends AbstractAsyncStub<ClusterManagerGrpc.ClusterManagerStub>

A stub to allow clients to do asynchronous rpc calls to service ClusterManager.

Google Kubernetes Engine Cluster Manager v1

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ClusterManagerGrpc.ClusterManagerStub

Methods

build(Channel channel, CallOptions callOptions)

protected ClusterManagerGrpc.ClusterManagerStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ClusterManagerGrpc.ClusterManagerStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

cancelOperation(CancelOperationRequest request, StreamObserver<Empty> responseObserver)

public 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 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 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 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 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 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 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 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 void getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

Gets the details of a specific cluster.

Parameters
Name Description
request GetClusterRequest
responseObserver io.grpc.stub.StreamObserver<Cluster>

getJSONWebKeys(GetJSONWebKeysRequest request, StreamObserver<GetJSONWebKeysResponse> responseObserver)

public 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 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 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 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 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>

listNodePools(ListNodePoolsRequest request, StreamObserver<ListNodePoolsResponse> responseObserver)

public 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 void listOperations(ListOperationsRequest request, StreamObserver<ListOperationsResponse> responseObserver)

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

Parameters
Name Description
request ListOperationsRequest
responseObserver io.grpc.stub.StreamObserver<ListOperationsResponse>

listUsableSubnetworks(ListUsableSubnetworksRequest request, StreamObserver<ListUsableSubnetworksResponse> responseObserver)

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

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

Parameters
Name Description
request ListUsableSubnetworksRequest
responseObserver io.grpc.stub.StreamObserver<ListUsableSubnetworksResponse>

rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request, StreamObserver<Operation> responseObserver)

public 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 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 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 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 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 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 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 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 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 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 void setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request, StreamObserver<Operation> responseObserver)

Sets the autoscaling settings for the specified node pool.

Parameters
Name Description
request SetNodePoolAutoscalingRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

setNodePoolManagement(SetNodePoolManagementRequest request, StreamObserver<Operation> responseObserver)

public 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 void setNodePoolSize(SetNodePoolSizeRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
Name Description
request SetNodePoolSizeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

startIPRotation(StartIPRotationRequest request, StreamObserver<Operation> responseObserver)

public 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 void updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

Updates the settings of a specific cluster.

Parameters
Name Description
request UpdateClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateMaster(UpdateMasterRequest request, StreamObserver<Operation> responseObserver)

public 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 void updateNodePool(UpdateNodePoolRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request UpdateNodePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>