public abstract static class AlloyDBAdminGrpc.AlloyDBAdminImplBase implements BindableService
Service describing handlers for resources
Implements
io.grpc.BindableServiceConstructors
AlloyDBAdminImplBase()
public AlloyDBAdminImplBase()
Methods
batchCreateInstances(BatchCreateInstancesRequest request, StreamObserver<Operation> responseObserver)
public void batchCreateInstances(BatchCreateInstancesRequest request, StreamObserver<Operation> responseObserver)
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.
Name | Description |
request |
BatchCreateInstancesRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
bindService()
public final ServerServiceDefinition bindService()
Type | Description |
io.grpc.ServerServiceDefinition |
createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)
public void createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)
Creates a new Backup in a given project and location.
Name | Description |
request |
CreateBackupRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)
public void createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)
Creates a new Cluster in a given project and location.
Name | Description |
request |
CreateClusterRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)
public void createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)
Creates a new Instance in a given project and location.
Name | Description |
request |
CreateInstanceRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)
public void deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)
Deletes a single Backup.
Name | Description |
request |
DeleteBackupRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)
public void deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)
Deletes a single Cluster.
Name | Description |
request |
DeleteClusterRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)
public void deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)
Deletes a single Instance.
Name | Description |
request |
DeleteInstanceRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
failoverInstance(FailoverInstanceRequest request, StreamObserver<Operation> responseObserver)
public void failoverInstance(FailoverInstanceRequest request, StreamObserver<Operation> responseObserver)
Forces a Failover for a highly available instance. Failover promotes the HA standby instance as the new primary. Imperative only.
Name | Description |
request |
FailoverInstanceRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)
public void getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)
Gets details of a single Backup.
Name | Description |
request |
GetBackupRequest |
responseObserver |
io.grpc.stub.StreamObserver<Backup> |
getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)
public void getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)
Gets details of a single Cluster.
Name | Description |
request |
GetClusterRequest |
responseObserver |
io.grpc.stub.StreamObserver<Cluster> |
getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)
public void getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)
Gets details of a single Instance.
Name | Description |
request |
GetInstanceRequest |
responseObserver |
io.grpc.stub.StreamObserver<Instance> |
listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)
public void listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)
Lists Backups in a given project and location.
Name | Description |
request |
ListBackupsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListBackupsResponse> |
listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)
public void listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)
Lists Clusters in a given project and location.
Name | Description |
request |
ListClustersRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListClustersResponse> |
listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)
public void listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)
Lists Instances in a given project and location.
Name | Description |
request |
ListInstancesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListInstancesResponse> |
listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request, StreamObserver<ListSupportedDatabaseFlagsResponse> responseObserver)
public void listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request, StreamObserver<ListSupportedDatabaseFlagsResponse> responseObserver)
Lists SupportedDatabaseFlags for a given project and location.
Name | Description |
request |
ListSupportedDatabaseFlagsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListSupportedDatabaseFlagsResponse> |
restartInstance(RestartInstanceRequest request, StreamObserver<Operation> responseObserver)
public void restartInstance(RestartInstanceRequest request, StreamObserver<Operation> responseObserver)
Restart an Instance in a cluster. Imperative only.
Name | Description |
request |
RestartInstanceRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
restoreCluster(RestoreClusterRequest request, StreamObserver<Operation> responseObserver)
public void restoreCluster(RestoreClusterRequest request, StreamObserver<Operation> responseObserver)
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.
Name | Description |
request |
RestoreClusterRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)
public void updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a single Backup.
Name | Description |
request |
UpdateBackupRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)
public void updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a single Cluster.
Name | Description |
request |
UpdateClusterRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)
public void updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a single Instance.
Name | Description |
request |
UpdateInstanceRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |