Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::Settings.
Database instance settings.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#accelerated_replica_mode
def accelerated_replica_mode() -> ::Google::Protobuf::BoolValue- (::Google::Protobuf::BoolValue) — Optional. Whether the replica is in accelerated mode. This feature is in private preview and requires allowlisting to take effect.
#accelerated_replica_mode=
def accelerated_replica_mode=(value) -> ::Google::Protobuf::BoolValue- value (::Google::Protobuf::BoolValue) — Optional. Whether the replica is in accelerated mode. This feature is in private preview and requires allowlisting to take effect.
- (::Google::Protobuf::BoolValue) — Optional. Whether the replica is in accelerated mode. This feature is in private preview and requires allowlisting to take effect.
#activation_policy
def activation_policy() -> ::Google::Cloud::Sql::V1::Settings::SqlActivationPolicy-
(::Google::Cloud::Sql::V1::Settings::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::Sql::V1::Settings::SqlActivationPolicy-
value (::Google::Cloud::Sql::V1::Settings::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::Sql::V1::Settings::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.
-
#active_directory_config
def active_directory_config() -> ::Google::Cloud::Sql::V1::SqlActiveDirectoryConfig- (::Google::Cloud::Sql::V1::SqlActiveDirectoryConfig) — Active Directory configuration, relevant only for Cloud SQL for SQL Server.
#active_directory_config=
def active_directory_config=(value) -> ::Google::Cloud::Sql::V1::SqlActiveDirectoryConfig- value (::Google::Cloud::Sql::V1::SqlActiveDirectoryConfig) — Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- (::Google::Cloud::Sql::V1::SqlActiveDirectoryConfig) — Active Directory configuration, relevant only for Cloud SQL for SQL Server.
#advanced_machine_features
def advanced_machine_features() -> ::Google::Cloud::Sql::V1::AdvancedMachineFeatures- (::Google::Cloud::Sql::V1::AdvancedMachineFeatures) — Specifies advanced machine configuration for the instances relevant only for SQL Server.
#advanced_machine_features=
def advanced_machine_features=(value) -> ::Google::Cloud::Sql::V1::AdvancedMachineFeatures- value (::Google::Cloud::Sql::V1::AdvancedMachineFeatures) — Specifies advanced machine configuration for the instances relevant only for SQL Server.
- (::Google::Cloud::Sql::V1::AdvancedMachineFeatures) — Specifies advanced machine configuration for the instances relevant only for SQL Server.
#authorized_gae_applications
def authorized_gae_applications() -> ::Array<::String>- (::Array<::String>) — The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
#authorized_gae_applications=
def authorized_gae_applications=(value) -> ::Array<::String>- value (::Array<::String>) — The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
- (::Array<::String>) — The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
#auto_upgrade_enabled
def auto_upgrade_enabled() -> ::Boolean- (::Boolean) — Optional. Cloud SQL for MySQL auto-upgrade configuration. When this parameter is set to true, auto-upgrade is enabled for MySQL 8.0 minor versions. The MySQL version must be 8.0.35 or higher.
#auto_upgrade_enabled=
def auto_upgrade_enabled=(value) -> ::Boolean- value (::Boolean) — Optional. Cloud SQL for MySQL auto-upgrade configuration. When this parameter is set to true, auto-upgrade is enabled for MySQL 8.0 minor versions. The MySQL version must be 8.0.35 or higher.
- (::Boolean) — Optional. Cloud SQL for MySQL auto-upgrade configuration. When this parameter is set to true, auto-upgrade is enabled for MySQL 8.0 minor versions. The MySQL version must be 8.0.35 or higher.
#availability_type
def availability_type() -> ::Google::Cloud::Sql::V1::SqlAvailabilityType-
(::Google::Cloud::Sql::V1::SqlAvailabilityType) — 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.
-
#availability_type=
def availability_type=(value) -> ::Google::Cloud::Sql::V1::SqlAvailabilityType-
value (::Google::Cloud::Sql::V1::SqlAvailabilityType) — 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.
-
-
(::Google::Cloud::Sql::V1::SqlAvailabilityType) — 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.
-
#backup_configuration
def backup_configuration() -> ::Google::Cloud::Sql::V1::BackupConfiguration- (::Google::Cloud::Sql::V1::BackupConfiguration) — The daily backup configuration for the instance.
#backup_configuration=
def backup_configuration=(value) -> ::Google::Cloud::Sql::V1::BackupConfiguration- value (::Google::Cloud::Sql::V1::BackupConfiguration) — The daily backup configuration for the instance.
- (::Google::Cloud::Sql::V1::BackupConfiguration) — The daily backup configuration for the instance.
#collation
def collation() -> ::String- (::String) — The name of server Instance collation.
#collation=
def collation=(value) -> ::String- value (::String) — The name of server Instance collation.
- (::String) — The name of server Instance collation.
#connection_pool_config
def connection_pool_config() -> ::Google::Cloud::Sql::V1::ConnectionPoolConfig- (::Google::Cloud::Sql::V1::ConnectionPoolConfig) — Optional. The managed connection pooling configuration for the instance.
#connection_pool_config=
def connection_pool_config=(value) -> ::Google::Cloud::Sql::V1::ConnectionPoolConfig- value (::Google::Cloud::Sql::V1::ConnectionPoolConfig) — Optional. The managed connection pooling configuration for the instance.
- (::Google::Cloud::Sql::V1::ConnectionPoolConfig) — Optional. The managed connection pooling configuration for the instance.
#connector_enforcement
def connector_enforcement() -> ::Google::Cloud::Sql::V1::Settings::ConnectorEnforcement-
(::Google::Cloud::Sql::V1::Settings::ConnectorEnforcement) — 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) andREQUIRED(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.
#connector_enforcement=
def connector_enforcement=(value) -> ::Google::Cloud::Sql::V1::Settings::ConnectorEnforcement-
value (::Google::Cloud::Sql::V1::Settings::ConnectorEnforcement) — 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) andREQUIRED(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.
-
(::Google::Cloud::Sql::V1::Settings::ConnectorEnforcement) — 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) andREQUIRED(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.
#crash_safe_replication_enabled
def crash_safe_replication_enabled() -> ::Google::Protobuf::BoolValue- (::Google::Protobuf::BoolValue) — Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
#crash_safe_replication_enabled=
def crash_safe_replication_enabled=(value) -> ::Google::Protobuf::BoolValue- value (::Google::Protobuf::BoolValue) — Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
- (::Google::Protobuf::BoolValue) — Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
#data_api_access
def data_api_access() -> ::Google::Cloud::Sql::V1::Settings::DataApiAccess- (::Google::Cloud::Sql::V1::Settings::DataApiAccess) — This parameter controls whether to allow using ExecuteSql API to connect to the instance. Not allowed by default.
#data_api_access=
def data_api_access=(value) -> ::Google::Cloud::Sql::V1::Settings::DataApiAccess- value (::Google::Cloud::Sql::V1::Settings::DataApiAccess) — This parameter controls whether to allow using ExecuteSql API to connect to the instance. Not allowed by default.
- (::Google::Cloud::Sql::V1::Settings::DataApiAccess) — This parameter controls whether to allow using ExecuteSql API to connect to the instance. Not allowed by default.
#data_cache_config
def data_cache_config() -> ::Google::Cloud::Sql::V1::DataCacheConfig- (::Google::Cloud::Sql::V1::DataCacheConfig) — Configuration for data cache.
#data_cache_config=
def data_cache_config=(value) -> ::Google::Cloud::Sql::V1::DataCacheConfig- value (::Google::Cloud::Sql::V1::DataCacheConfig) — Configuration for data cache.
- (::Google::Cloud::Sql::V1::DataCacheConfig) — Configuration for data cache.
#data_disk_provisioned_iops
def data_disk_provisioned_iops() -> ::Integer- (::Integer) — Optional. Provisioned number of I/O operations per second for the data disk. This field is only used for hyperdisk-balanced disk types.
#data_disk_provisioned_iops=
def data_disk_provisioned_iops=(value) -> ::Integer- value (::Integer) — Optional. Provisioned number of I/O operations per second for the data disk. This field is only used for hyperdisk-balanced disk types.
- (::Integer) — Optional. Provisioned number of I/O operations per second for the data disk. This field is only used for hyperdisk-balanced disk types.
#data_disk_provisioned_throughput
def data_disk_provisioned_throughput() -> ::Integer- (::Integer) — Optional. Provisioned throughput measured in MiB per second for the data disk. This field is only used for hyperdisk-balanced disk types.
#data_disk_provisioned_throughput=
def data_disk_provisioned_throughput=(value) -> ::Integer- value (::Integer) — Optional. Provisioned throughput measured in MiB per second for the data disk. This field is only used for hyperdisk-balanced disk types.
- (::Integer) — Optional. Provisioned throughput measured in MiB per second for the data disk. This field is only used for hyperdisk-balanced disk types.
#data_disk_size_gb
def data_disk_size_gb() -> ::Google::Protobuf::Int64Value- (::Google::Protobuf::Int64Value) — The size of data disk, in GB. The data disk size minimum is 10GB.
#data_disk_size_gb=
def data_disk_size_gb=(value) -> ::Google::Protobuf::Int64Value- value (::Google::Protobuf::Int64Value) — The size of data disk, in GB. The data disk size minimum is 10GB.
- (::Google::Protobuf::Int64Value) — The size of data disk, in GB. The data disk size minimum is 10GB.
#data_disk_type
def data_disk_type() -> ::Google::Cloud::Sql::V1::SqlDataDiskType-
(::Google::Cloud::Sql::V1::SqlDataDiskType) — The type of data disk:
PD_SSD(default) orPD_HDD. Not used for First Generation instances.
#data_disk_type=
def data_disk_type=(value) -> ::Google::Cloud::Sql::V1::SqlDataDiskType-
value (::Google::Cloud::Sql::V1::SqlDataDiskType) — The type of data disk:
PD_SSD(default) orPD_HDD. Not used for First Generation instances.
-
(::Google::Cloud::Sql::V1::SqlDataDiskType) — The type of data disk:
PD_SSD(default) orPD_HDD. Not used for First Generation instances.
#database_flags
def database_flags() -> ::Array<::Google::Cloud::Sql::V1::DatabaseFlags>- (::Array<::Google::Cloud::Sql::V1::DatabaseFlags>) — The database flags passed to the instance at startup.
#database_flags=
def database_flags=(value) -> ::Array<::Google::Cloud::Sql::V1::DatabaseFlags>- value (::Array<::Google::Cloud::Sql::V1::DatabaseFlags>) — The database flags passed to the instance at startup.
- (::Array<::Google::Cloud::Sql::V1::DatabaseFlags>) — The database flags passed to the instance at startup.
#database_replication_enabled
def database_replication_enabled() -> ::Google::Protobuf::BoolValue- (::Google::Protobuf::BoolValue) — Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
#database_replication_enabled=
def database_replication_enabled=(value) -> ::Google::Protobuf::BoolValue- value (::Google::Protobuf::BoolValue) — Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
- (::Google::Protobuf::BoolValue) — Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
#deletion_protection_enabled
def deletion_protection_enabled() -> ::Google::Protobuf::BoolValue- (::Google::Protobuf::BoolValue) — Configuration to protect against accidental instance deletion.
#deletion_protection_enabled=
def deletion_protection_enabled=(value) -> ::Google::Protobuf::BoolValue- value (::Google::Protobuf::BoolValue) — Configuration to protect against accidental instance deletion.
- (::Google::Protobuf::BoolValue) — Configuration to protect against accidental instance deletion.
#deny_maintenance_periods
def deny_maintenance_periods() -> ::Array<::Google::Cloud::Sql::V1::DenyMaintenancePeriod>- (::Array<::Google::Cloud::Sql::V1::DenyMaintenancePeriod>) — Deny maintenance periods
#deny_maintenance_periods=
def deny_maintenance_periods=(value) -> ::Array<::Google::Cloud::Sql::V1::DenyMaintenancePeriod>- value (::Array<::Google::Cloud::Sql::V1::DenyMaintenancePeriod>) — Deny maintenance periods
- (::Array<::Google::Cloud::Sql::V1::DenyMaintenancePeriod>) — Deny maintenance periods
#edition
def edition() -> ::Google::Cloud::Sql::V1::Settings::Edition- (::Google::Cloud::Sql::V1::Settings::Edition) — Optional. The edition of the instance.
#edition=
def edition=(value) -> ::Google::Cloud::Sql::V1::Settings::Edition- value (::Google::Cloud::Sql::V1::Settings::Edition) — Optional. The edition of the instance.
- (::Google::Cloud::Sql::V1::Settings::Edition) — Optional. The edition of the instance.
#enable_dataplex_integration
def enable_dataplex_integration() -> ::Google::Protobuf::BoolValue- (::Google::Protobuf::BoolValue) — Optional. By default, Cloud SQL instances have schema extraction disabled for Dataplex. When this parameter is set to true, schema extraction for Dataplex on Cloud SQL instances is activated.
#enable_dataplex_integration=
def enable_dataplex_integration=(value) -> ::Google::Protobuf::BoolValue- value (::Google::Protobuf::BoolValue) — Optional. By default, Cloud SQL instances have schema extraction disabled for Dataplex. When this parameter is set to true, schema extraction for Dataplex on Cloud SQL instances is activated.
- (::Google::Protobuf::BoolValue) — Optional. By default, Cloud SQL instances have schema extraction disabled for Dataplex. When this parameter is set to true, schema extraction for Dataplex on Cloud SQL instances is activated.
#enable_google_ml_integration
def enable_google_ml_integration() -> ::Google::Protobuf::BoolValue- (::Google::Protobuf::BoolValue) — Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for MySQL and Cloud SQL for PostgreSQL instances.
#enable_google_ml_integration=
def enable_google_ml_integration=(value) -> ::Google::Protobuf::BoolValue- value (::Google::Protobuf::BoolValue) — Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for MySQL and Cloud SQL for PostgreSQL instances.
- (::Google::Protobuf::BoolValue) — Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for MySQL and Cloud SQL for PostgreSQL instances.
#entraid_config
def entraid_config() -> ::Google::Cloud::Sql::V1::SqlServerEntraIdConfig- (::Google::Cloud::Sql::V1::SqlServerEntraIdConfig) — Optional. The Microsoft Entra ID configuration for the SQL Server instance.
#entraid_config=
def entraid_config=(value) -> ::Google::Cloud::Sql::V1::SqlServerEntraIdConfig- value (::Google::Cloud::Sql::V1::SqlServerEntraIdConfig) — Optional. The Microsoft Entra ID configuration for the SQL Server instance.
- (::Google::Cloud::Sql::V1::SqlServerEntraIdConfig) — Optional. The Microsoft Entra ID configuration for the SQL Server instance.
#final_backup_config
def final_backup_config() -> ::Google::Cloud::Sql::V1::FinalBackupConfig- (::Google::Cloud::Sql::V1::FinalBackupConfig) — Optional. The final backup configuration for the instance.
#final_backup_config=
def final_backup_config=(value) -> ::Google::Cloud::Sql::V1::FinalBackupConfig- value (::Google::Cloud::Sql::V1::FinalBackupConfig) — Optional. The final backup configuration for the instance.
- (::Google::Cloud::Sql::V1::FinalBackupConfig) — Optional. The final backup configuration for the instance.
#insights_config
def insights_config() -> ::Google::Cloud::Sql::V1::InsightsConfig- (::Google::Cloud::Sql::V1::InsightsConfig) — Insights configuration, for now relevant only for Postgres.
#insights_config=
def insights_config=(value) -> ::Google::Cloud::Sql::V1::InsightsConfig- value (::Google::Cloud::Sql::V1::InsightsConfig) — Insights configuration, for now relevant only for Postgres.
- (::Google::Cloud::Sql::V1::InsightsConfig) — Insights configuration, for now relevant only for Postgres.
#ip_configuration
def ip_configuration() -> ::Google::Cloud::Sql::V1::IpConfiguration- (::Google::Cloud::Sql::V1::IpConfiguration) — 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 for Second Generation instances.
#ip_configuration=
def ip_configuration=(value) -> ::Google::Cloud::Sql::V1::IpConfiguration- value (::Google::Cloud::Sql::V1::IpConfiguration) — 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 for Second Generation instances.
- (::Google::Cloud::Sql::V1::IpConfiguration) — 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 for Second Generation instances.
#kind
def kind() -> ::String-
(::String) — This is always
sql#settings.
#kind=
def kind=(value) -> ::String-
value (::String) — This is always
sql#settings.
-
(::String) — This is always
sql#settings.
#location_preference
def location_preference() -> ::Google::Cloud::Sql::V1::LocationPreference- (::Google::Cloud::Sql::V1::LocationPreference) — The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.
#location_preference=
def location_preference=(value) -> ::Google::Cloud::Sql::V1::LocationPreference- value (::Google::Cloud::Sql::V1::LocationPreference) — The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.
- (::Google::Cloud::Sql::V1::LocationPreference) — The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.
#maintenance_window
def maintenance_window() -> ::Google::Cloud::Sql::V1::MaintenanceWindow- (::Google::Cloud::Sql::V1::MaintenanceWindow) — The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
#maintenance_window=
def maintenance_window=(value) -> ::Google::Cloud::Sql::V1::MaintenanceWindow- value (::Google::Cloud::Sql::V1::MaintenanceWindow) — The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
- (::Google::Cloud::Sql::V1::MaintenanceWindow) — The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
#password_validation_policy
def password_validation_policy() -> ::Google::Cloud::Sql::V1::PasswordValidationPolicy- (::Google::Cloud::Sql::V1::PasswordValidationPolicy) — The local user password validation policy of the instance.
#password_validation_policy=
def password_validation_policy=(value) -> ::Google::Cloud::Sql::V1::PasswordValidationPolicy- value (::Google::Cloud::Sql::V1::PasswordValidationPolicy) — The local user password validation policy of the instance.
- (::Google::Cloud::Sql::V1::PasswordValidationPolicy) — The local user password validation policy of the instance.
#performance_capture_config
def performance_capture_config() -> ::Google::Cloud::Sql::V1::PerformanceCaptureConfig- (::Google::Cloud::Sql::V1::PerformanceCaptureConfig) — Optional. Configuration for Performance Capture, provides diagnostic metrics during high load situations.
#performance_capture_config=
def performance_capture_config=(value) -> ::Google::Cloud::Sql::V1::PerformanceCaptureConfig- value (::Google::Cloud::Sql::V1::PerformanceCaptureConfig) — Optional. Configuration for Performance Capture, provides diagnostic metrics during high load situations.
- (::Google::Cloud::Sql::V1::PerformanceCaptureConfig) — Optional. Configuration for Performance Capture, provides diagnostic metrics during high load situations.
#pricing_plan
def pricing_plan() -> ::Google::Cloud::Sql::V1::SqlPricingPlan-
(::Google::Cloud::Sql::V1::SqlPricingPlan) — The pricing plan for this instance. This can be either
PER_USEorPACKAGE. OnlyPER_USEis supported for Second Generation instances.
#pricing_plan=
def pricing_plan=(value) -> ::Google::Cloud::Sql::V1::SqlPricingPlan-
value (::Google::Cloud::Sql::V1::SqlPricingPlan) — The pricing plan for this instance. This can be either
PER_USEorPACKAGE. OnlyPER_USEis supported for Second Generation instances.
-
(::Google::Cloud::Sql::V1::SqlPricingPlan) — The pricing plan for this instance. This can be either
PER_USEorPACKAGE. OnlyPER_USEis supported for Second Generation instances.
#read_pool_auto_scale_config
def read_pool_auto_scale_config() -> ::Google::Cloud::Sql::V1::ReadPoolAutoScaleConfig- (::Google::Cloud::Sql::V1::ReadPoolAutoScaleConfig) — Optional. The read pool auto-scale configuration for the instance.
#read_pool_auto_scale_config=
def read_pool_auto_scale_config=(value) -> ::Google::Cloud::Sql::V1::ReadPoolAutoScaleConfig- value (::Google::Cloud::Sql::V1::ReadPoolAutoScaleConfig) — Optional. The read pool auto-scale configuration for the instance.
- (::Google::Cloud::Sql::V1::ReadPoolAutoScaleConfig) — Optional. The read pool auto-scale configuration for the instance.
#replication_lag_max_seconds
def replication_lag_max_seconds() -> ::Google::Protobuf::Int32Value- (::Google::Protobuf::Int32Value) — Optional. Configuration value for recreation of replica after certain replication lag
#replication_lag_max_seconds=
def replication_lag_max_seconds=(value) -> ::Google::Protobuf::Int32Value- value (::Google::Protobuf::Int32Value) — Optional. Configuration value for recreation of replica after certain replication lag
- (::Google::Protobuf::Int32Value) — Optional. Configuration value for recreation of replica after certain replication lag
#replication_type
def replication_type() -> ::Google::Cloud::Sql::V1::SqlReplicationType-
(::Google::Cloud::Sql::V1::SqlReplicationType) — The type of replication this instance uses. This can be either
ASYNCHRONOUSorSYNCHRONOUS. (Deprecated) This property was only applicable to First Generation instances.
#replication_type=
def replication_type=(value) -> ::Google::Cloud::Sql::V1::SqlReplicationType-
value (::Google::Cloud::Sql::V1::SqlReplicationType) — The type of replication this instance uses. This can be either
ASYNCHRONOUSorSYNCHRONOUS. (Deprecated) This property was only applicable to First Generation instances.
-
(::Google::Cloud::Sql::V1::SqlReplicationType) — The type of replication this instance uses. This can be either
ASYNCHRONOUSorSYNCHRONOUS. (Deprecated) This property was only applicable to First Generation instances.
#retain_backups_on_delete
def retain_backups_on_delete() -> ::Google::Protobuf::BoolValue- (::Google::Protobuf::BoolValue) — Optional. When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The ON_DEMAND backup will be retained until customer deletes the backup or the project. The AUTOMATED backup will be retained based on the backups retention setting.
#retain_backups_on_delete=
def retain_backups_on_delete=(value) -> ::Google::Protobuf::BoolValue- value (::Google::Protobuf::BoolValue) — Optional. When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The ON_DEMAND backup will be retained until customer deletes the backup or the project. The AUTOMATED backup will be retained based on the backups retention setting.
- (::Google::Protobuf::BoolValue) — Optional. When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The ON_DEMAND backup will be retained until customer deletes the backup or the project. The AUTOMATED backup will be retained based on the backups retention setting.
#settings_version
def settings_version() -> ::Google::Protobuf::Int64Value- (::Google::Protobuf::Int64Value) — The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.
#settings_version=
def settings_version=(value) -> ::Google::Protobuf::Int64Value- value (::Google::Protobuf::Int64Value) — The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.
- (::Google::Protobuf::Int64Value) — The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.
#sql_server_audit_config
def sql_server_audit_config() -> ::Google::Cloud::Sql::V1::SqlServerAuditConfig- (::Google::Cloud::Sql::V1::SqlServerAuditConfig) — SQL Server specific audit configuration.
#sql_server_audit_config=
def sql_server_audit_config=(value) -> ::Google::Cloud::Sql::V1::SqlServerAuditConfig- value (::Google::Cloud::Sql::V1::SqlServerAuditConfig) — SQL Server specific audit configuration.
- (::Google::Cloud::Sql::V1::SqlServerAuditConfig) — SQL Server specific audit configuration.
#storage_auto_resize
def storage_auto_resize() -> ::Google::Protobuf::BoolValue- (::Google::Protobuf::BoolValue) — Configuration to increase storage size automatically. The default value is true.
#storage_auto_resize=
def storage_auto_resize=(value) -> ::Google::Protobuf::BoolValue- value (::Google::Protobuf::BoolValue) — Configuration to increase storage size automatically. The default value is true.
- (::Google::Protobuf::BoolValue) — Configuration to increase storage size automatically. The default value is true.
#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-custom-1-3840. WARNING: Changing this restarts the instance.
#tier=
def tier=(value) -> ::String-
value (::String) — The tier (or machine type) for this instance, for example
db-custom-1-3840. WARNING: Changing this restarts the instance.
-
(::String) — The tier (or machine type) for this instance, for example
db-custom-1-3840. WARNING: Changing this restarts the instance.
#time_zone
def time_zone() -> ::String- (::String) — Server timezone, relevant only for Cloud SQL for SQL Server.
#time_zone=
def time_zone=(value) -> ::String- value (::String) — Server timezone, relevant only for Cloud SQL for SQL Server.
- (::String) — Server timezone, relevant only for Cloud SQL for SQL Server.
#user_labels
def user_labels() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — User-provided labels, represented as a dictionary where each label is a single key value pair.
#user_labels=
def user_labels=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — User-provided labels, represented as a dictionary where each label is a single key value pair.
- (::Google::Protobuf::Map{::String => ::String}) — User-provided labels, represented as a dictionary where each label is a single key value pair.