public static final class AlloyDBAdminGrpc.AlloyDBAdminFutureStub extends io.grpc.stub.AbstractFutureStub<AlloyDBAdminGrpc.AlloyDBAdminFutureStub>
Service describing handlers for resources
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
batchCreateInstances(BatchCreateInstancesRequest request)
Creates new instances under the given project, location and cluster.
|
protected AlloyDBAdminGrpc.AlloyDBAdminFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
createBackup(CreateBackupRequest request)
Creates a new Backup in a given project and location.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
createCluster(CreateClusterRequest request)
Creates a new Cluster in a given project and location.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
createInstance(CreateInstanceRequest request)
Creates a new Instance in a given project and location.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
createSecondaryCluster(CreateSecondaryClusterRequest request)
Creates a cluster of type SECONDARY in the given location using
the primary cluster as the source.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
createSecondaryInstance(CreateSecondaryInstanceRequest request)
Creates a new SECONDARY Instance in a given project and location.
|
com.google.common.util.concurrent.ListenableFuture<User> |
createUser(CreateUserRequest request)
Creates a new User in a given project, location, and cluster.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
deleteBackup(DeleteBackupRequest request)
Deletes a single Backup.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
deleteCluster(DeleteClusterRequest request)
Deletes a single Cluster.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
deleteInstance(DeleteInstanceRequest request)
Deletes a single Instance.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
deleteUser(DeleteUserRequest request)
Deletes a single User.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
failoverInstance(FailoverInstanceRequest request)
Forces a Failover for a highly available instance.
|
com.google.common.util.concurrent.ListenableFuture<GenerateClientCertificateResponse> |
generateClientCertificate(GenerateClientCertificateRequest request)
Generate a client certificate signed by a Cluster CA.
|
com.google.common.util.concurrent.ListenableFuture<Backup> |
getBackup(GetBackupRequest request)
Gets details of a single Backup.
|
com.google.common.util.concurrent.ListenableFuture<Cluster> |
getCluster(GetClusterRequest request)
Gets details of a single Cluster.
|
com.google.common.util.concurrent.ListenableFuture<ConnectionInfo> |
getConnectionInfo(GetConnectionInfoRequest request)
Get instance metadata used for a connection.
|
com.google.common.util.concurrent.ListenableFuture<Instance> |
getInstance(GetInstanceRequest request)
Gets details of a single Instance.
|
com.google.common.util.concurrent.ListenableFuture<User> |
getUser(GetUserRequest request)
Gets details of a single User.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
injectFault(InjectFaultRequest request)
Injects fault in an instance.
|
com.google.common.util.concurrent.ListenableFuture<ListBackupsResponse> |
listBackups(ListBackupsRequest request)
Lists Backups in a given project and location.
|
com.google.common.util.concurrent.ListenableFuture<ListClustersResponse> |
listClusters(ListClustersRequest request)
Lists Clusters in a given project and location.
|
com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse> |
listInstances(ListInstancesRequest request)
Lists Instances in a given project and location.
|
com.google.common.util.concurrent.ListenableFuture<ListSupportedDatabaseFlagsResponse> |
listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request)
Lists SupportedDatabaseFlags for a given project and location.
|
com.google.common.util.concurrent.ListenableFuture<ListUsersResponse> |
listUsers(ListUsersRequest request)
Lists Users in a given project and location.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
promoteCluster(PromoteClusterRequest request)
Promotes a SECONDARY cluster.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
restartInstance(RestartInstanceRequest request)
Restart an Instance in a cluster.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
restoreCluster(RestoreClusterRequest request)
Creates a new Cluster in a given project and location, with a volume
restored from the provided source, either a backup ID or a point-in-time
and a source cluster.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
updateBackup(UpdateBackupRequest request)
Updates the parameters of a single Backup.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
updateCluster(UpdateClusterRequest request)
Updates the parameters of a single Cluster.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
updateInstance(UpdateInstanceRequest request)
Updates the parameters of a single Instance.
|
com.google.common.util.concurrent.ListenableFuture<User> |
updateUser(UpdateUserRequest request)
Updates the parameters of a single User.
|
protected AlloyDBAdminGrpc.AlloyDBAdminFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<AlloyDBAdminGrpc.AlloyDBAdminFutureStub>public com.google.common.util.concurrent.ListenableFuture<ListClustersResponse> listClusters(ListClustersRequest request)
Lists Clusters in a given project and location.
public com.google.common.util.concurrent.ListenableFuture<Cluster> getCluster(GetClusterRequest request)
Gets details of a single Cluster.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createCluster(CreateClusterRequest request)
Creates a new Cluster in a given project and location.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateCluster(UpdateClusterRequest request)
Updates the parameters of a single Cluster.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteCluster(DeleteClusterRequest request)
Deletes a single Cluster.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> promoteCluster(PromoteClusterRequest request)
Promotes a SECONDARY cluster. This turns down replication from the PRIMARY cluster and promotes a secondary cluster into its own standalone cluster. Imperative only.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> restoreCluster(RestoreClusterRequest request)
Creates a new Cluster in a given project and location, with a volume restored from the provided source, either a backup ID or a point-in-time and a source cluster.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createSecondaryCluster(CreateSecondaryClusterRequest request)
Creates a cluster of type SECONDARY in the given location using the primary cluster as the source.
public com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)
Lists Instances in a given project and location.
public com.google.common.util.concurrent.ListenableFuture<Instance> getInstance(GetInstanceRequest request)
Gets details of a single Instance.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createInstance(CreateInstanceRequest request)
Creates a new Instance in a given project and location.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createSecondaryInstance(CreateSecondaryInstanceRequest request)
Creates a new SECONDARY Instance in a given project and location.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> batchCreateInstances(BatchCreateInstancesRequest request)
Creates new instances under the given project, location and cluster. There can be only one primary instance in a cluster. If the primary instance exists in the cluster as well as this request, then API will throw an error. The primary instance should exist before any read pool instance is created. If the primary instance is a part of the request payload, then the API will take care of creating instances in the correct order. This method is here to support Google-internal use cases, and is not meant for external customers to consume. Please do not start relying on it; its behavior is subject to change without notice.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateInstance(UpdateInstanceRequest request)
Updates the parameters of a single Instance.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteInstance(DeleteInstanceRequest request)
Deletes a single Instance.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> failoverInstance(FailoverInstanceRequest request)
Forces a Failover for a highly available instance. Failover promotes the HA standby instance as the new primary. Imperative only.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> injectFault(InjectFaultRequest request)
Injects fault in an instance. Imperative only.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> restartInstance(RestartInstanceRequest request)
Restart an Instance in a cluster. Imperative only.
public com.google.common.util.concurrent.ListenableFuture<ListBackupsResponse> listBackups(ListBackupsRequest request)
Lists Backups in a given project and location.
public com.google.common.util.concurrent.ListenableFuture<Backup> getBackup(GetBackupRequest request)
Gets details of a single Backup.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createBackup(CreateBackupRequest request)
Creates a new Backup in a given project and location.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateBackup(UpdateBackupRequest request)
Updates the parameters of a single Backup.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteBackup(DeleteBackupRequest request)
Deletes a single Backup.
public com.google.common.util.concurrent.ListenableFuture<ListSupportedDatabaseFlagsResponse> listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request)
Lists SupportedDatabaseFlags for a given project and location.
public com.google.common.util.concurrent.ListenableFuture<GenerateClientCertificateResponse> generateClientCertificate(GenerateClientCertificateRequest request)
Generate a client certificate signed by a Cluster CA. The sole purpose of this endpoint is to support the Auth Proxy client and the endpoint's behavior is subject to change without notice, so do not rely on its behavior remaining constant. Future changes will not break the Auth Proxy client.
public com.google.common.util.concurrent.ListenableFuture<ConnectionInfo> getConnectionInfo(GetConnectionInfoRequest request)
Get instance metadata used for a connection.
public com.google.common.util.concurrent.ListenableFuture<ListUsersResponse> listUsers(ListUsersRequest request)
Lists Users in a given project and location.
public com.google.common.util.concurrent.ListenableFuture<User> getUser(GetUserRequest request)
Gets details of a single User.
public com.google.common.util.concurrent.ListenableFuture<User> createUser(CreateUserRequest request)
Creates a new User in a given project, location, and cluster.
public com.google.common.util.concurrent.ListenableFuture<User> updateUser(UpdateUserRequest request)
Updates the parameters of a single User.
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteUser(DeleteUserRequest request)
Deletes a single User.
Copyright © 2023 Google LLC. All rights reserved.