Package com.google.container.v1beta1
Class ClusterManagerGrpc.ClusterManagerBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ClusterManagerGrpc.ClusterManagerBlockingV2Stub>
com.google.container.v1beta1.ClusterManagerGrpc.ClusterManagerBlockingV2Stub
- Enclosing class:
- ClusterManagerGrpc
public static final class ClusterManagerGrpc.ClusterManagerBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<ClusterManagerGrpc.ClusterManagerBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service ClusterManager.
Google Kubernetes Engine Cluster Manager v1beta1
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.protobuf.EmptycancelOperation(CancelOperationRequest request) Cancels the specified operation.Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing the step two upgrade for a specific cluster.Completes master IP rotation.com.google.protobuf.EmptyCompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.createCluster(CreateClusterRequest request) Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.createNodePool(CreateNodePoolRequest request) Creates a node pool for a cluster.deleteCluster(DeleteClusterRequest request) Deletes the cluster, including the Kubernetes endpoint and all worker nodes.deleteNodePool(DeleteNodePoolRequest request) Deletes a node pool from a cluster.Fetch upgrade information of a specific cluster.Fetch upgrade information of a specific nodepool.getCluster(GetClusterRequest request) Gets the details for a specific cluster.getJSONWebKeys(GetJSONWebKeysRequest request) Gets the public component of the cluster signing keys in JSON Web Key format.getNodePool(GetNodePoolRequest request) Retrieves the requested node pool.getOperation(GetOperationRequest request) Gets the specified operation.getServerConfig(GetServerConfigRequest request) Returns configuration info about the Google Kubernetes Engine service.listClusters(ListClustersRequest request) Lists all clusters owned by a project in either the specified zone or all zones.listLocations(ListLocationsRequest request) Fetches locations that offer Google Kubernetes Engine.listNodePools(ListNodePoolsRequest request) Lists the node pools for a cluster.listOperations(ListOperationsRequest request) Lists all operations in a project in the specified zone or all zones.Lists subnetworks that can be used for creating clusters in a project.Rolls back a previously Aborted or Failed NodePool upgrade.setAddonsConfig(SetAddonsConfigRequest request) Sets the addons for a specific cluster.setLabels(SetLabelsRequest request) Sets labels on a cluster.setLegacyAbac(SetLegacyAbacRequest request) Enables or disables the ABAC authorization mechanism on a cluster.setLocations(SetLocationsRequest request) Deprecated.Sets the logging service for a specific cluster.Sets the maintenance policy for a cluster.setMasterAuth(SetMasterAuthRequest request) Sets master auth materials.Sets the monitoring service for a specific cluster.setNetworkPolicy(SetNetworkPolicyRequest request) Enables or disables Network Policy for a cluster.Sets the autoscaling settings of a specific node pool.Sets the NodeManagement options for a node pool.setNodePoolSize(SetNodePoolSizeRequest request) SetNodePoolSizeRequest sets the size of a node pool.startIPRotation(StartIPRotationRequest request) Starts master IP rotation.updateCluster(UpdateClusterRequest request) Updates the settings for a specific cluster.updateMaster(UpdateMasterRequest request) Updates the master for a specific cluster.updateNodePool(UpdateNodePoolRequest request) Updates the version and/or image type of a specific node pool.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ClusterManagerGrpc.ClusterManagerBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ClusterManagerGrpc.ClusterManagerBlockingV2Stub>
-
listClusters
public ListClustersResponse listClusters(ListClustersRequest request) throws io.grpc.StatusException Lists all clusters owned by a project in either the specified zone or all zones.
- Throws:
io.grpc.StatusException
-
getCluster
Gets the details for a specific cluster.
- Throws:
io.grpc.StatusException
-
createCluster
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.
- Throws:
io.grpc.StatusException
-
updateCluster
Updates the settings for a specific cluster.
- Throws:
io.grpc.StatusException
-
updateNodePool
Updates the version and/or image type of a specific node pool.
- Throws:
io.grpc.StatusException
-
setNodePoolAutoscaling
public Operation setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request) throws io.grpc.StatusException Sets the autoscaling settings of a specific node pool.
- Throws:
io.grpc.StatusException
-
setLoggingService
Sets the logging service for a specific cluster.
- Throws:
io.grpc.StatusException
-
setMonitoringService
public Operation setMonitoringService(SetMonitoringServiceRequest request) throws io.grpc.StatusException Sets the monitoring service for a specific cluster.
- Throws:
io.grpc.StatusException
-
setAddonsConfig
Sets the addons for a specific cluster.
- Throws:
io.grpc.StatusException
-
setLocations
@Deprecated public Operation setLocations(SetLocationsRequest request) throws io.grpc.StatusException Deprecated.Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update) instead.
- Throws:
io.grpc.StatusException
-
updateMaster
Updates the master for a specific cluster.
- Throws:
io.grpc.StatusException
-
setMasterAuth
Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.
- Throws:
io.grpc.StatusException
-
deleteCluster
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.
- Throws:
io.grpc.StatusException
-
listOperations
public ListOperationsResponse listOperations(ListOperationsRequest request) throws io.grpc.StatusException Lists all operations in a project in the specified zone or all zones.
- Throws:
io.grpc.StatusException
-
getOperation
Gets the specified operation.
- Throws:
io.grpc.StatusException
-
cancelOperation
public com.google.protobuf.Empty cancelOperation(CancelOperationRequest request) throws io.grpc.StatusException Cancels the specified operation.
- Throws:
io.grpc.StatusException
-
getServerConfig
Returns configuration info about the Google Kubernetes Engine service.
- Throws:
io.grpc.StatusException
-
getJSONWebKeys
public GetJSONWebKeysResponse getJSONWebKeys(GetJSONWebKeysRequest request) throws io.grpc.StatusException Gets the public component of the cluster signing keys in JSON Web Key format.
- Throws:
io.grpc.StatusException
-
listNodePools
public ListNodePoolsResponse listNodePools(ListNodePoolsRequest request) throws io.grpc.StatusException Lists the node pools for a cluster.
- Throws:
io.grpc.StatusException
-
getNodePool
Retrieves the requested node pool.
- Throws:
io.grpc.StatusException
-
createNodePool
Creates a node pool for a cluster.
- Throws:
io.grpc.StatusException
-
deleteNodePool
Deletes a node pool from a cluster.
- Throws:
io.grpc.StatusException
-
completeNodePoolUpgrade
public com.google.protobuf.Empty completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request) throws io.grpc.StatusException CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.
- Throws:
io.grpc.StatusException
-
rollbackNodePoolUpgrade
public Operation rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request) throws io.grpc.StatusException Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.
- Throws:
io.grpc.StatusException
-
setNodePoolManagement
public Operation setNodePoolManagement(SetNodePoolManagementRequest request) throws io.grpc.StatusException Sets the NodeManagement options for a node pool.
- Throws:
io.grpc.StatusException
-
setLabels
Sets labels on a cluster.
- Throws:
io.grpc.StatusException
-
setLegacyAbac
Enables or disables the ABAC authorization mechanism on a cluster.
- Throws:
io.grpc.StatusException
-
startIPRotation
Starts master IP rotation.
- Throws:
io.grpc.StatusException
-
completeIPRotation
public Operation completeIPRotation(CompleteIPRotationRequest request) throws io.grpc.StatusException Completes master IP rotation.
- Throws:
io.grpc.StatusException
-
setNodePoolSize
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][google.container.v1beta1.NodePool.locations].
- Throws:
io.grpc.StatusException
-
setNetworkPolicy
Enables or disables Network Policy for a cluster.
- Throws:
io.grpc.StatusException
-
setMaintenancePolicy
public Operation setMaintenancePolicy(SetMaintenancePolicyRequest request) throws io.grpc.StatusException Sets the maintenance policy for a cluster.
- Throws:
io.grpc.StatusException
-
listUsableSubnetworks
public ListUsableSubnetworksResponse listUsableSubnetworks(ListUsableSubnetworksRequest request) throws io.grpc.StatusException Lists subnetworks that can be used for creating clusters in a project.
- Throws:
io.grpc.StatusException
-
checkAutopilotCompatibility
public CheckAutopilotCompatibilityResponse checkAutopilotCompatibility(CheckAutopilotCompatibilityRequest request) throws io.grpc.StatusException Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.
- Throws:
io.grpc.StatusException
-
listLocations
public ListLocationsResponse listLocations(ListLocationsRequest request) throws io.grpc.StatusException Fetches locations that offer Google Kubernetes Engine.
- Throws:
io.grpc.StatusException
-
fetchClusterUpgradeInfo
public ClusterUpgradeInfo fetchClusterUpgradeInfo(FetchClusterUpgradeInfoRequest request) throws io.grpc.StatusException Fetch upgrade information of a specific cluster.
- Throws:
io.grpc.StatusException
-
fetchNodePoolUpgradeInfo
public NodePoolUpgradeInfo fetchNodePoolUpgradeInfo(FetchNodePoolUpgradeInfoRequest request) throws io.grpc.StatusException Fetch upgrade information of a specific nodepool.
- Throws:
io.grpc.StatusException
-
completeControlPlaneUpgrade
public Operation completeControlPlaneUpgrade(CompleteControlPlaneUpgradeRequest request) throws io.grpc.StatusException CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing the step two upgrade for a specific cluster.
- Throws:
io.grpc.StatusException
-