Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::CloudSqlSettings.
Settings for creating a Cloud SQL database instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#activation_policy
def activation_policy() -> ::Google::Cloud::CloudDMS::V1::CloudSqlSettings::SqlActivationPolicy
-
(::Google::Cloud::CloudDMS::V1::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.
#activation_policy=
def activation_policy=(value) -> ::Google::Cloud::CloudDMS::V1::CloudSqlSettings::SqlActivationPolicy
-
value (::Google::Cloud::CloudDMS::V1::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.
-
(::Google::Cloud::CloudDMS::V1::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.
#auto_storage_increase
def auto_storage_increase() -> ::Google::Protobuf::BoolValue
- (::Google::Protobuf::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.
#auto_storage_increase=
def auto_storage_increase=(value) -> ::Google::Protobuf::BoolValue
- value (::Google::Protobuf::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.
- (::Google::Protobuf::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.
#collation
def collation() -> ::String
- (::String) — The Cloud SQL default instance level collation.
#collation=
def collation=(value) -> ::String
- value (::String) — The Cloud SQL default instance level collation.
- (::String) — The Cloud SQL default instance level collation.
#data_disk_size_gb
def data_disk_size_gb() -> ::Google::Protobuf::Int64Value
- (::Google::Protobuf::Int64Value) — The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
#data_disk_size_gb=
def data_disk_size_gb=(value) -> ::Google::Protobuf::Int64Value
- value (::Google::Protobuf::Int64Value) — The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
- (::Google::Protobuf::Int64Value) — The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
#data_disk_type
def data_disk_type() -> ::Google::Cloud::CloudDMS::V1::CloudSqlSettings::SqlDataDiskType
-
(::Google::Cloud::CloudDMS::V1::CloudSqlSettings::SqlDataDiskType) — The type of storage:
PD_SSD
(default) orPD_HDD
.
#data_disk_type=
def data_disk_type=(value) -> ::Google::Cloud::CloudDMS::V1::CloudSqlSettings::SqlDataDiskType
-
value (::Google::Cloud::CloudDMS::V1::CloudSqlSettings::SqlDataDiskType) — The type of storage:
PD_SSD
(default) orPD_HDD
.
-
(::Google::Cloud::CloudDMS::V1::CloudSqlSettings::SqlDataDiskType) — The type of storage:
PD_SSD
(default) orPD_HDD
.
#database_flags
def database_flags() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — 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" }.
#database_flags=
def database_flags=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — 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::Protobuf::Map{::String => ::String}) — 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" }.
#database_version
def database_version() -> ::Google::Cloud::CloudDMS::V1::CloudSqlSettings::SqlDatabaseVersion
- (::Google::Cloud::CloudDMS::V1::CloudSqlSettings::SqlDatabaseVersion) — The database engine type and version.
#database_version=
def database_version=(value) -> ::Google::Cloud::CloudDMS::V1::CloudSqlSettings::SqlDatabaseVersion
- value (::Google::Cloud::CloudDMS::V1::CloudSqlSettings::SqlDatabaseVersion) — The database engine type and version.
- (::Google::Cloud::CloudDMS::V1::CloudSqlSettings::SqlDatabaseVersion) — The database engine type and version.
#ip_config
def ip_config() -> ::Google::Cloud::CloudDMS::V1::SqlIpConfig
- (::Google::Cloud::CloudDMS::V1::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.
#ip_config=
def ip_config=(value) -> ::Google::Cloud::CloudDMS::V1::SqlIpConfig
- value (::Google::Cloud::CloudDMS::V1::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.
- (::Google::Cloud::CloudDMS::V1::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.
#root_password
def root_password() -> ::String
- (::String) — Input only. Initial root password.
#root_password=
def root_password=(value) -> ::String
- value (::String) — Input only. Initial root password.
- (::String) — Input only. Initial root password.
#root_password_set
def root_password_set() -> ::Boolean
- (::Boolean) — Output only. Indicates If this connection profile root password is stored.
#source_id
def source_id() -> ::String
-
(::String) — The Database Migration Service source connection profile ID,
in the format:
projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
#source_id=
def source_id=(value) -> ::String
-
value (::String) — The Database Migration Service source connection profile ID,
in the format:
projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
-
(::String) — The Database Migration Service source connection profile ID,
in the format:
projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
#storage_auto_resize_limit
def storage_auto_resize_limit() -> ::Google::Protobuf::Int64Value
- (::Google::Protobuf::Int64Value) — The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
#storage_auto_resize_limit=
def storage_auto_resize_limit=(value) -> ::Google::Protobuf::Int64Value
- value (::Google::Protobuf::Int64Value) — The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
- (::Google::Protobuf::Int64Value) — The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
#tier
def tier() -> ::String
-
(::String) — The tier (or machine type) for this instance, for example:
db-n1-standard-1
(MySQL instances) ordb-custom-1-3840
(PostgreSQL instances). For more information, see Cloud SQL Instance Settings.
#tier=
def tier=(value) -> ::String
-
value (::String) — The tier (or machine type) for this instance, for example:
db-n1-standard-1
(MySQL instances) ordb-custom-1-3840
(PostgreSQL instances). For more information, see Cloud SQL Instance Settings.
-
(::String) — The tier (or machine type) for this instance, for example:
db-n1-standard-1
(MySQL instances) ordb-custom-1-3840
(PostgreSQL instances). For more information, see Cloud SQL Instance Settings.
#user_labels
def user_labels() -> ::Google::Protobuf::Map{::String => ::String}
-
(::Google::Protobuf::Map{::String => ::String}) — 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" }
.
#user_labels=
def user_labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
-
value (::Google::Protobuf::Map{::String => ::String}) — 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" }
.
-
(::Google::Protobuf::Map{::String => ::String}) — 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" }
.
#zone
def zone() -> ::String
- (::String) — The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.
#zone=
def zone=(value) -> ::String
- value (::String) — The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.
- (::String) — The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.