Class BigtableInstanceAdminGrpc.BigtableInstanceAdminBlockingStub

  • Enclosing class:
    BigtableInstanceAdminGrpc

    public static final class BigtableInstanceAdminGrpc.BigtableInstanceAdminBlockingStub
    extends io.grpc.stub.AbstractBlockingStub<BigtableInstanceAdminGrpc.BigtableInstanceAdminBlockingStub>
    A stub to allow clients to do synchronous 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.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.
         
      • updateInstance

        public 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.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.protobuf.Empty deleteInstance​(DeleteInstanceRequest request)
         Delete an instance from a project.
         
      • createCluster

        public 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.
         
      • updateCluster

        public 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.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.protobuf.Empty deleteCluster​(DeleteClusterRequest request)
         Deletes a cluster from an instance.
         
      • updateAppProfile

        public com.google.longrunning.Operation updateAppProfile​(UpdateAppProfileRequest request)
         Updates an app profile within an instance.
         
      • deleteAppProfile

        public com.google.protobuf.Empty deleteAppProfile​(DeleteAppProfileRequest request)
         Deletes an app profile from an instance.
         
      • getIamPolicy

        public 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.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.iam.v1.TestIamPermissionsResponse testIamPermissions​(com.google.iam.v1.TestIamPermissionsRequest request)
         Returns permissions that the caller has on the specified instance resource.