Package com.google.container.v1
Class ClusterManagerGrpc.ClusterManagerBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<ClusterManagerGrpc.ClusterManagerBlockingStub>
-
- com.google.container.v1.ClusterManagerGrpc.ClusterManagerBlockingStub
-
- Enclosing class:
- ClusterManagerGrpc
public static final class ClusterManagerGrpc.ClusterManagerBlockingStub extends io.grpc.stub.AbstractBlockingStub<ClusterManagerGrpc.ClusterManagerBlockingStub>
A stub to allow clients to do synchronous rpc calls to service ClusterManager.Google Kubernetes Engine Cluster Manager v1
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected ClusterManagerGrpc.ClusterManagerBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.protobuf.Empty
cancelOperation(CancelOperationRequest request)
Cancels the specified operation.CheckAutopilotCompatibilityResponse
checkAutopilotCompatibility(CheckAutopilotCompatibilityRequest request)
Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.Operation
completeIPRotation(CompleteIPRotationRequest request)
Completes master IP rotation.com.google.protobuf.Empty
completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request)
CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.Operation
createCluster(CreateClusterRequest request)
Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.Operation
createNodePool(CreateNodePoolRequest request)
Creates a node pool for a cluster.Operation
deleteCluster(DeleteClusterRequest request)
Deletes the cluster, including the Kubernetes endpoint and all worker nodes.Operation
deleteNodePool(DeleteNodePoolRequest request)
Deletes a node pool from a cluster.Cluster
getCluster(GetClusterRequest request)
Gets the details of a specific cluster.GetJSONWebKeysResponse
getJSONWebKeys(GetJSONWebKeysRequest request)
Gets the public component of the cluster signing keys in JSON Web Key format.NodePool
getNodePool(GetNodePoolRequest request)
Retrieves the requested node pool.Operation
getOperation(GetOperationRequest request)
Gets the specified operation.ServerConfig
getServerConfig(GetServerConfigRequest request)
Returns configuration info about the Google Kubernetes Engine service.ListClustersResponse
listClusters(ListClustersRequest request)
Lists all clusters owned by a project in either the specified zone or all zones.ListNodePoolsResponse
listNodePools(ListNodePoolsRequest request)
Lists the node pools for a cluster.ListOperationsResponse
listOperations(ListOperationsRequest request)
Lists all operations in a project in a specific zone or all zones.ListUsableSubnetworksResponse
listUsableSubnetworks(ListUsableSubnetworksRequest request)
Lists subnetworks that are usable for creating clusters in a project.Operation
rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request)
Rolls back a previously Aborted or Failed NodePool upgrade.Operation
setAddonsConfig(SetAddonsConfigRequest request)
Sets the addons for a specific cluster.Operation
setLabels(SetLabelsRequest request)
Sets labels on a cluster.Operation
setLegacyAbac(SetLegacyAbacRequest request)
Enables or disables the ABAC authorization mechanism on a cluster.Operation
setLocations(SetLocationsRequest request)
Deprecated.Operation
setLoggingService(SetLoggingServiceRequest request)
Sets the logging service for a specific cluster.Operation
setMaintenancePolicy(SetMaintenancePolicyRequest request)
Sets the maintenance policy for a cluster.Operation
setMasterAuth(SetMasterAuthRequest request)
Sets master auth materials.Operation
setMonitoringService(SetMonitoringServiceRequest request)
Sets the monitoring service for a specific cluster.Operation
setNetworkPolicy(SetNetworkPolicyRequest request)
Enables or disables Network Policy for a cluster.Operation
setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request)
Sets the autoscaling settings for the specified node pool.Operation
setNodePoolManagement(SetNodePoolManagementRequest request)
Sets the NodeManagement options for a node pool.Operation
setNodePoolSize(SetNodePoolSizeRequest request)
Sets the size for a specific node pool.Operation
startIPRotation(StartIPRotationRequest request)
Starts master IP rotation.Operation
updateCluster(UpdateClusterRequest request)
Updates the settings of a specific cluster.Operation
updateMaster(UpdateMasterRequest request)
Updates the master for a specific cluster.Operation
updateNodePool(UpdateNodePoolRequest request)
Updates the version and/or image type for the specified node pool.
-
-
-
Method Detail
-
build
protected ClusterManagerGrpc.ClusterManagerBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ClusterManagerGrpc.ClusterManagerBlockingStub>
-
listClusters
public ListClustersResponse listClusters(ListClustersRequest request)
Lists all clusters owned by a project in either the specified zone or all zones.
-
getCluster
public Cluster getCluster(GetClusterRequest request)
Gets the details of a specific cluster.
-
createCluster
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](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). 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.
-
updateCluster
public Operation updateCluster(UpdateClusterRequest request)
Updates the settings of a specific cluster.
-
updateNodePool
public Operation updateNodePool(UpdateNodePoolRequest request)
Updates the version and/or image type for the specified node pool.
-
setNodePoolAutoscaling
public Operation setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request)
Sets the autoscaling settings for the specified node pool.
-
setLoggingService
public Operation setLoggingService(SetLoggingServiceRequest request)
Sets the logging service for a specific cluster.
-
setMonitoringService
public Operation setMonitoringService(SetMonitoringServiceRequest request)
Sets the monitoring service for a specific cluster.
-
setAddonsConfig
public Operation setAddonsConfig(SetAddonsConfigRequest request)
Sets the addons for a specific cluster.
-
setLocations
@Deprecated public Operation setLocations(SetLocationsRequest request)
Deprecated.Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update) instead.
-
updateMaster
public Operation updateMaster(UpdateMasterRequest request)
Updates the master for a specific cluster.
-
setMasterAuth
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.
-
deleteCluster
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.
-
listOperations
public ListOperationsResponse listOperations(ListOperationsRequest request)
Lists all operations in a project in a specific zone or all zones.
-
getOperation
public Operation getOperation(GetOperationRequest request)
Gets the specified operation.
-
cancelOperation
public com.google.protobuf.Empty cancelOperation(CancelOperationRequest request)
Cancels the specified operation.
-
getServerConfig
public ServerConfig getServerConfig(GetServerConfigRequest request)
Returns configuration info about the Google Kubernetes Engine service.
-
getJSONWebKeys
public GetJSONWebKeysResponse getJSONWebKeys(GetJSONWebKeysRequest request)
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.
-
listNodePools
public ListNodePoolsResponse listNodePools(ListNodePoolsRequest request)
Lists the node pools for a cluster.
-
getNodePool
public NodePool getNodePool(GetNodePoolRequest request)
Retrieves the requested node pool.
-
createNodePool
public Operation createNodePool(CreateNodePoolRequest request)
Creates a node pool for a cluster.
-
deleteNodePool
public Operation deleteNodePool(DeleteNodePoolRequest request)
Deletes a node pool from a cluster.
-
completeNodePoolUpgrade
public com.google.protobuf.Empty completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request)
CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.
-
rollbackNodePoolUpgrade
public Operation rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request)
Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.
-
setNodePoolManagement
public Operation setNodePoolManagement(SetNodePoolManagementRequest request)
Sets the NodeManagement options for a node pool.
-
setLabels
public Operation setLabels(SetLabelsRequest request)
Sets labels on a cluster.
-
setLegacyAbac
public Operation setLegacyAbac(SetLegacyAbacRequest request)
Enables or disables the ABAC authorization mechanism on a cluster.
-
startIPRotation
public Operation startIPRotation(StartIPRotationRequest request)
Starts master IP rotation.
-
completeIPRotation
public Operation completeIPRotation(CompleteIPRotationRequest request)
Completes master IP rotation.
-
setNodePoolSize
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][google.container.v1.NodePool.locations].
-
setNetworkPolicy
public Operation setNetworkPolicy(SetNetworkPolicyRequest request)
Enables or disables Network Policy for a cluster.
-
setMaintenancePolicy
public Operation setMaintenancePolicy(SetMaintenancePolicyRequest request)
Sets the maintenance policy for a cluster.
-
listUsableSubnetworks
public ListUsableSubnetworksResponse listUsableSubnetworks(ListUsableSubnetworksRequest request)
Lists subnetworks that are usable for creating clusters in a project.
-
checkAutopilotCompatibility
public CheckAutopilotCompatibilityResponse checkAutopilotCompatibility(CheckAutopilotCompatibilityRequest request)
Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.
-
-