Class CloudSqlSettings

Settings for creating a Cloud SQL database instance.

Attributes
NameDescription
google.cloud.clouddms_v1.types.CloudSqlSettings.SqlDatabaseVersiondatabase_version
The database engine type and version.
Sequence[google.cloud.clouddms_v1.types.CloudSqlSettings.UserLabelsEntry]user_labels
The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: ``{ "name": "wrench", "mass": "18kg", "count": "3" }``.
strtier
The tier (or machine type) for this instance, for example: ``db-n1-standard-1`` (MySQL instances) or ``db-custom-1-3840`` (PostgreSQL instances). For more information, see `Cloud SQL Instance Settings
google.protobuf.wrappers_pb2.Int64Valuestorage_auto_resize_limit
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
google.cloud.clouddms_v1.types.CloudSqlSettings.SqlActivationPolicyactivation_policy
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.
google.cloud.clouddms_v1.types.SqlIpConfigip_config
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
google.protobuf.wrappers_pb2.BoolValueauto_storage_increase
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
Sequence[google.cloud.clouddms_v1.types.CloudSqlSettings.DatabaseFlagsEntry]database_flags
The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
google.cloud.clouddms_v1.types.CloudSqlSettings.SqlDataDiskTypedata_disk_type
The type of storage: ``PD_SSD`` (default) or ``PD_HDD``.
google.protobuf.wrappers_pb2.Int64Valuedata_disk_size_gb
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
strzone
The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.
strsource_id
The Database Migration Service source connection profile ID, in the format: ``projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID``
strroot_password
Input only. Initial root password.
boolroot_password_set
Output only. Indicates If this connection profile root password is stored.
strcollation
The Cloud SQL default instance level collation.

Inheritance

builtins.object > proto.message.Message > CloudSqlSettings

Classes

DatabaseFlagsEntry

DatabaseFlagsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

API documentation for clouddms_v1.types.CloudSqlSettings.DatabaseFlagsEntry class.

SqlActivationPolicy

SqlActivationPolicy(value)

Specifies when the instance should be activated.

SqlDataDiskType

SqlDataDiskType(value)

The storage options for Cloud SQL databases.

SqlDatabaseVersion

SqlDatabaseVersion(value)

The database engine type and version.

UserLabelsEntry

UserLabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

API documentation for clouddms_v1.types.CloudSqlSettings.UserLabelsEntry class.