Package com.google.cloud.alloydb.v1 (0.16.0)

A client to AlloyDB API

The interfaces provided are listed below, along with usage samples.

AlloyDBAdminClient

Service Description: Service describing handlers for resources

Sample for AlloyDBAdminClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) {
   ClusterName name = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]");
   Cluster response = alloyDBAdminClient.getCluster(name);
 }
 

Classes

AlloyDBAdminClient

Service Description: Service describing handlers for resources

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create()) {
   ClusterName name = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]");
   Cluster response = alloyDBAdminClient.getCluster(name);
 }
 

Note: close() needs to be called on the AlloyDBAdminClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of AlloyDBAdminSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 AlloyDBAdminSettings alloyDBAdminSettings =
     AlloyDBAdminSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create(alloyDBAdminSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 AlloyDBAdminSettings alloyDBAdminSettings =
     AlloyDBAdminSettings.newBuilder().setEndpoint(myEndpoint).build();
 AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create(alloyDBAdminSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 AlloyDBAdminSettings alloyDBAdminSettings = AlloyDBAdminSettings.newHttpJsonBuilder().build();
 AlloyDBAdminClient alloyDBAdminClient = AlloyDBAdminClient.create(alloyDBAdminSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

AlloyDBAdminClient.ListBackupsFixedSizeCollection

AlloyDBAdminClient.ListBackupsPage

AlloyDBAdminClient.ListBackupsPagedResponse

AlloyDBAdminClient.ListClustersFixedSizeCollection

AlloyDBAdminClient.ListClustersPage

AlloyDBAdminClient.ListClustersPagedResponse

AlloyDBAdminClient.ListInstancesFixedSizeCollection

AlloyDBAdminClient.ListInstancesPage

AlloyDBAdminClient.ListInstancesPagedResponse

AlloyDBAdminClient.ListLocationsFixedSizeCollection

AlloyDBAdminClient.ListLocationsPage

AlloyDBAdminClient.ListLocationsPagedResponse

AlloyDBAdminClient.ListSupportedDatabaseFlagsFixedSizeCollection

AlloyDBAdminClient.ListSupportedDatabaseFlagsPage

AlloyDBAdminClient.ListSupportedDatabaseFlagsPagedResponse

AlloyDBAdminClient.ListUsersFixedSizeCollection

AlloyDBAdminClient.ListUsersPage

AlloyDBAdminClient.ListUsersPagedResponse

AlloyDBAdminGrpc

Service describing handlers for resources

AlloyDBAdminGrpc.AlloyDBAdminBlockingStub

A stub to allow clients to do synchronous rpc calls to service AlloyDBAdmin.

Service describing handlers for resources

AlloyDBAdminGrpc.AlloyDBAdminFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service AlloyDBAdmin.

Service describing handlers for resources

AlloyDBAdminGrpc.AlloyDBAdminImplBase

Base class for the server implementation of the service AlloyDBAdmin.

Service describing handlers for resources

AlloyDBAdminGrpc.AlloyDBAdminStub

A stub to allow clients to do asynchronous rpc calls to service AlloyDBAdmin.

Service describing handlers for resources

AlloyDBAdminSettings

Settings class to configure an instance of AlloyDBAdminClient.

The default instance has everything set to sensible defaults:

  • The default service address (alloydb.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getCluster to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 AlloyDBAdminSettings.Builder alloyDBAdminSettingsBuilder = AlloyDBAdminSettings.newBuilder();
 alloyDBAdminSettingsBuilder
     .getClusterSettings()
     .setRetrySettings(
         alloyDBAdminSettingsBuilder
             .getClusterSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 AlloyDBAdminSettings alloyDBAdminSettings = alloyDBAdminSettingsBuilder.build();
 

AlloyDBAdminSettings.Builder

Builder for AlloyDBAdminSettings.

AutomatedBackupPolicy

Message describing the user-specified automated backup policy.

All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.

Protobuf type google.cloud.alloydb.v1.AutomatedBackupPolicy

AutomatedBackupPolicy.Builder

Message describing the user-specified automated backup policy.

All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.

Protobuf type google.cloud.alloydb.v1.AutomatedBackupPolicy

AutomatedBackupPolicy.QuantityBasedRetention

A quantity based policy specifies that a certain number of the most recent successful backups should be retained.

Protobuf type google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention

AutomatedBackupPolicy.QuantityBasedRetention.Builder

A quantity based policy specifies that a certain number of the most recent successful backups should be retained.

Protobuf type google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention

AutomatedBackupPolicy.TimeBasedRetention

A time based retention policy specifies that all backups within a certain time period should be retained.

Protobuf type google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention

AutomatedBackupPolicy.TimeBasedRetention.Builder

A time based retention policy specifies that all backups within a certain time period should be retained.

Protobuf type google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention

AutomatedBackupPolicy.WeeklySchedule

A weekly schedule starts a backup at prescribed start times within a day, for the specified days of the week.

The weekly schedule message is flexible and can be used to create many types of schedules. For example, to have a daily backup that starts at 22:00, configure the start_times field to have one element "22:00" and the days_of_week field to have all seven days of the week.

Protobuf type google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule

AutomatedBackupPolicy.WeeklySchedule.Builder

A weekly schedule starts a backup at prescribed start times within a day, for the specified days of the week.

The weekly schedule message is flexible and can be used to create many types of schedules. For example, to have a daily backup that starts at 22:00, configure the start_times field to have one element "22:00" and the days_of_week field to have all seven days of the week.

Protobuf type google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule

Backup

Message describing Backup object

Protobuf type google.cloud.alloydb.v1.Backup

Backup.Builder

Message describing Backup object

Protobuf type google.cloud.alloydb.v1.Backup

Backup.QuantityBasedExpiry

A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected.

Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention).

Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)

Protobuf type google.cloud.alloydb.v1.Backup.QuantityBasedExpiry

Backup.QuantityBasedExpiry.Builder

A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected.

Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention).

Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)

Protobuf type google.cloud.alloydb.v1.Backup.QuantityBasedExpiry

BackupName

BackupName.Builder

Builder for projects/{project}/locations/{location}/backups/{backup}.

BackupSource

Message describing a BackupSource.

Protobuf type google.cloud.alloydb.v1.BackupSource

BackupSource.Builder

Message describing a BackupSource.

Protobuf type google.cloud.alloydb.v1.BackupSource

BatchCreateInstanceStatus

Message for current status of an instance in the BatchCreateInstances operation. For example, lets say a BatchCreateInstances workflow has 4 instances, Instance1 through Instance4. Lets also assume that 2 instances succeeded but the third failed to create and the 4th was never picked up for creation because of failure of the previous one. Then, resulting states would look something like:

  1. Instance1 = ROLLED_BACK
  2. Instance2 = ROLLED_BACK
  3. Instance3 = FAILED
  4. Instance4 = FAILED

    However, while the operation is running, the instance might be in other states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states / do not get further updated once the operation is done.

Protobuf type google.cloud.alloydb.v1.BatchCreateInstanceStatus

BatchCreateInstanceStatus.Builder

Message for current status of an instance in the BatchCreateInstances operation. For example, lets say a BatchCreateInstances workflow has 4 instances, Instance1 through Instance4. Lets also assume that 2 instances succeeded but the third failed to create and the 4th was never picked up for creation because of failure of the previous one. Then, resulting states would look something like:

  1. Instance1 = ROLLED_BACK
  2. Instance2 = ROLLED_BACK
  3. Instance3 = FAILED
  4. Instance4 = FAILED

    However, while the operation is running, the instance might be in other states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states / do not get further updated once the operation is done.

Protobuf type google.cloud.alloydb.v1.BatchCreateInstanceStatus

BatchCreateInstancesMetadata

Message for metadata that is specific to BatchCreateInstances API. NEXT_ID: 3

Protobuf type google.cloud.alloydb.v1.BatchCreateInstancesMetadata

BatchCreateInstancesMetadata.Builder

Message for metadata that is specific to BatchCreateInstances API. NEXT_ID: 3

Protobuf type google.cloud.alloydb.v1.BatchCreateInstancesMetadata

BatchCreateInstancesRequest

Message for creating a batch of instances under the specified cluster.

Protobuf type google.cloud.alloydb.v1.BatchCreateInstancesRequest

BatchCreateInstancesRequest.Builder

Message for creating a batch of instances under the specified cluster.

Protobuf type google.cloud.alloydb.v1.BatchCreateInstancesRequest

BatchCreateInstancesResponse

Message for creating batches of instances in a cluster.

Protobuf type google.cloud.alloydb.v1.BatchCreateInstancesResponse

BatchCreateInstancesResponse.Builder

Message for creating batches of instances in a cluster.

Protobuf type google.cloud.alloydb.v1.BatchCreateInstancesResponse

Cluster

A cluster is a collection of regional AlloyDB resources. It can include a primary instance and one or more read pool instances. All cluster resources share a storage layer, which scales as needed.

Protobuf type google.cloud.alloydb.v1.Cluster

Cluster.Builder

A cluster is a collection of regional AlloyDB resources. It can include a primary instance and one or more read pool instances. All cluster resources share a storage layer, which scales as needed.

Protobuf type google.cloud.alloydb.v1.Cluster

Cluster.NetworkConfig

Metadata related to network configuration.

Protobuf type google.cloud.alloydb.v1.Cluster.NetworkConfig

Cluster.NetworkConfig.Builder

Metadata related to network configuration.

Protobuf type google.cloud.alloydb.v1.Cluster.NetworkConfig

Cluster.PrimaryConfig

Configuration for the primary cluster. It has the list of clusters that are replicating from this cluster. This should be set if and only if the cluster is of type PRIMARY.

Protobuf type google.cloud.alloydb.v1.Cluster.PrimaryConfig

Cluster.PrimaryConfig.Builder

Configuration for the primary cluster. It has the list of clusters that are replicating from this cluster. This should be set if and only if the cluster is of type PRIMARY.

Protobuf type google.cloud.alloydb.v1.Cluster.PrimaryConfig

Cluster.SecondaryConfig

Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.

Protobuf type google.cloud.alloydb.v1.Cluster.SecondaryConfig

Cluster.SecondaryConfig.Builder

Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.

Protobuf type google.cloud.alloydb.v1.Cluster.SecondaryConfig

ClusterName

ClusterName.Builder

Builder for projects/{project}/locations/{location}/clusters/{cluster}.

ConnectionInfo

ConnectionInfo singleton resource. https://google.aip.dev/156

Protobuf type google.cloud.alloydb.v1.ConnectionInfo

ConnectionInfo.Builder

ConnectionInfo singleton resource. https://google.aip.dev/156

Protobuf type google.cloud.alloydb.v1.ConnectionInfo

ContinuousBackupConfig

ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.

Protobuf type google.cloud.alloydb.v1.ContinuousBackupConfig

ContinuousBackupConfig.Builder

ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.

Protobuf type google.cloud.alloydb.v1.ContinuousBackupConfig

ContinuousBackupInfo

ContinuousBackupInfo describes the continuous backup properties of a cluster.

Protobuf type google.cloud.alloydb.v1.ContinuousBackupInfo

ContinuousBackupInfo.Builder

ContinuousBackupInfo describes the continuous backup properties of a cluster.

Protobuf type google.cloud.alloydb.v1.ContinuousBackupInfo

ContinuousBackupSource

Message describing a ContinuousBackupSource.

Protobuf type google.cloud.alloydb.v1.ContinuousBackupSource

ContinuousBackupSource.Builder

Message describing a ContinuousBackupSource.

Protobuf type google.cloud.alloydb.v1.ContinuousBackupSource

CreateBackupRequest

Message for creating a Backup

Protobuf type google.cloud.alloydb.v1.CreateBackupRequest

CreateBackupRequest.Builder

Message for creating a Backup

Protobuf type google.cloud.alloydb.v1.CreateBackupRequest

CreateClusterRequest

Message for creating a Cluster

Protobuf type google.cloud.alloydb.v1.CreateClusterRequest

CreateClusterRequest.Builder

Message for creating a Cluster

Protobuf type google.cloud.alloydb.v1.CreateClusterRequest

CreateInstanceRequest

Message for creating a Instance

Protobuf type google.cloud.alloydb.v1.CreateInstanceRequest

CreateInstanceRequest.Builder

Message for creating a Instance

Protobuf type google.cloud.alloydb.v1.CreateInstanceRequest

CreateInstanceRequests

See usage below for notes.

Protobuf type google.cloud.alloydb.v1.CreateInstanceRequests

CreateInstanceRequests.Builder

See usage below for notes.

Protobuf type google.cloud.alloydb.v1.CreateInstanceRequests

CreateSecondaryClusterRequest

Protobuf type google.cloud.alloydb.v1.CreateSecondaryClusterRequest

CreateSecondaryClusterRequest.Builder

Protobuf type google.cloud.alloydb.v1.CreateSecondaryClusterRequest

CreateSecondaryInstanceRequest

Message for creating a Secondary Instance

Protobuf type google.cloud.alloydb.v1.CreateSecondaryInstanceRequest

CreateSecondaryInstanceRequest.Builder

Message for creating a Secondary Instance

Protobuf type google.cloud.alloydb.v1.CreateSecondaryInstanceRequest

CreateUserRequest

Message for creating a User

Protobuf type google.cloud.alloydb.v1.CreateUserRequest

CreateUserRequest.Builder

Message for creating a User

Protobuf type google.cloud.alloydb.v1.CreateUserRequest

DeleteBackupRequest

Message for deleting a Backup

Protobuf type google.cloud.alloydb.v1.DeleteBackupRequest

DeleteBackupRequest.Builder

Message for deleting a Backup

Protobuf type google.cloud.alloydb.v1.DeleteBackupRequest

DeleteClusterRequest

Message for deleting a Cluster

Protobuf type google.cloud.alloydb.v1.DeleteClusterRequest

DeleteClusterRequest.Builder

Message for deleting a Cluster

Protobuf type google.cloud.alloydb.v1.DeleteClusterRequest

DeleteInstanceRequest

Message for deleting a Instance

Protobuf type google.cloud.alloydb.v1.DeleteInstanceRequest

DeleteInstanceRequest.Builder

Message for deleting a Instance

Protobuf type google.cloud.alloydb.v1.DeleteInstanceRequest

DeleteUserRequest

Message for deleting a User

Protobuf type google.cloud.alloydb.v1.DeleteUserRequest

DeleteUserRequest.Builder

Message for deleting a User

Protobuf type google.cloud.alloydb.v1.DeleteUserRequest

EncryptionConfig

EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).

Protobuf type google.cloud.alloydb.v1.EncryptionConfig

EncryptionConfig.Builder

EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).

Protobuf type google.cloud.alloydb.v1.EncryptionConfig

EncryptionInfo

EncryptionInfo describes the encryption information of a cluster or a backup.

Protobuf type google.cloud.alloydb.v1.EncryptionInfo

EncryptionInfo.Builder

EncryptionInfo describes the encryption information of a cluster or a backup.

Protobuf type google.cloud.alloydb.v1.EncryptionInfo

FailoverInstanceRequest

Message for triggering failover on an Instance

Protobuf type google.cloud.alloydb.v1.FailoverInstanceRequest

FailoverInstanceRequest.Builder

Message for triggering failover on an Instance

Protobuf type google.cloud.alloydb.v1.FailoverInstanceRequest

GenerateClientCertificateRequest

Message for requests to generate a client certificate signed by the Cluster CA.

Protobuf type google.cloud.alloydb.v1.GenerateClientCertificateRequest

GenerateClientCertificateRequest.Builder

Message for requests to generate a client certificate signed by the Cluster CA.

Protobuf type google.cloud.alloydb.v1.GenerateClientCertificateRequest

GenerateClientCertificateResponse

Message returned by a GenerateClientCertificate operation.

Protobuf type google.cloud.alloydb.v1.GenerateClientCertificateResponse

GenerateClientCertificateResponse.Builder

Message returned by a GenerateClientCertificate operation.

Protobuf type google.cloud.alloydb.v1.GenerateClientCertificateResponse

GetBackupRequest

Message for getting a Backup

Protobuf type google.cloud.alloydb.v1.GetBackupRequest

GetBackupRequest.Builder

Message for getting a Backup

Protobuf type google.cloud.alloydb.v1.GetBackupRequest

GetClusterRequest

Message for getting a Cluster

Protobuf type google.cloud.alloydb.v1.GetClusterRequest

GetClusterRequest.Builder

Message for getting a Cluster

Protobuf type google.cloud.alloydb.v1.GetClusterRequest

GetConnectionInfoRequest

Request message for GetConnectionInfo.

Protobuf type google.cloud.alloydb.v1.GetConnectionInfoRequest

GetConnectionInfoRequest.Builder

Request message for GetConnectionInfo.

Protobuf type google.cloud.alloydb.v1.GetConnectionInfoRequest

GetInstanceRequest

Message for getting a Instance

Protobuf type google.cloud.alloydb.v1.GetInstanceRequest

GetInstanceRequest.Builder

Message for getting a Instance

Protobuf type google.cloud.alloydb.v1.GetInstanceRequest

GetUserRequest

Message for getting a User

Protobuf type google.cloud.alloydb.v1.GetUserRequest

GetUserRequest.Builder

Message for getting a User

Protobuf type google.cloud.alloydb.v1.GetUserRequest

InjectFaultRequest

Message for triggering fault injection on an instance

Protobuf type google.cloud.alloydb.v1.InjectFaultRequest

InjectFaultRequest.Builder

Message for triggering fault injection on an instance

Protobuf type google.cloud.alloydb.v1.InjectFaultRequest

Instance

An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.

Protobuf type google.cloud.alloydb.v1.Instance

Instance.Builder

An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.

Protobuf type google.cloud.alloydb.v1.Instance

Instance.ClientConnectionConfig

Client connection configuration

Protobuf type google.cloud.alloydb.v1.Instance.ClientConnectionConfig

Instance.ClientConnectionConfig.Builder

Client connection configuration

Protobuf type google.cloud.alloydb.v1.Instance.ClientConnectionConfig

Instance.MachineConfig

MachineConfig describes the configuration of a machine.

Protobuf type google.cloud.alloydb.v1.Instance.MachineConfig

Instance.MachineConfig.Builder

MachineConfig describes the configuration of a machine.

Protobuf type google.cloud.alloydb.v1.Instance.MachineConfig

Instance.Node

Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.

Protobuf type google.cloud.alloydb.v1.Instance.Node

Instance.Node.Builder

Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.

Protobuf type google.cloud.alloydb.v1.Instance.Node

Instance.QueryInsightsInstanceConfig

QueryInsights Instance specific configuration.

Protobuf type google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig

Instance.QueryInsightsInstanceConfig.Builder

QueryInsights Instance specific configuration.

Protobuf type google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig

Instance.ReadPoolConfig

Configuration for a read pool instance.

Protobuf type google.cloud.alloydb.v1.Instance.ReadPoolConfig

Instance.ReadPoolConfig.Builder

Configuration for a read pool instance.

Protobuf type google.cloud.alloydb.v1.Instance.ReadPoolConfig

InstanceName

InstanceName.Builder

Builder for projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}.

ListBackupsRequest

Message for requesting list of Backups

Protobuf type google.cloud.alloydb.v1.ListBackupsRequest

ListBackupsRequest.Builder

Message for requesting list of Backups

Protobuf type google.cloud.alloydb.v1.ListBackupsRequest

ListBackupsResponse

Message for response to listing Backups

Protobuf type google.cloud.alloydb.v1.ListBackupsResponse

ListBackupsResponse.Builder

Message for response to listing Backups

Protobuf type google.cloud.alloydb.v1.ListBackupsResponse

ListClustersRequest

Message for requesting list of Clusters

Protobuf type google.cloud.alloydb.v1.ListClustersRequest

ListClustersRequest.Builder

Message for requesting list of Clusters

Protobuf type google.cloud.alloydb.v1.ListClustersRequest

ListClustersResponse

Message for response to listing Clusters

Protobuf type google.cloud.alloydb.v1.ListClustersResponse

ListClustersResponse.Builder

Message for response to listing Clusters

Protobuf type google.cloud.alloydb.v1.ListClustersResponse

ListInstancesRequest

Message for requesting list of Instances

Protobuf type google.cloud.alloydb.v1.ListInstancesRequest

ListInstancesRequest.Builder

Message for requesting list of Instances

Protobuf type google.cloud.alloydb.v1.ListInstancesRequest

ListInstancesResponse

Message for response to listing Instances

Protobuf type google.cloud.alloydb.v1.ListInstancesResponse

ListInstancesResponse.Builder

Message for response to listing Instances

Protobuf type google.cloud.alloydb.v1.ListInstancesResponse

ListSupportedDatabaseFlagsRequest

Message for listing the information about the supported Database flags.

Protobuf type google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest

ListSupportedDatabaseFlagsRequest.Builder

Message for listing the information about the supported Database flags.

Protobuf type google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest

ListSupportedDatabaseFlagsResponse

Message for response to listing SupportedDatabaseFlags.

Protobuf type google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse

ListSupportedDatabaseFlagsResponse.Builder

Message for response to listing SupportedDatabaseFlags.

Protobuf type google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse

ListUsersRequest

Message for requesting list of Users

Protobuf type google.cloud.alloydb.v1.ListUsersRequest

ListUsersRequest.Builder

Message for requesting list of Users

Protobuf type google.cloud.alloydb.v1.ListUsersRequest

ListUsersResponse

Message for response to listing Users

Protobuf type google.cloud.alloydb.v1.ListUsersResponse

ListUsersResponse.Builder

Message for response to listing Users

Protobuf type google.cloud.alloydb.v1.ListUsersResponse

LocationName

LocationName.Builder

Builder for projects/{project}/locations/{location}.

MigrationSource

Subset of the source instance configuration that is available when reading the cluster resource.

Protobuf type google.cloud.alloydb.v1.MigrationSource

MigrationSource.Builder

Subset of the source instance configuration that is available when reading the cluster resource.

Protobuf type google.cloud.alloydb.v1.MigrationSource

OperationMetadata

Represents the metadata of the long-running operation.

Protobuf type google.cloud.alloydb.v1.OperationMetadata

OperationMetadata.Builder

Represents the metadata of the long-running operation.

Protobuf type google.cloud.alloydb.v1.OperationMetadata

PromoteClusterRequest

Message for promoting a Cluster

Protobuf type google.cloud.alloydb.v1.PromoteClusterRequest

PromoteClusterRequest.Builder

Message for promoting a Cluster

Protobuf type google.cloud.alloydb.v1.PromoteClusterRequest

ResourcesProto

RestartInstanceRequest

Protobuf type google.cloud.alloydb.v1.RestartInstanceRequest

RestartInstanceRequest.Builder

Protobuf type google.cloud.alloydb.v1.RestartInstanceRequest

RestoreClusterRequest

Message for restoring a Cluster from a backup or another cluster at a given point in time.

Protobuf type google.cloud.alloydb.v1.RestoreClusterRequest

RestoreClusterRequest.Builder

Message for restoring a Cluster from a backup or another cluster at a given point in time.

Protobuf type google.cloud.alloydb.v1.RestoreClusterRequest

ServiceProto

SslConfig

SSL configuration.

Protobuf type google.cloud.alloydb.v1.SslConfig

SslConfig.Builder

SSL configuration.

Protobuf type google.cloud.alloydb.v1.SslConfig

SupportedDatabaseFlag

SupportedDatabaseFlag gives general information about a database flag, like type and allowed values. This is a static value that is defined on the server side, and it cannot be modified by callers. To set the Database flags on a particular Instance, a caller should modify the Instance.database_flags field.

Protobuf type google.cloud.alloydb.v1.SupportedDatabaseFlag

SupportedDatabaseFlag.Builder

SupportedDatabaseFlag gives general information about a database flag, like type and allowed values. This is a static value that is defined on the server side, and it cannot be modified by callers. To set the Database flags on a particular Instance, a caller should modify the Instance.database_flags field.

Protobuf type google.cloud.alloydb.v1.SupportedDatabaseFlag

SupportedDatabaseFlag.IntegerRestrictions

Restrictions on INTEGER type values.

Protobuf type google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions

SupportedDatabaseFlag.IntegerRestrictions.Builder

Restrictions on INTEGER type values.

Protobuf type google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions

SupportedDatabaseFlag.StringRestrictions

Restrictions on STRING type values

Protobuf type google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions

SupportedDatabaseFlag.StringRestrictions.Builder

Restrictions on STRING type values

Protobuf type google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions

SupportedDatabaseFlagName

SupportedDatabaseFlagName.Builder

Builder for projects/{project}/locations/{location}/flags/{flag}.

UpdateBackupRequest

Message for updating a Backup

Protobuf type google.cloud.alloydb.v1.UpdateBackupRequest

UpdateBackupRequest.Builder

Message for updating a Backup

Protobuf type google.cloud.alloydb.v1.UpdateBackupRequest

UpdateClusterRequest

Message for updating a Cluster

Protobuf type google.cloud.alloydb.v1.UpdateClusterRequest

UpdateClusterRequest.Builder

Message for updating a Cluster

Protobuf type google.cloud.alloydb.v1.UpdateClusterRequest

UpdateInstanceRequest

Message for updating a Instance

Protobuf type google.cloud.alloydb.v1.UpdateInstanceRequest

UpdateInstanceRequest.Builder

Message for updating a Instance

Protobuf type google.cloud.alloydb.v1.UpdateInstanceRequest

UpdateUserRequest

Message for updating a User

Protobuf type google.cloud.alloydb.v1.UpdateUserRequest

UpdateUserRequest.Builder

Message for updating a User

Protobuf type google.cloud.alloydb.v1.UpdateUserRequest

User

Message describing User object.

Protobuf type google.cloud.alloydb.v1.User

User.Builder

Message describing User object.

Protobuf type google.cloud.alloydb.v1.User

UserName

UserName.Builder

Builder for projects/{project}/locations/{location}/clusters/{cluster}/users/{user}.

UserPassword

The username/password for a database user. Used for specifying initial users at cluster creation time.

Protobuf type google.cloud.alloydb.v1.UserPassword

UserPassword.Builder

The username/password for a database user. Used for specifying initial users at cluster creation time.

Protobuf type google.cloud.alloydb.v1.UserPassword

Interfaces

AlloyDBAdminGrpc.AsyncService

Service describing handlers for resources

AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder

AutomatedBackupPolicy.TimeBasedRetentionOrBuilder

AutomatedBackupPolicy.WeeklyScheduleOrBuilder

AutomatedBackupPolicyOrBuilder

Backup.QuantityBasedExpiryOrBuilder

BackupOrBuilder

BackupSourceOrBuilder

BatchCreateInstanceStatusOrBuilder

BatchCreateInstancesMetadataOrBuilder

BatchCreateInstancesRequestOrBuilder

BatchCreateInstancesResponseOrBuilder

Cluster.NetworkConfigOrBuilder

Cluster.PrimaryConfigOrBuilder

Cluster.SecondaryConfigOrBuilder

ClusterOrBuilder

ConnectionInfoOrBuilder

ContinuousBackupConfigOrBuilder

ContinuousBackupInfoOrBuilder

ContinuousBackupSourceOrBuilder

CreateBackupRequestOrBuilder

CreateClusterRequestOrBuilder

CreateInstanceRequestOrBuilder

CreateInstanceRequestsOrBuilder

CreateSecondaryClusterRequestOrBuilder

CreateSecondaryInstanceRequestOrBuilder

CreateUserRequestOrBuilder

DeleteBackupRequestOrBuilder

DeleteClusterRequestOrBuilder

DeleteInstanceRequestOrBuilder

DeleteUserRequestOrBuilder

EncryptionConfigOrBuilder

EncryptionInfoOrBuilder

FailoverInstanceRequestOrBuilder

GenerateClientCertificateRequestOrBuilder

GenerateClientCertificateResponseOrBuilder

GetBackupRequestOrBuilder

GetClusterRequestOrBuilder

GetConnectionInfoRequestOrBuilder

GetInstanceRequestOrBuilder

GetUserRequestOrBuilder

InjectFaultRequestOrBuilder

Instance.ClientConnectionConfigOrBuilder

Instance.MachineConfigOrBuilder

Instance.NodeOrBuilder

Instance.QueryInsightsInstanceConfigOrBuilder

Instance.ReadPoolConfigOrBuilder

InstanceOrBuilder

ListBackupsRequestOrBuilder

ListBackupsResponseOrBuilder

ListClustersRequestOrBuilder

ListClustersResponseOrBuilder

ListInstancesRequestOrBuilder

ListInstancesResponseOrBuilder

ListSupportedDatabaseFlagsRequestOrBuilder

ListSupportedDatabaseFlagsResponseOrBuilder

ListUsersRequestOrBuilder

ListUsersResponseOrBuilder

MigrationSourceOrBuilder

OperationMetadataOrBuilder

PromoteClusterRequestOrBuilder

RestartInstanceRequestOrBuilder

RestoreClusterRequestOrBuilder

SslConfigOrBuilder

SupportedDatabaseFlag.IntegerRestrictionsOrBuilder

SupportedDatabaseFlag.StringRestrictionsOrBuilder

SupportedDatabaseFlagOrBuilder

UpdateBackupRequestOrBuilder

UpdateClusterRequestOrBuilder

UpdateInstanceRequestOrBuilder

UpdateUserRequestOrBuilder

UserOrBuilder

UserPasswordOrBuilder

Enums

AutomatedBackupPolicy.RetentionCase

AutomatedBackupPolicy.ScheduleCase

Backup.State

Backup State

Protobuf enum google.cloud.alloydb.v1.Backup.State

Backup.Type

Backup Type

Protobuf enum google.cloud.alloydb.v1.Backup.Type

BatchCreateInstanceStatus.State

State contains all valid instance states for the BatchCreateInstances operation. This is mainly used for status reporting through the LRO metadata.

Protobuf enum google.cloud.alloydb.v1.BatchCreateInstanceStatus.State

Cluster.ClusterType

Type of Cluster

Protobuf enum google.cloud.alloydb.v1.Cluster.ClusterType

Cluster.SourceCase

Cluster.State

Cluster State

Protobuf enum google.cloud.alloydb.v1.Cluster.State

ClusterView

View on Cluster. Pass this enum to rpcs that returns a cluster message to control which subsets of fields to get.

Protobuf enum google.cloud.alloydb.v1.ClusterView

DatabaseVersion

The supported database engine versions.

Protobuf enum google.cloud.alloydb.v1.DatabaseVersion

EncryptionInfo.Type

Possible encryption types.

Protobuf enum google.cloud.alloydb.v1.EncryptionInfo.Type

InjectFaultRequest.FaultType

FaultType contains all valid types of faults that can be injected to an instance.

Protobuf enum google.cloud.alloydb.v1.InjectFaultRequest.FaultType

Instance.AvailabilityType

The Availability type of an instance. Potential values:

  • ZONAL: The instance serves data from only one zone. Outages in that zone affect instance availability.
  • REGIONAL: The instance can serve data from more than one zone in a region (it is highly available).

Protobuf enum google.cloud.alloydb.v1.Instance.AvailabilityType

Instance.InstanceType

Type of an Instance

Protobuf enum google.cloud.alloydb.v1.Instance.InstanceType

Instance.State

Instance State

Protobuf enum google.cloud.alloydb.v1.Instance.State

InstanceView

View on Instance. Pass this enum to rpcs that returns an Instance message to control which subsets of fields to get.

Protobuf enum google.cloud.alloydb.v1.InstanceView

MigrationSource.MigrationSourceType

Denote the type of migration source that created this cluster.

Protobuf enum google.cloud.alloydb.v1.MigrationSource.MigrationSourceType

OperationMetadata.RequestSpecificCase

RestoreClusterRequest.SourceCase

SslConfig.CaSource

Certificate Authority (CA) source for SSL/TLS certificates.

Protobuf enum google.cloud.alloydb.v1.SslConfig.CaSource

SslConfig.SslMode

SSL mode options.

Protobuf enum google.cloud.alloydb.v1.SslConfig.SslMode

SupportedDatabaseFlag.RestrictionsCase

SupportedDatabaseFlag.ValueType

ValueType describes the semantic type of the value that the flag accepts. Regardless of the ValueType, the Instance.database_flags field accepts the stringified version of the value, i.e. "20" or "3.14".

Protobuf enum google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType

User.UserType

Enum that details the user type.

Protobuf enum google.cloud.alloydb.v1.User.UserType