Package com.google.cloud.alloydb.v1 (0.7.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

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

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.

Protobuf type google.cloud.alloydb.v1.BatchCreateInstancesMetadata

BatchCreateInstancesMetadata.Builder

Message for metadata that is specific to BatchCreateInstances API.

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.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}.

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

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

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

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

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

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.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

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

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 for an AlloyDB Cluster.

Protobuf type google.cloud.alloydb.v1.SslConfig

SslConfig.Builder

SSL configuration for an AlloyDB Cluster.

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

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

BackupOrBuilder

BackupSourceOrBuilder

BatchCreateInstanceStatusOrBuilder

BatchCreateInstancesMetadataOrBuilder

BatchCreateInstancesRequestOrBuilder

BatchCreateInstancesResponseOrBuilder

Cluster.PrimaryConfigOrBuilder

Cluster.SecondaryConfigOrBuilder

ClusterOrBuilder

CreateBackupRequestOrBuilder

CreateClusterRequestOrBuilder

CreateInstanceRequestOrBuilder

CreateInstanceRequestsOrBuilder

DeleteBackupRequestOrBuilder

DeleteClusterRequestOrBuilder

DeleteInstanceRequestOrBuilder

EncryptionConfigOrBuilder

EncryptionInfoOrBuilder

FailoverInstanceRequestOrBuilder

GetBackupRequestOrBuilder

GetClusterRequestOrBuilder

GetInstanceRequestOrBuilder

Instance.MachineConfigOrBuilder

Instance.NodeOrBuilder

Instance.QueryInsightsInstanceConfigOrBuilder

Instance.ReadPoolConfigOrBuilder

InstanceOrBuilder

ListBackupsRequestOrBuilder

ListBackupsResponseOrBuilder

ListClustersRequestOrBuilder

ListClustersResponseOrBuilder

ListInstancesRequestOrBuilder

ListInstancesResponseOrBuilder

ListSupportedDatabaseFlagsRequestOrBuilder

ListSupportedDatabaseFlagsResponseOrBuilder

MigrationSourceOrBuilder

OperationMetadataOrBuilder

RestartInstanceRequestOrBuilder

RestoreClusterRequestOrBuilder

SslConfigOrBuilder

SupportedDatabaseFlag.IntegerRestrictionsOrBuilder

SupportedDatabaseFlag.StringRestrictionsOrBuilder

SupportedDatabaseFlagOrBuilder

UpdateBackupRequestOrBuilder

UpdateClusterRequestOrBuilder

UpdateInstanceRequestOrBuilder

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

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

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