0.11.4 (latest) 0.11.3 0.10.0 0.9.0 0.7.0 0.6.0 0.5.0 0.4.9 0.3.16 0.2.1 0.1.1 API documentation for `alloydb_v1alpha.types` package.

## Classes

### [AutomatedBackupPolicy](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.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.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [Backup](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.Backup)

Message describing Backup object

### [BackupSource](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.BackupSource)

Message describing a BackupSource.

### [BatchCreateInstanceStatus](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.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.

### [BatchCreateInstancesMetadata](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.BatchCreateInstancesMetadata)

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

### [BatchCreateInstancesRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.BatchCreateInstancesRequest)

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

### [BatchCreateInstancesResponse](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.BatchCreateInstancesResponse)

Message for creating batches of instances in a cluster.

### [CloudSQLBackupRunSource](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.CloudSQLBackupRunSource)

The source CloudSQL backup resource.

### [Cluster](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.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.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ClusterView](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ClusterView)

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

### [ConnectionInfo](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ConnectionInfo)

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

### [ContinuousBackupConfig](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ContinuousBackupConfig)

ContinuousBackupConfig describes the continuous backups
recovery configurations of a cluster.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ContinuousBackupInfo](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ContinuousBackupInfo)

ContinuousBackupInfo describes the continuous backup
properties of a cluster.

### [ContinuousBackupSource](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ContinuousBackupSource)

Message describing a ContinuousBackupSource.

### [CreateBackupRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.CreateBackupRequest)

Message for creating a Backup

### [CreateClusterRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.CreateClusterRequest)

Message for creating a Cluster

### [CreateDatabaseRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.CreateDatabaseRequest)

Message for CreateDatabase request.

### [CreateInstanceRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.CreateInstanceRequest)

Message for creating a Instance

### [CreateInstanceRequests](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.CreateInstanceRequests)

See usage below for notes.

### [CreateSecondaryClusterRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.CreateSecondaryClusterRequest)

### [CreateSecondaryInstanceRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.CreateSecondaryInstanceRequest)

Message for creating a Secondary Instance

### [CreateUserRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.CreateUserRequest)

Message for creating a User

### [Database](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.Database)

Message describing Database object.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [DatabaseVersion](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.DatabaseVersion)

The supported database engine versions.

### [DeleteBackupRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.DeleteBackupRequest)

Message for deleting a Backup

### [DeleteClusterRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.DeleteClusterRequest)

Message for deleting a Cluster

### [DeleteInstanceRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.DeleteInstanceRequest)

Message for deleting a Instance

### [DeleteUserRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.DeleteUserRequest)

Message for deleting a User

### [EncryptionConfig](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.EncryptionConfig)

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

### [EncryptionInfo](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.EncryptionInfo)

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

### [ExecuteSqlMetadata](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ExecuteSqlMetadata)

Any additional metadata information regarding the execution
of the SQL

### [ExecuteSqlRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ExecuteSqlRequest)

Request for ExecuteSql rpc.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ExecuteSqlResponse](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ExecuteSqlResponse)

Execute a SQL statement response.

### [ExportClusterRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ExportClusterRequest)

Export cluster request.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ExportClusterResponse](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ExportClusterResponse)

Response of export cluster rpc.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [FailoverInstanceRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.FailoverInstanceRequest)

Message for triggering failover on an Instance

### [GCAEntitlementType](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.GCAEntitlementType)

Enum representing the type of GCA entitlement assigned to a
resource.

### [GCAInstanceConfig](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.GCAInstanceConfig)

Instance level configuration parameters related to the Gemini
Cloud Assist product.

### [GcsDestination](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.GcsDestination)

Destination for Export. Export will be done to cloud storage.

### [GeminiClusterConfig](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.GeminiClusterConfig)

Deprecated and unused. This message will be removed in the
near future.

### [GeminiInstanceConfig](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.GeminiInstanceConfig)

Deprecated and unused. This message will be removed in the
near future.

### [GenerateClientCertificateRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.GenerateClientCertificateRequest)

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

### [GenerateClientCertificateResponse](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.GenerateClientCertificateResponse)

Message returned by a GenerateClientCertificate operation.

### [GetBackupRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.GetBackupRequest)

Message for getting a Backup

### [GetClusterRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.GetClusterRequest)

Message for getting a Cluster

### [GetConnectionInfoRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.GetConnectionInfoRequest)

Request message for GetConnectionInfo.

### [GetInstanceRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.GetInstanceRequest)

Message for getting a Instance

### [GetUserRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.GetUserRequest)

Message for getting a User

### [ImportClusterRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ImportClusterRequest)

Import cluster request.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ImportClusterResponse](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ImportClusterResponse)

Response of import rpc.

### [InjectFaultRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.InjectFaultRequest)

Message for triggering fault injection on an instance

### [Instance](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.Instance)

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

### [InstanceView](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.InstanceView)

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

### [ListBackupsRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ListBackupsRequest)

Message for requesting list of Backups

### [ListBackupsResponse](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ListBackupsResponse)

Message for response to listing Backups

### [ListClustersRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ListClustersRequest)

Message for requesting list of Clusters

### [ListClustersResponse](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ListClustersResponse)

Message for response to listing Clusters

### [ListDatabasesRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ListDatabasesRequest)

Message for ListDatabases request.

### [ListDatabasesResponse](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ListDatabasesResponse)

Message for ListDatabases response.

### [ListInstancesRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ListInstancesRequest)

Message for requesting list of Instances

### [ListInstancesResponse](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ListInstancesResponse)

Message for response to listing Instances

### [ListSupportedDatabaseFlagsRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ListSupportedDatabaseFlagsRequest)

Message for listing the information about the supported
Database flags.

### [ListSupportedDatabaseFlagsResponse](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ListSupportedDatabaseFlagsResponse)

Message for response to listing SupportedDatabaseFlags.

### [ListUsersRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ListUsersRequest)

Message for requesting list of Users

### [ListUsersResponse](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.ListUsersResponse)

Message for response to listing Users

### [MaintenanceSchedule](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.MaintenanceSchedule)

MaintenanceSchedule stores the maintenance schedule generated
from the MaintenanceUpdatePolicy, once a maintenance rollout is
triggered, if MaintenanceWindow is set, and if there is no
conflicting DenyPeriod. The schedule is cleared once the update
takes place. This field cannot be manually changed; modify the
MaintenanceUpdatePolicy instead.

### [MaintenanceUpdatePolicy](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.MaintenanceUpdatePolicy)

MaintenanceUpdatePolicy defines the policy for system
updates.

### [MigrationSource](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.MigrationSource)

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

### [OperationMetadata](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.OperationMetadata)

Represents the metadata of the long-running operation.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [PromoteClusterRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.PromoteClusterRequest)

Message for promoting a Cluster

### [PromoteClusterStatus](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.PromoteClusterStatus)

Message for current status of the database during Promote
Cluster operation.

### [RestartInstanceRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.RestartInstanceRequest)

### [RestoreClusterRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.RestoreClusterRequest)

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

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [RestoreFromCloudSQLRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.RestoreFromCloudSQLRequest)

Message for registering Restoring from CloudSQL resource.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [SqlResult](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.SqlResult)

SqlResult represents the result for the execution of a sql
statement.

### [SqlResultColumn](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.SqlResultColumn)

Contains the name and datatype of a column in a SQL Result.

### [SqlResultRow](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.SqlResultRow)

A single row from a sql result.

### [SqlResultValue](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.SqlResultValue)

A single value in a row from a sql result.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [SslConfig](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.SslConfig)

SSL configuration.

### [SubscriptionType](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.SubscriptionType)

Subscription_type added to distinguish between Standard and Trial
subscriptions. By default, a subscription type is considered
STANDARD unless explicitly specified.

### [SupportedDatabaseFlag](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.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.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [SwitchoverClusterRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.SwitchoverClusterRequest)

Message for switching over to a cluster

### [UpdateBackupRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.UpdateBackupRequest)

Message for updating a Backup

### [UpdateClusterRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.UpdateClusterRequest)

Message for updating a Cluster

### [UpdateInstanceRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.UpdateInstanceRequest)

Message for updating a Instance

### [UpdateUserRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.UpdateUserRequest)

Message for updating a User

### [UpgradeClusterRequest](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.UpgradeClusterRequest)

Upgrades a cluster.

### [UpgradeClusterResponse](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.UpgradeClusterResponse)

UpgradeClusterResponse contains the response for upgrade
cluster operation.

### [UpgradeClusterStatus](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.UpgradeClusterStatus)

Message for current status of the Major Version Upgrade
operation.

### [User](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.User)

Message describing User object.

### [UserPassword](https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.UserPassword)

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