Package-level declarations

Types

Link copied to clipboard

The unit that 'retained_backups' represents.

Link copied to clipboard

Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.

Link copied to clipboard

The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.

Link copied to clipboard

The backend type. SECOND_GEN: Cloud SQL database instance. EXTERNAL: A database server that is not managed by Google. This property is read-only; use the tier property in the settings object to determine the database type.

Link copied to clipboard

The database engine type and version. The databaseVersion field cannot be changed after instance creation.

Link copied to clipboard

The instance type.

Link copied to clipboard

The current serving state of the Cloud SQL instance.

Link copied to clipboard
Link copied to clipboard

The type of this IP address. A PRIMARY address is a public address that can accept incoming connections. A PRIVATE address is a private address that can accept incoming connections. An OUTGOING address is the source address of connections originating from the instance, if supported.

Link copied to clipboard

Maintenance timing setting: canary (Earlier) or stable (Later). Learn more.

Link copied to clipboard

The complexity of the password.

Link copied to clipboard

The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: * ALWAYS: The instance is on, and remains so even in the absence of connection requests. * NEVER: The instance is off; it is not activated, even if a connection request arrives.

Link copied to clipboard

Availability type. Potential values: * ZONAL: The instance serves data from only one zone. Outages in that zone affect data accessibility. * REGIONAL: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see Overview of the High Availability Configuration.

Link copied to clipboard

Specifies if connections must use Cloud SQL connectors. Option values include the following: NOT_REQUIRED (Cloud SQL instances can be connected without Cloud SQL Connectors) and REQUIRED (Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.

Link copied to clipboard

The type of data disk: PD_SSD (default) or PD_HDD. Not used for First Generation instances.

Link copied to clipboard

The pricing plan for this instance. This can be either PER_USE or PACKAGE. Only PER_USE is supported for Second Generation instances.

Link copied to clipboard

The type of replication this instance uses. This can be either ASYNCHRONOUS or SYNCHRONOUS. (Deprecated) This property was only applicable to First Generation instances.

Link copied to clipboard

This field represents the state generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job

Link copied to clipboard

Dual password status for the user.

Link copied to clipboard

The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.