Class ClusterManagerGrpc.ClusterManagerFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ClusterManagerGrpc.ClusterManagerFutureStub>
com.google.container.v1beta1.ClusterManagerGrpc.ClusterManagerFutureStub
Enclosing class:
ClusterManagerGrpc

public static final class ClusterManagerGrpc.ClusterManagerFutureStub extends io.grpc.stub.AbstractFutureStub<ClusterManagerGrpc.ClusterManagerFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ClusterManager.
 Google Kubernetes Engine Cluster Manager v1beta1
 
  • Method Details

    • build

      protected ClusterManagerGrpc.ClusterManagerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ClusterManagerGrpc.ClusterManagerFutureStub>
    • listClusters

      public com.google.common.util.concurrent.ListenableFuture<ListClustersResponse> listClusters(ListClustersRequest request)
       Lists all clusters owned by a project in either the specified zone or all
       zones.
       
    • getCluster

      public com.google.common.util.concurrent.ListenableFuture<Cluster> getCluster(GetClusterRequest request)
       Gets the details for a specific cluster.
       
    • createCluster

      public com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<Operation> updateCluster(UpdateClusterRequest request)
       Updates the settings for a specific cluster.
       
    • updateNodePool

      public com.google.common.util.concurrent.ListenableFuture<Operation> updateNodePool(UpdateNodePoolRequest request)
       Updates the version and/or image type of a specific node pool.
       
    • setNodePoolAutoscaling

      public com.google.common.util.concurrent.ListenableFuture<Operation> setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request)
       Sets the autoscaling settings of a specific node pool.
       
    • setLoggingService

      public com.google.common.util.concurrent.ListenableFuture<Operation> setLoggingService(SetLoggingServiceRequest request)
       Sets the logging service for a specific cluster.
       
    • setMonitoringService

      public com.google.common.util.concurrent.ListenableFuture<Operation> setMonitoringService(SetMonitoringServiceRequest request)
       Sets the monitoring service for a specific cluster.
       
    • setAddonsConfig

      public com.google.common.util.concurrent.ListenableFuture<Operation> setAddonsConfig(SetAddonsConfigRequest request)
       Sets the addons for a specific cluster.
       
    • setLocations

      @Deprecated public com.google.common.util.concurrent.ListenableFuture<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/v1beta1/projects.locations.clusters/update)
       instead.
       
    • updateMaster

      public com.google.common.util.concurrent.ListenableFuture<Operation> updateMaster(UpdateMasterRequest request)
       Updates the master for a specific cluster.
       
    • setMasterAuth

      public com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<ListOperationsResponse> listOperations(ListOperationsRequest request)
       Lists all operations in a project in the specified zone or all zones.
       
    • getOperation

      public com.google.common.util.concurrent.ListenableFuture<Operation> getOperation(GetOperationRequest request)
       Gets the specified operation.
       
    • cancelOperation

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> cancelOperation(CancelOperationRequest request)
       Cancels the specified operation.
       
    • getServerConfig

      public com.google.common.util.concurrent.ListenableFuture<ServerConfig> getServerConfig(GetServerConfigRequest request)
       Returns configuration info about the Google Kubernetes Engine service.
       
    • getJSONWebKeys

      public com.google.common.util.concurrent.ListenableFuture<GetJSONWebKeysResponse> getJSONWebKeys(GetJSONWebKeysRequest request)
       Gets the public component of the cluster signing keys in
       JSON Web Key format.
       
    • listNodePools

      public com.google.common.util.concurrent.ListenableFuture<ListNodePoolsResponse> listNodePools(ListNodePoolsRequest request)
       Lists the node pools for a cluster.
       
    • getNodePool

      public com.google.common.util.concurrent.ListenableFuture<NodePool> getNodePool(GetNodePoolRequest request)
       Retrieves the requested node pool.
       
    • createNodePool

      public com.google.common.util.concurrent.ListenableFuture<Operation> createNodePool(CreateNodePoolRequest request)
       Creates a node pool for a cluster.
       
    • deleteNodePool

      public com.google.common.util.concurrent.ListenableFuture<Operation> deleteNodePool(DeleteNodePoolRequest request)
       Deletes a node pool from a cluster.
       
    • completeNodePoolUpgrade

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request)
       CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
       complete.
       
    • rollbackNodePoolUpgrade

      public com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<Operation> setNodePoolManagement(SetNodePoolManagementRequest request)
       Sets the NodeManagement options for a node pool.
       
    • setLabels

      public com.google.common.util.concurrent.ListenableFuture<Operation> setLabels(SetLabelsRequest request)
       Sets labels on a cluster.
       
    • setLegacyAbac

      public com.google.common.util.concurrent.ListenableFuture<Operation> setLegacyAbac(SetLegacyAbacRequest request)
       Enables or disables the ABAC authorization mechanism on a cluster.
       
    • startIPRotation

      public com.google.common.util.concurrent.ListenableFuture<Operation> startIPRotation(StartIPRotationRequest request)
       Starts master IP rotation.
       
    • completeIPRotation

      public com.google.common.util.concurrent.ListenableFuture<Operation> completeIPRotation(CompleteIPRotationRequest request)
       Completes master IP rotation.
       
    • setNodePoolSize

      public com.google.common.util.concurrent.ListenableFuture<Operation> setNodePoolSize(SetNodePoolSizeRequest request)
       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].
       
    • setNetworkPolicy

      public com.google.common.util.concurrent.ListenableFuture<Operation> setNetworkPolicy(SetNetworkPolicyRequest request)
       Enables or disables Network Policy for a cluster.
       
    • setMaintenancePolicy

      public com.google.common.util.concurrent.ListenableFuture<Operation> setMaintenancePolicy(SetMaintenancePolicyRequest request)
       Sets the maintenance policy for a cluster.
       
    • listUsableSubnetworks

      public com.google.common.util.concurrent.ListenableFuture<ListUsableSubnetworksResponse> listUsableSubnetworks(ListUsableSubnetworksRequest request)
       Lists subnetworks that can be used for creating clusters in a project.
       
    • checkAutopilotCompatibility

      public com.google.common.util.concurrent.ListenableFuture<CheckAutopilotCompatibilityResponse> checkAutopilotCompatibility(CheckAutopilotCompatibilityRequest request)
       Checks the cluster compatibility with Autopilot mode, and returns a list of
       compatibility issues.
       
    • listLocations

      public com.google.common.util.concurrent.ListenableFuture<ListLocationsResponse> listLocations(ListLocationsRequest request)
       Fetches locations that offer Google Kubernetes Engine.
       
    • fetchClusterUpgradeInfo

      public com.google.common.util.concurrent.ListenableFuture<ClusterUpgradeInfo> fetchClusterUpgradeInfo(FetchClusterUpgradeInfoRequest request)
       Fetch upgrade information of a specific cluster.
       
    • fetchNodePoolUpgradeInfo

      public com.google.common.util.concurrent.ListenableFuture<NodePoolUpgradeInfo> fetchNodePoolUpgradeInfo(FetchNodePoolUpgradeInfoRequest request)
       Fetch upgrade information of a specific nodepool.
       
    • completeControlPlaneUpgrade

      public com.google.common.util.concurrent.ListenableFuture<Operation> completeControlPlaneUpgrade(CompleteControlPlaneUpgradeRequest request)
       CompleteControlPlaneUpgrade completes the rollback-safe upgrade by
       performing the step two upgrade for a specific cluster.