public static final class AlloyDBAdminGrpc.AlloyDBAdminStub extends io.grpc.stub.AbstractAsyncStub<AlloyDBAdminGrpc.AlloyDBAdminStub>
Service describing handlers for resources
| Modifier and Type | Method and Description |
|---|---|
void |
batchCreateInstances(BatchCreateInstancesRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates new instances under the given project, location and cluster.
|
protected AlloyDBAdminGrpc.AlloyDBAdminStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createBackup(CreateBackupRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Backup in a given project and location.
|
void |
createCluster(CreateClusterRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Cluster in a given project and location.
|
void |
createInstance(CreateInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Instance in a given project and location.
|
void |
createSecondaryCluster(CreateSecondaryClusterRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a cluster of type SECONDARY in the given location using
the primary cluster as the source.
|
void |
createSecondaryInstance(CreateSecondaryInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new SECONDARY Instance in a given project and location.
|
void |
createUser(CreateUserRequest request,
io.grpc.stub.StreamObserver<User> responseObserver)
Creates a new User in a given project, location, and cluster.
|
void |
deleteBackup(DeleteBackupRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Backup.
|
void |
deleteCluster(DeleteClusterRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Cluster.
|
void |
deleteInstance(DeleteInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Instance.
|
void |
deleteUser(DeleteUserRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a single User.
|
void |
failoverInstance(FailoverInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Forces a Failover for a highly available instance.
|
void |
generateClientCertificate(GenerateClientCertificateRequest request,
io.grpc.stub.StreamObserver<GenerateClientCertificateResponse> responseObserver)
Generate a client certificate signed by a Cluster CA.
|
void |
getBackup(GetBackupRequest request,
io.grpc.stub.StreamObserver<Backup> responseObserver)
Gets details of a single Backup.
|
void |
getCluster(GetClusterRequest request,
io.grpc.stub.StreamObserver<Cluster> responseObserver)
Gets details of a single Cluster.
|
void |
getConnectionInfo(GetConnectionInfoRequest request,
io.grpc.stub.StreamObserver<ConnectionInfo> responseObserver)
Get instance metadata used for a connection.
|
void |
getInstance(GetInstanceRequest request,
io.grpc.stub.StreamObserver<Instance> responseObserver)
Gets details of a single Instance.
|
void |
getUser(GetUserRequest request,
io.grpc.stub.StreamObserver<User> responseObserver)
Gets details of a single User.
|
void |
injectFault(InjectFaultRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Injects fault in an instance.
|
void |
listBackups(ListBackupsRequest request,
io.grpc.stub.StreamObserver<ListBackupsResponse> responseObserver)
Lists Backups in a given project and location.
|
void |
listClusters(ListClustersRequest request,
io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
Lists Clusters in a given project and location.
|
void |
listInstances(ListInstancesRequest request,
io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver)
Lists Instances in a given project and location.
|
void |
listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request,
io.grpc.stub.StreamObserver<ListSupportedDatabaseFlagsResponse> responseObserver)
Lists SupportedDatabaseFlags for a given project and location.
|
void |
listUsers(ListUsersRequest request,
io.grpc.stub.StreamObserver<ListUsersResponse> responseObserver)
Lists Users in a given project and location.
|
void |
promoteCluster(PromoteClusterRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Promotes a SECONDARY cluster.
|
void |
restartInstance(RestartInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Restart an Instance in a cluster.
|
void |
restoreCluster(RestoreClusterRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.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.
|
void |
updateBackup(UpdateBackupRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the parameters of a single Backup.
|
void |
updateCluster(UpdateClusterRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the parameters of a single Cluster.
|
void |
updateInstance(UpdateInstanceRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the parameters of a single Instance.
|
void |
updateUser(UpdateUserRequest request,
io.grpc.stub.StreamObserver<User> responseObserver)
Updates the parameters of a single User.
|
protected AlloyDBAdminGrpc.AlloyDBAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<AlloyDBAdminGrpc.AlloyDBAdminStub>public void listClusters(ListClustersRequest request, io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
Lists Clusters in a given project and location.
public void getCluster(GetClusterRequest request, io.grpc.stub.StreamObserver<Cluster> responseObserver)
Gets details of a single Cluster.
public void createCluster(CreateClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Cluster in a given project and location.
public void updateCluster(UpdateClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the parameters of a single Cluster.
public void deleteCluster(DeleteClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Cluster.
public void promoteCluster(PromoteClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
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 void restoreCluster(RestoreClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.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.
public void createSecondaryCluster(CreateSecondaryClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a cluster of type SECONDARY in the given location using the primary cluster as the source.
public void listInstances(ListInstancesRequest request, io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver)
Lists Instances in a given project and location.
public void getInstance(GetInstanceRequest request, io.grpc.stub.StreamObserver<Instance> responseObserver)
Gets details of a single Instance.
public void createInstance(CreateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Instance in a given project and location.
public void createSecondaryInstance(CreateSecondaryInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new SECONDARY Instance in a given project and location.
public void batchCreateInstances(BatchCreateInstancesRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.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.
public void updateInstance(UpdateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the parameters of a single Instance.
public void deleteInstance(DeleteInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Instance.
public void failoverInstance(FailoverInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Forces a Failover for a highly available instance. Failover promotes the HA standby instance as the new primary. Imperative only.
public void injectFault(InjectFaultRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Injects fault in an instance. Imperative only.
public void restartInstance(RestartInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Restart an Instance in a cluster. Imperative only.
public void listBackups(ListBackupsRequest request, io.grpc.stub.StreamObserver<ListBackupsResponse> responseObserver)
Lists Backups in a given project and location.
public void getBackup(GetBackupRequest request, io.grpc.stub.StreamObserver<Backup> responseObserver)
Gets details of a single Backup.
public void createBackup(CreateBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Backup in a given project and location.
public void updateBackup(UpdateBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the parameters of a single Backup.
public void deleteBackup(DeleteBackupRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Backup.
public void listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request, io.grpc.stub.StreamObserver<ListSupportedDatabaseFlagsResponse> responseObserver)
Lists SupportedDatabaseFlags for a given project and location.
public void generateClientCertificate(GenerateClientCertificateRequest request, io.grpc.stub.StreamObserver<GenerateClientCertificateResponse> responseObserver)
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 void getConnectionInfo(GetConnectionInfoRequest request, io.grpc.stub.StreamObserver<ConnectionInfo> responseObserver)
Get instance metadata used for a connection.
public void listUsers(ListUsersRequest request, io.grpc.stub.StreamObserver<ListUsersResponse> responseObserver)
Lists Users in a given project and location.
public void getUser(GetUserRequest request, io.grpc.stub.StreamObserver<User> responseObserver)
Gets details of a single User.
public void createUser(CreateUserRequest request, io.grpc.stub.StreamObserver<User> responseObserver)
Creates a new User in a given project, location, and cluster.
public void updateUser(UpdateUserRequest request, io.grpc.stub.StreamObserver<User> responseObserver)
Updates the parameters of a single User.
public void deleteUser(DeleteUserRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a single User.
Copyright © 2023 Google LLC. All rights reserved.