Class BigtableInstanceAdminGrpc.BigtableInstanceAdminFutureStub

  • Enclosing class:
    BigtableInstanceAdminGrpc

    public static final class BigtableInstanceAdminGrpc.BigtableInstanceAdminFutureStub
    extends io.grpc.stub.AbstractFutureStub<BigtableInstanceAdminGrpc.BigtableInstanceAdminFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service BigtableInstanceAdmin.
     Service for creating, configuring, and deleting Cloud Bigtable Instances and
     Clusters. Provides access to the Instance and Cluster schemas only, not the
     tables' metadata or data stored in those tables.
     
    • Method Detail

      • createInstance

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createInstance​(CreateInstanceRequest request)
         Create an instance within a project.
         Note that exactly one of Cluster.serve_nodes and
         Cluster.cluster_config.cluster_autoscaling_config can be set. If
         serve_nodes is set to non-zero, then the cluster is manually scaled. If
         cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
         enabled.
         
      • getInstance

        public com.google.common.util.concurrent.ListenableFuture<Instance> getInstance​(GetInstanceRequest request)
         Gets information about an instance.
         
      • updateInstance

        public com.google.common.util.concurrent.ListenableFuture<Instance> updateInstance​(Instance request)
         Updates an instance within a project. This method updates only the display
         name and type for an Instance. To update other Instance properties, such as
         labels, use PartialUpdateInstance.
         
      • partialUpdateInstance

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> partialUpdateInstance​(PartialUpdateInstanceRequest request)
         Partially updates an instance within a project. This method can modify all
         fields of an Instance and is the preferred way to update an Instance.
         
      • deleteInstance

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteInstance​(DeleteInstanceRequest request)
         Delete an instance from a project.
         
      • createCluster

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createCluster​(CreateClusterRequest request)
         Creates a cluster within an instance.
         Note that exactly one of Cluster.serve_nodes and
         Cluster.cluster_config.cluster_autoscaling_config can be set. If
         serve_nodes is set to non-zero, then the cluster is manually scaled. If
         cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
         enabled.
         
      • getCluster

        public com.google.common.util.concurrent.ListenableFuture<Cluster> getCluster​(GetClusterRequest request)
         Gets information about a cluster.
         
      • updateCluster

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateCluster​(Cluster request)
         Updates a cluster within an instance.
         Note that UpdateCluster does not support updating
         cluster_config.cluster_autoscaling_config. In order to update it, you
         must use PartialUpdateCluster.
         
      • partialUpdateCluster

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> partialUpdateCluster​(PartialUpdateClusterRequest request)
         Partially updates a cluster within a project. This method is the preferred
         way to update a Cluster.
         To enable and update autoscaling, set
         cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
         serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
         are ignored. Note that an update cannot simultaneously set serve_nodes to
         non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
         also specify both in the update_mask.
         To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
         and explicitly set a serve_node count via the update_mask.
         
      • deleteCluster

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteCluster​(DeleteClusterRequest request)
         Deletes a cluster from an instance.
         
      • createAppProfile

        public com.google.common.util.concurrent.ListenableFuture<AppProfile> createAppProfile​(CreateAppProfileRequest request)
         Creates an app profile within an instance.
         
      • getAppProfile

        public com.google.common.util.concurrent.ListenableFuture<AppProfile> getAppProfile​(GetAppProfileRequest request)
         Gets information about an app profile.
         
      • updateAppProfile

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateAppProfile​(UpdateAppProfileRequest request)
         Updates an app profile within an instance.
         
      • deleteAppProfile

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteAppProfile​(DeleteAppProfileRequest request)
         Deletes an app profile from an instance.
         
      • getIamPolicy

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> getIamPolicy​(com.google.iam.v1.GetIamPolicyRequest request)
         Gets the access control policy for an instance resource. Returns an empty
         policy if an instance exists but does not have a policy set.
         
      • setIamPolicy

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> setIamPolicy​(com.google.iam.v1.SetIamPolicyRequest request)
         Sets the access control policy on an instance resource. Replaces any
         existing policy.
         
      • testIamPermissions

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions​(com.google.iam.v1.TestIamPermissionsRequest request)
         Returns permissions that the caller has on the specified instance resource.
         
      • listHotTablets

        public com.google.common.util.concurrent.ListenableFuture<ListHotTabletsResponse> listHotTablets​(ListHotTabletsRequest request)
         Lists hot tablets in a cluster, within the time range provided. Hot
         tablets are ordered based on CPU usage.