Class BigtableInstanceAdminGrpc.BigtableInstanceAdminFutureStub (2.3.1)

public static final class BigtableInstanceAdminGrpc.BigtableInstanceAdminFutureStub extends AbstractFutureStub<BigtableInstanceAdminGrpc.BigtableInstanceAdminFutureStub>

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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > BigtableInstanceAdminGrpc.BigtableInstanceAdminFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected BigtableInstanceAdminGrpc.BigtableInstanceAdminFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
BigtableInstanceAdminGrpc.BigtableInstanceAdminFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createAppProfile(CreateAppProfileRequest request)

public ListenableFuture<AppProfile> createAppProfile(CreateAppProfileRequest request)

Creates an app profile within an instance.

Parameter
NameDescription
requestCreateAppProfileRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AppProfile>

createCluster(CreateClusterRequest request)

public ListenableFuture<Operation> createCluster(CreateClusterRequest request)

Creates a cluster within an instance.

Parameter
NameDescription
requestCreateClusterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createInstance(CreateInstanceRequest request)

public ListenableFuture<Operation> createInstance(CreateInstanceRequest request)

Create an instance within a project.

Parameter
NameDescription
requestCreateInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAppProfile(DeleteAppProfileRequest request)

public ListenableFuture<Empty> deleteAppProfile(DeleteAppProfileRequest request)

Deletes an app profile from an instance.

Parameter
NameDescription
requestDeleteAppProfileRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteCluster(DeleteClusterRequest request)

public ListenableFuture<Empty> deleteCluster(DeleteClusterRequest request)

Deletes a cluster from an instance.

Parameter
NameDescription
requestDeleteClusterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteInstance(DeleteInstanceRequest request)

public ListenableFuture<Empty> deleteInstance(DeleteInstanceRequest request)

Delete an instance from a project.

Parameter
NameDescription
requestDeleteInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getAppProfile(GetAppProfileRequest request)

public ListenableFuture<AppProfile> getAppProfile(GetAppProfileRequest request)

Gets information about an app profile.

Parameter
NameDescription
requestGetAppProfileRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AppProfile>

getCluster(GetClusterRequest request)

public ListenableFuture<Cluster> getCluster(GetClusterRequest request)

Gets information about a cluster.

Parameter
NameDescription
requestGetClusterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Cluster>

getIamPolicy(GetIamPolicyRequest request)

public ListenableFuture<Policy> getIamPolicy(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.

Parameter
NameDescription
requestcom.google.iam.v1.GetIamPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>

getInstance(GetInstanceRequest request)

public ListenableFuture<Instance> getInstance(GetInstanceRequest request)

Gets information about an instance.

Parameter
NameDescription
requestGetInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Instance>

listAppProfiles(ListAppProfilesRequest request)

public ListenableFuture<ListAppProfilesResponse> listAppProfiles(ListAppProfilesRequest request)

Lists information about app profiles in an instance.

Parameter
NameDescription
requestListAppProfilesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListAppProfilesResponse>

listClusters(ListClustersRequest request)

public ListenableFuture<ListClustersResponse> listClusters(ListClustersRequest request)

Lists information about clusters in an instance.

Parameter
NameDescription
requestListClustersRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListClustersResponse>

listInstances(ListInstancesRequest request)

public ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)

Lists information about instances in a project.

Parameter
NameDescription
requestListInstancesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse>

partialUpdateInstance(PartialUpdateInstanceRequest request)

public ListenableFuture<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.

Parameter
NameDescription
requestPartialUpdateInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

setIamPolicy(SetIamPolicyRequest request)

public ListenableFuture<Policy> setIamPolicy(SetIamPolicyRequest request)

Sets the access control policy on an instance resource. Replaces any existing policy.

Parameter
NameDescription
requestcom.google.iam.v1.SetIamPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>

testIamPermissions(TestIamPermissionsRequest request)

public ListenableFuture<TestIamPermissionsResponse> testIamPermissions(TestIamPermissionsRequest request)

Returns permissions that the caller has on the specified instance resource.

Parameter
NameDescription
requestcom.google.iam.v1.TestIamPermissionsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse>

updateAppProfile(UpdateAppProfileRequest request)

public ListenableFuture<Operation> updateAppProfile(UpdateAppProfileRequest request)

Updates an app profile within an instance.

Parameter
NameDescription
requestUpdateAppProfileRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateCluster(Cluster request)

public ListenableFuture<Operation> updateCluster(Cluster request)

Updates a cluster within an instance.

Parameter
NameDescription
requestCluster
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateInstance(Instance request)

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

Parameter
NameDescription
requestInstance
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Instance>