Package com.google.cloud.alloydb.v1alpha
Class AlloyDBAdminGrpc.AlloyDBAdminBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AlloyDBAdminGrpc.AlloyDBAdminBlockingStub>
com.google.cloud.alloydb.v1alpha.AlloyDBAdminGrpc.AlloyDBAdminBlockingStub
- Enclosing class:
- AlloyDBAdminGrpc
public static final class AlloyDBAdminGrpc.AlloyDBAdminBlockingStub
extends io.grpc.stub.AbstractBlockingStub<AlloyDBAdminGrpc.AlloyDBAdminBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service AlloyDBAdmin.
Service describing handlers for resources
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionCreates new instances under the given project, location and cluster.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createBackup(CreateBackupRequest request) Creates a new Backup in a given project and location.createCluster(CreateClusterRequest request) Creates a new Cluster in a given project and location.createDatabase(CreateDatabaseRequest request) Creates a new Database in a given project, location, and cluster.createInstance(CreateInstanceRequest request) Creates a new Instance in a given project and location.Creates a cluster of type SECONDARY in the given location using the primary cluster as the source.Creates a new SECONDARY Instance in a given project and location.createUser(CreateUserRequest request) Creates a new User in a given project, location, and cluster.deleteBackup(DeleteBackupRequest request) Deletes a single Backup.deleteCluster(DeleteClusterRequest request) Deletes a single Cluster.deleteInstance(DeleteInstanceRequest request) Deletes a single Instance.com.google.protobuf.EmptydeleteUser(DeleteUserRequest request) Deletes a single User.executeSql(ExecuteSqlRequest request) Executes a SQL statement in a database inside an AlloyDB instance.exportCluster(ExportClusterRequest request) Exports data from the cluster.failoverInstance(FailoverInstanceRequest request) Forces a Failover for a highly available instance.Generate a client certificate signed by a Cluster CA.getBackup(GetBackupRequest request) Gets details of a single Backup.getCluster(GetClusterRequest request) Gets details of a single Cluster.Get instance metadata used for a connection.getInstance(GetInstanceRequest request) Gets details of a single Instance.getUser(GetUserRequest request) Gets details of a single User.importCluster(ImportClusterRequest request) Imports data to the cluster.injectFault(InjectFaultRequest request) Injects fault in an instance.listBackups(ListBackupsRequest request) Lists Backups in a given project and location.listClusters(ListClustersRequest request) Lists Clusters in a given project and location.listDatabases(ListDatabasesRequest request) Lists Databases in a given project and location.listInstances(ListInstancesRequest request) Lists Instances in a given project and location.Lists SupportedDatabaseFlags for a given project and location.listUsers(ListUsersRequest request) Lists Users in a given project and location.promoteCluster(PromoteClusterRequest request) Promotes a SECONDARY cluster.restartInstance(RestartInstanceRequest request) Restart an Instance in a cluster.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.Switches the roles of PRIMARY and SECONDARY clusters without any data loss.updateBackup(UpdateBackupRequest request) Updates the parameters of a single Backup.updateCluster(UpdateClusterRequest request) Updates the parameters of a single Cluster.updateInstance(UpdateInstanceRequest request) Updates the parameters of a single Instance.updateUser(UpdateUserRequest request) Updates the parameters of a single User.upgradeCluster(UpgradeClusterRequest request) Upgrades a single Cluster.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AlloyDBAdminGrpc.AlloyDBAdminBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AlloyDBAdminGrpc.AlloyDBAdminBlockingStub>
-
listClusters
Lists Clusters in a given project and location.
-
getCluster
Gets details of a single Cluster.
-
createCluster
Creates a new Cluster in a given project and location.
-
updateCluster
Updates the parameters of a single Cluster.
-
exportCluster
Exports data from the cluster. Imperative only.
-
importCluster
Imports data to the cluster. Imperative only.
-
upgradeCluster
Upgrades a single Cluster. Imperative only.
-
deleteCluster
Deletes a single Cluster.
-
promoteCluster
Promotes a SECONDARY cluster. This turns down replication from the PRIMARY cluster and promotes a secondary cluster into its own standalone cluster. Imperative only.
-
switchoverCluster
Switches the roles of PRIMARY and SECONDARY clusters without any data loss. This promotes the SECONDARY cluster to PRIMARY and sets up the original PRIMARY cluster to replicate from this newly promoted cluster.
-
restoreCluster
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.
-
createSecondaryCluster
Creates a cluster of type SECONDARY in the given location using the primary cluster as the source.
-
listInstances
Lists Instances in a given project and location.
-
getInstance
Gets details of a single Instance.
-
createInstance
Creates a new Instance in a given project and location.
-
createSecondaryInstance
Creates a new SECONDARY Instance in a given project and location.
-
batchCreateInstances
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.
-
updateInstance
Updates the parameters of a single Instance.
-
deleteInstance
Deletes a single Instance.
-
failoverInstance
Forces a Failover for a highly available instance. Failover promotes the HA standby instance as the new primary. Imperative only.
-
injectFault
Injects fault in an instance. Imperative only.
-
restartInstance
Restart an Instance in a cluster. Imperative only.
-
executeSql
Executes a SQL statement in a database inside an AlloyDB instance.
-
listBackups
Lists Backups in a given project and location.
-
getBackup
Gets details of a single Backup.
-
createBackup
Creates a new Backup in a given project and location.
-
updateBackup
Updates the parameters of a single Backup.
-
deleteBackup
Deletes a single Backup.
-
listSupportedDatabaseFlags
public ListSupportedDatabaseFlagsResponse listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request) Lists SupportedDatabaseFlags for a given project and location.
-
generateClientCertificate
public GenerateClientCertificateResponse generateClientCertificate(GenerateClientCertificateRequest request) Generate a client certificate signed by a Cluster CA. The sole purpose of this endpoint is to support AlloyDB connectors and the Auth Proxy client. The endpoint's behavior is subject to change without notice, so do not rely on its behavior remaining constant. Future changes will not break AlloyDB connectors or the Auth Proxy client.
-
getConnectionInfo
Get instance metadata used for a connection.
-
listUsers
Lists Users in a given project and location.
-
getUser
Gets details of a single User.
-
createUser
Creates a new User in a given project, location, and cluster.
-
updateUser
Updates the parameters of a single User.
-
deleteUser
Deletes a single User.
-
listDatabases
Lists Databases in a given project and location.
-
createDatabase
Creates a new Database in a given project, location, and cluster.
-