Class ClusterManagerGrpc.ClusterManagerBlockingStub (2.49.0)

public static final class ClusterManagerGrpc.ClusterManagerBlockingStub extends AbstractBlockingStub<ClusterManagerGrpc.ClusterManagerBlockingStub>

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

Google Kubernetes Engine Cluster Manager v1

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ClusterManagerGrpc.ClusterManagerBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

cancelOperation(CancelOperationRequest request)

public Empty cancelOperation(CancelOperationRequest request)

Cancels the specified operation.

Parameter
Name Description
request CancelOperationRequest
Returns
Type Description
Empty

checkAutopilotCompatibility(CheckAutopilotCompatibilityRequest request)

public CheckAutopilotCompatibilityResponse checkAutopilotCompatibility(CheckAutopilotCompatibilityRequest request)

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

Parameter
Name Description
request CheckAutopilotCompatibilityRequest
Returns
Type Description
CheckAutopilotCompatibilityResponse

completeIPRotation(CompleteIPRotationRequest request)

public Operation completeIPRotation(CompleteIPRotationRequest request)

Completes master IP rotation.

Parameter
Name Description
request CompleteIPRotationRequest
Returns
Type Description
Operation

completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request)

public Empty completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request)

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

Parameter
Name Description
request CompleteNodePoolUpgradeRequest
Returns
Type Description
Empty

createCluster(CreateClusterRequest request)

public Operation createCluster(CreateClusterRequest request)

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.

Parameter
Name Description
request CreateClusterRequest
Returns
Type Description
Operation

createNodePool(CreateNodePoolRequest request)

public Operation createNodePool(CreateNodePoolRequest request)

Creates a node pool for a cluster.

Parameter
Name Description
request CreateNodePoolRequest
Returns
Type Description
Operation

deleteCluster(DeleteClusterRequest request)

public Operation deleteCluster(DeleteClusterRequest request)

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.

Parameter
Name Description
request DeleteClusterRequest
Returns
Type Description
Operation

deleteNodePool(DeleteNodePoolRequest request)

public Operation deleteNodePool(DeleteNodePoolRequest request)

Deletes a node pool from a cluster.

Parameter
Name Description
request DeleteNodePoolRequest
Returns
Type Description
Operation

getCluster(GetClusterRequest request)

public Cluster getCluster(GetClusterRequest request)

Gets the details of a specific cluster.

Parameter
Name Description
request GetClusterRequest
Returns
Type Description
Cluster

getJSONWebKeys(GetJSONWebKeysRequest request)

public GetJSONWebKeysResponse getJSONWebKeys(GetJSONWebKeysRequest request)

Gets the public component of the cluster signing keys in JSON Web Key format.

Parameter
Name Description
request GetJSONWebKeysRequest
Returns
Type Description
GetJSONWebKeysResponse

getNodePool(GetNodePoolRequest request)

public NodePool getNodePool(GetNodePoolRequest request)

Retrieves the requested node pool.

Parameter
Name Description
request GetNodePoolRequest
Returns
Type Description
NodePool

getOperation(GetOperationRequest request)

public Operation getOperation(GetOperationRequest request)

Gets the specified operation.

Parameter
Name Description
request GetOperationRequest
Returns
Type Description
Operation

getServerConfig(GetServerConfigRequest request)

public ServerConfig getServerConfig(GetServerConfigRequest request)

Returns configuration info about the Google Kubernetes Engine service.

Parameter
Name Description
request GetServerConfigRequest
Returns
Type Description
ServerConfig

listClusters(ListClustersRequest request)

public ListClustersResponse listClusters(ListClustersRequest request)

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

Parameter
Name Description
request ListClustersRequest
Returns
Type Description
ListClustersResponse

listNodePools(ListNodePoolsRequest request)

public ListNodePoolsResponse listNodePools(ListNodePoolsRequest request)

Lists the node pools for a cluster.

Parameter
Name Description
request ListNodePoolsRequest
Returns
Type Description
ListNodePoolsResponse

listOperations(ListOperationsRequest request)

public ListOperationsResponse listOperations(ListOperationsRequest request)

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

Parameter
Name Description
request ListOperationsRequest
Returns
Type Description
ListOperationsResponse

listUsableSubnetworks(ListUsableSubnetworksRequest request)

public ListUsableSubnetworksResponse listUsableSubnetworks(ListUsableSubnetworksRequest request)

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

Parameter
Name Description
request ListUsableSubnetworksRequest
Returns
Type Description
ListUsableSubnetworksResponse

rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request)

public Operation rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request)

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

Parameter
Name Description
request RollbackNodePoolUpgradeRequest
Returns
Type Description
Operation

setAddonsConfig(SetAddonsConfigRequest request)

public Operation setAddonsConfig(SetAddonsConfigRequest request)

Sets the addons for a specific cluster.

Parameter
Name Description
request SetAddonsConfigRequest
Returns
Type Description
Operation

setLabels(SetLabelsRequest request)

public Operation setLabels(SetLabelsRequest request)

Sets labels on a cluster.

Parameter
Name Description
request SetLabelsRequest
Returns
Type Description
Operation

setLegacyAbac(SetLegacyAbacRequest request)

public Operation setLegacyAbac(SetLegacyAbacRequest request)

Enables or disables the ABAC authorization mechanism on a cluster.

Parameter
Name Description
request SetLegacyAbacRequest
Returns
Type Description
Operation

setLocations(SetLocationsRequest request) (deprecated)

public Operation setLocations(SetLocationsRequest request)

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

Parameter
Name Description
request SetLocationsRequest
Returns
Type Description
Operation

setLoggingService(SetLoggingServiceRequest request)

public Operation setLoggingService(SetLoggingServiceRequest request)

Sets the logging service for a specific cluster.

Parameter
Name Description
request SetLoggingServiceRequest
Returns
Type Description
Operation

setMaintenancePolicy(SetMaintenancePolicyRequest request)

public Operation setMaintenancePolicy(SetMaintenancePolicyRequest request)

Sets the maintenance policy for a cluster.

Parameter
Name Description
request SetMaintenancePolicyRequest
Returns
Type Description
Operation

setMasterAuth(SetMasterAuthRequest request)

public Operation setMasterAuth(SetMasterAuthRequest request)

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

Parameter
Name Description
request SetMasterAuthRequest
Returns
Type Description
Operation

setMonitoringService(SetMonitoringServiceRequest request)

public Operation setMonitoringService(SetMonitoringServiceRequest request)

Sets the monitoring service for a specific cluster.

Parameter
Name Description
request SetMonitoringServiceRequest
Returns
Type Description
Operation

setNetworkPolicy(SetNetworkPolicyRequest request)

public Operation setNetworkPolicy(SetNetworkPolicyRequest request)

Enables or disables Network Policy for a cluster.

Parameter
Name Description
request SetNetworkPolicyRequest
Returns
Type Description
Operation

setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request)

public Operation setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request)

Sets the autoscaling settings for the specified node pool.

Parameter
Name Description
request SetNodePoolAutoscalingRequest
Returns
Type Description
Operation

setNodePoolManagement(SetNodePoolManagementRequest request)

public Operation setNodePoolManagement(SetNodePoolManagementRequest request)

Sets the NodeManagement options for a node pool.

Parameter
Name Description
request SetNodePoolManagementRequest
Returns
Type Description
Operation

setNodePoolSize(SetNodePoolSizeRequest request)

public Operation setNodePoolSize(SetNodePoolSizeRequest request)

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.

Parameter
Name Description
request SetNodePoolSizeRequest
Returns
Type Description
Operation

startIPRotation(StartIPRotationRequest request)

public Operation startIPRotation(StartIPRotationRequest request)

Starts master IP rotation.

Parameter
Name Description
request StartIPRotationRequest
Returns
Type Description
Operation

updateCluster(UpdateClusterRequest request)

public Operation updateCluster(UpdateClusterRequest request)

Updates the settings of a specific cluster.

Parameter
Name Description
request UpdateClusterRequest
Returns
Type Description
Operation

updateMaster(UpdateMasterRequest request)

public Operation updateMaster(UpdateMasterRequest request)

Updates the master for a specific cluster.

Parameter
Name Description
request UpdateMasterRequest
Returns
Type Description
Operation

updateNodePool(UpdateNodePoolRequest request)

public Operation updateNodePool(UpdateNodePoolRequest request)

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

Parameter
Name Description
request UpdateNodePoolRequest
Returns
Type Description
Operation