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
 
  • Method Details

    • build

      protected ClusterManagerGrpc.ClusterManagerBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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

      public Cluster getCluster(GetClusterRequest request) throws io.grpc.StatusException
       Gets the details for a specific cluster.
       
      Throws:
      io.grpc.StatusException
    • createCluster

      public Operation createCluster(CreateClusterRequest request) throws io.grpc.StatusException
       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

      public Operation updateCluster(UpdateClusterRequest request) throws io.grpc.StatusException
       Updates the settings for a specific cluster.
       
      Throws:
      io.grpc.StatusException
    • updateNodePool

      public Operation updateNodePool(UpdateNodePoolRequest request) throws io.grpc.StatusException
       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

      public Operation setLoggingService(SetLoggingServiceRequest request) throws io.grpc.StatusException
       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

      public Operation setAddonsConfig(SetAddonsConfigRequest request) throws io.grpc.StatusException
       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

      public Operation updateMaster(UpdateMasterRequest request) throws io.grpc.StatusException
       Updates the master for a specific cluster.
       
      Throws:
      io.grpc.StatusException
    • setMasterAuth

      public Operation setMasterAuth(SetMasterAuthRequest request) throws io.grpc.StatusException
       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

      public Operation deleteCluster(DeleteClusterRequest request) throws io.grpc.StatusException
       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

      public Operation getOperation(GetOperationRequest request) throws io.grpc.StatusException
       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

      public ServerConfig getServerConfig(GetServerConfigRequest request) throws io.grpc.StatusException
       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

      public NodePool getNodePool(GetNodePoolRequest request) throws io.grpc.StatusException
       Retrieves the requested node pool.
       
      Throws:
      io.grpc.StatusException
    • createNodePool

      public Operation createNodePool(CreateNodePoolRequest request) throws io.grpc.StatusException
       Creates a node pool for a cluster.
       
      Throws:
      io.grpc.StatusException
    • deleteNodePool

      public Operation deleteNodePool(DeleteNodePoolRequest request) throws io.grpc.StatusException
       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

      public Operation setLabels(SetLabelsRequest request) throws io.grpc.StatusException
       Sets labels on a cluster.
       
      Throws:
      io.grpc.StatusException
    • setLegacyAbac

      public Operation setLegacyAbac(SetLegacyAbacRequest request) throws io.grpc.StatusException
       Enables or disables the ABAC authorization mechanism on a cluster.
       
      Throws:
      io.grpc.StatusException
    • startIPRotation

      public Operation startIPRotation(StartIPRotationRequest request) throws io.grpc.StatusException
       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

      public Operation setNodePoolSize(SetNodePoolSizeRequest request) throws io.grpc.StatusException
       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

      public Operation setNetworkPolicy(SetNetworkPolicyRequest request) throws io.grpc.StatusException
       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