Class CloudSqlSettings (1.9.5)

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

Settings for creating a Cloud SQL database instance.

Attributes

Name Description
database_version google.cloud.clouddms_v1.types.CloudSqlSettings.SqlDatabaseVersion
The database engine type and version.
user_labels MutableMapping[str, str]
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" }.
tier str
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
storage_auto_resize_limit google.protobuf.wrappers_pb2.Int64Value
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
activation_policy google.cloud.clouddms_v1.types.CloudSqlSettings.SqlActivationPolicy
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.
ip_config google.cloud.clouddms_v1.types.SqlIpConfig
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.
auto_storage_increase google.protobuf.wrappers_pb2.BoolValue
[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.
database_flags MutableMapping[str, str]
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" }.
data_disk_type google.cloud.clouddms_v1.types.CloudSqlSettings.SqlDataDiskType
The type of storage: PD_SSD (default) or PD_HDD.
data_disk_size_gb google.protobuf.wrappers_pb2.Int64Value
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
zone str
The Google Cloud Platform zone where your Cloud SQL database instance is located.
secondary_zone str
Optional. The Google Cloud Platform zone where the failover Cloud SQL database instance is located. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
source_id str
The Database Migration Service source connection profile ID, in the format: projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
root_password str
Input only. Initial root password.
root_password_set bool
Output only. Indicates If this connection profile root password is stored.
collation str
The Cloud SQL default instance level collation.
cmek_key_name str
The KMS key name used for the csql instance.
availability_type google.cloud.clouddms_v1.types.CloudSqlSettings.SqlAvailabilityType
Optional. Availability type. Potential values: - ZONAL: The instance serves data from only one zone. Outages in that zone affect data availability. - REGIONAL: The instance can serve data from more than one zone in a region (it is highly available).
edition google.cloud.clouddms_v1.types.CloudSqlSettings.Edition
Optional. The edition of the given Cloud SQL instance.

Classes

DatabaseFlagsEntry

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

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Edition

Edition(value)

The edition of the given Cloud SQL instance. Can be ENTERPRISE or ENTERPRISE_PLUS.

SqlActivationPolicy

SqlActivationPolicy(value)

Specifies when the instance should be activated.

SqlAvailabilityType

SqlAvailabilityType(value)

The availability type of the given Cloud SQL instance.

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)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.