# Google Cloud Sql Admin V1 Client - Class Settings (1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.2.6 1.1.0 1.0.0 0.19.0 0.18.0 0.17.1 0.16.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.12 Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class Settings.

Database instance settings.

Generated from protobuf message `google.cloud.sql.v1.Settings`

## Namespace

Google \\ Cloud \\ Sql \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ settings_version` | `https://protobuf.dev/reference/php/api-docs/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. |
| `↳ authorized_gae_applications` | `string[]` The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only. |
| `↳ tier` | `string` The tier (or machine type) for this instance, for example `db-custom-1-3840`. WARNING: Changing this restarts the instance. |
| `↳ kind` | `string` This is always `sql#settings`. |
| `↳ user_labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` User-provided labels, represented as a dictionary where each label is a single key value pair. |
| `↳ availability_type` | `int` 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](https://cloud.google.com/sql/docs/mysql/high-availability). |
| `↳ pricing_plan` | `int` The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances. |
| `↳ replication_type` | `int` The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only applicable to First Generation instances. |
| `↳ storage_auto_resize_limit` | `https://protobuf.dev/reference/php/api-docs/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. |
| `↳ activation_policy` | `int` 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_configuration` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/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. |
| `↳ storage_auto_resize` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` Configuration to increase storage size automatically. The default value is true. |
| `↳ location_preference` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/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. |
| `↳ database_flags` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.DatabaseFlags>` The database flags passed to the instance at startup. |
| `↳ data_disk_type` | `int` The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances. |
| `↳ maintenance_window` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.MaintenanceWindow` The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes. |
| `↳ backup_configuration` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.BackupConfiguration` The daily backup configuration for the instance. |
| `↳ database_replication_enabled` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance. |
| `↳ crash_safe_replication_enabled` | `https://protobuf.dev/reference/php/api-docs/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_disk_size_gb` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Int64Value` The size of data disk, in GB. The data disk size minimum is 10GB. |
| `↳ active_directory_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlActiveDirectoryConfig` Active Directory configuration, relevant only for Cloud SQL for SQL Server. |
| `↳ collation` | `string` The name of server Instance collation. |
| `↳ deny_maintenance_periods` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.DenyMaintenancePeriod>` Deny maintenance periods |
| `↳ insights_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.InsightsConfig` Insights configuration, for now relevant only for Postgres. |
| `↳ password_validation_policy` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.PasswordValidationPolicy` The local user password validation policy of the instance. |
| `↳ sql_server_audit_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlServerAuditConfig` SQL Server specific audit configuration. |
| `↳ edition` | `int` Optional. The edition of the instance. |
| `↳ connector_enforcement` | `int` 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. |
| `↳ deletion_protection_enabled` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` Configuration to protect against accidental instance deletion. |
| `↳ time_zone` | `string` Server timezone, relevant only for Cloud SQL for SQL Server. |
| `↳ advanced_machine_features` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.AdvancedMachineFeatures` Specifies advanced machine configuration for the instances relevant only for SQL Server. |
| `↳ data_cache_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.DataCacheConfig` Configuration for data cache. |
| `↳ replication_lag_max_seconds` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Int32Value` Optional. Configuration value for recreation of replica after certain replication lag |
| `↳ enable_google_ml_integration` | `https://protobuf.dev/reference/php/api-docs/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_dataplex_integration` | `https://protobuf.dev/reference/php/api-docs/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. |
| `↳ retain_backups_on_delete` | `https://protobuf.dev/reference/php/api-docs/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. |
| `↳ data_disk_provisioned_iops` | `int|string` 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` | `int|string` Optional. Provisioned throughput measured in MiB per second for the data disk. This field is only used for hyperdisk-balanced disk types. |
| `↳ connection_pool_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.ConnectionPoolConfig` Optional. The managed connection pooling configuration for the instance. |
| `↳ final_backup_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.FinalBackupConfig` Optional. The final backup configuration for the instance. |
| `↳ read_pool_auto_scale_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.ReadPoolAutoScaleConfig` Optional. The read pool auto-scale configuration for the instance. |
| `↳ accelerated_replica_mode` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` Optional. Whether the replica is in accelerated mode. This feature is in private preview and requires allowlisting to take effect. |
| `↳ auto_upgrade_enabled` | `bool` 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. |
| `↳ entraid_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlServerEntraIdConfig` Optional. The Microsoft Entra ID configuration for the SQL Server instance. |
| `↳ data_api_access` | `int` This parameter controls whether to allow using ExecuteSql API to connect to the instance. Not allowed by default. |
| `↳ performance_capture_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.PerformanceCaptureConfig` Optional. Configuration for Performance Capture, provides diagnostic metrics during high load situations. |

### getSettingsVersion

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Int64Value|null` |   |

### hasSettingsVersion

### clearSettingsVersion

### getSettingsVersionUnwrapped

Returns the unboxed value from `getSettingsVersion()`

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string|null` |   |

### setSettingsVersion

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Int64Value` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### setSettingsVersionUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\Int64Value object.

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string|null` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAuthorizedGaeApplications

The App Engine app IDs that can access this instance.

(Deprecated) Applied to First Generation instances only.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setAuthorizedGaeApplications

The App Engine app IDs that can access this instance.

(Deprecated) Applied to First Generation instances only.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTier

The tier (or machine type) for this instance, for example
`db-custom-1-3840`. WARNING: Changing this restarts the instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setTier

The tier (or machine type) for this instance, for example
`db-custom-1-3840`. WARNING: Changing this restarts the instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getKind

This is always `sql#settings`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setKind

This is always `sql#settings`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUserLabels

User-provided labels, represented as a dictionary where each label is a
single key value pair.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setUserLabels

User-provided labels, represented as a dictionary where each label is a
single key value pair.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAvailabilityType

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](https://cloud.google.com/sql/docs/mysql/high-availability).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [SqlAvailabilityType](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlAvailabilityType). |

### setAvailabilityType

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](https://cloud.google.com/sql/docs/mysql/high-availability).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [SqlAvailabilityType](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlAvailabilityType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPricingPlan

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [SqlPricingPlan](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlPricingPlan). |

### setPricingPlan

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [SqlPricingPlan](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlPricingPlan). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getReplicationType

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [SqlReplicationType](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlReplicationType). |

### setReplicationType

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [SqlReplicationType](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlReplicationType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getStorageAutoResizeLimit

The maximum size to which storage capacity can be automatically increased.

The default value is 0, which specifies that there is no limit.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Int64Value|null` |   |

### hasStorageAutoResizeLimit

### clearStorageAutoResizeLimit

### getStorageAutoResizeLimitUnwrapped

Returns the unboxed value from `getStorageAutoResizeLimit()`

The maximum size to which storage capacity can be automatically increased.
The default value is 0, which specifies that there is no limit.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string|null` |   |

### setStorageAutoResizeLimit

The maximum size to which storage capacity can be automatically increased.

The default value is 0, which specifies that there is no limit.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Int64Value` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### setStorageAutoResizeLimitUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\Int64Value object.

The maximum size to which storage capacity can be automatically increased.
The default value is 0, which specifies that there is no limit.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string|null` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getActivationPolicy

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [SqlActivationPolicy](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.Settings.SqlActivationPolicy). |

### setActivationPolicy

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [SqlActivationPolicy](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.Settings.SqlActivationPolicy). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getIpConfiguration

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.IpConfiguration|null` |   |

### hasIpConfiguration

### clearIpConfiguration

### setIpConfiguration

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.IpConfiguration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getStorageAutoResize

Configuration to increase storage size automatically. The default value is
true.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue|null` |   |

### hasStorageAutoResize

### clearStorageAutoResize

### getStorageAutoResizeUnwrapped

Returns the unboxed value from `getStorageAutoResize()`

Configuration to increase storage size automatically. The default value is
true.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool|null` |   |

### setStorageAutoResize

Configuration to increase storage size automatically. The default value is
true.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### setStorageAutoResizeUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\BoolValue object.

Configuration to increase storage size automatically. The default value is
true.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool|null` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLocationPreference

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.LocationPreference|null` |   |

### hasLocationPreference

### clearLocationPreference

### setLocationPreference

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.LocationPreference` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDatabaseFlags

The database flags passed to the instance at startup.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.DatabaseFlags>` |   |

### setDatabaseFlags

The database flags passed to the instance at startup.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.DatabaseFlags>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDataDiskType

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [SqlDataDiskType](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlDataDiskType). |

### setDataDiskType

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [SqlDataDiskType](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlDataDiskType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMaintenanceWindow

The maintenance window for this instance. This specifies when the instance
can be restarted for maintenance purposes.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.MaintenanceWindow|null` |   |

### hasMaintenanceWindow

### clearMaintenanceWindow

### setMaintenanceWindow

The maintenance window for this instance. This specifies when the instance
can be restarted for maintenance purposes.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.MaintenanceWindow` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBackupConfiguration

The daily backup configuration for the instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.BackupConfiguration|null` |   |

### hasBackupConfiguration

### clearBackupConfiguration

### setBackupConfiguration

The daily backup configuration for the instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.BackupConfiguration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDatabaseReplicationEnabled

Configuration specific to read replica instances. Indicates whether
replication is enabled or not. WARNING: Changing this restarts the
instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue|null` |   |

### hasDatabaseReplicationEnabled

### clearDatabaseReplicationEnabled

### getDatabaseReplicationEnabledUnwrapped

Returns the unboxed value from `getDatabaseReplicationEnabled()`

Configuration specific to read replica instances. Indicates whether
replication is enabled or not. WARNING: Changing this restarts the
instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool|null` |   |

### setDatabaseReplicationEnabled

Configuration specific to read replica instances. Indicates whether
replication is enabled or not. WARNING: Changing this restarts the
instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### setDatabaseReplicationEnabledUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\BoolValue object.

Configuration specific to read replica instances. Indicates whether
replication is enabled or not. WARNING: Changing this restarts the
instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool|null` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCrashSafeReplicationEnabled

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue|null` |   |

### hasCrashSafeReplicationEnabled

### clearCrashSafeReplicationEnabled

### getCrashSafeReplicationEnabledUnwrapped

Returns the unboxed value from `getCrashSafeReplicationEnabled()`

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool|null` |   |

### setCrashSafeReplicationEnabled

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### setCrashSafeReplicationEnabledUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\BoolValue object.

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool|null` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDataDiskSizeGb

The size of data disk, in GB. The data disk size minimum is 10GB.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Int64Value|null` |   |

### hasDataDiskSizeGb

### clearDataDiskSizeGb

### getDataDiskSizeGbUnwrapped

Returns the unboxed value from `getDataDiskSizeGb()`

The size of data disk, in GB. The data disk size minimum is 10GB.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string|null` |   |

### setDataDiskSizeGb

The size of data disk, in GB. The data disk size minimum is 10GB.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Int64Value` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### setDataDiskSizeGbUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\Int64Value object.

The size of data disk, in GB. The data disk size minimum is 10GB.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string|null` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getActiveDirectoryConfig

Active Directory configuration, relevant only for Cloud SQL for SQL Server.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlActiveDirectoryConfig|null` |   |

### hasActiveDirectoryConfig

### clearActiveDirectoryConfig

### setActiveDirectoryConfig

Active Directory configuration, relevant only for Cloud SQL for SQL Server.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlActiveDirectoryConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCollation

The name of server Instance collation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setCollation

The name of server Instance collation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDenyMaintenancePeriods

Deny maintenance periods

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.DenyMaintenancePeriod>` |   |

### setDenyMaintenancePeriods

Deny maintenance periods

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.DenyMaintenancePeriod>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getInsightsConfig

Insights configuration, for now relevant only for Postgres.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.InsightsConfig|null` |   |

### hasInsightsConfig

### clearInsightsConfig

### setInsightsConfig

Insights configuration, for now relevant only for Postgres.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.InsightsConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPasswordValidationPolicy

The local user password validation policy of the instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.PasswordValidationPolicy|null` |   |

### hasPasswordValidationPolicy

### clearPasswordValidationPolicy

### setPasswordValidationPolicy

The local user password validation policy of the instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.PasswordValidationPolicy` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSqlServerAuditConfig

SQL Server specific audit configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlServerAuditConfig|null` |   |

### hasSqlServerAuditConfig

### clearSqlServerAuditConfig

### setSqlServerAuditConfig

SQL Server specific audit configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlServerAuditConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEdition

Optional. The edition of the instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Edition](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.Settings.Edition). |

### setEdition

Optional. The edition of the instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Edition](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.Settings.Edition). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getConnectorEnforcement

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ConnectorEnforcement](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.Settings.ConnectorEnforcement). |

### setConnectorEnforcement

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ConnectorEnforcement](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.Settings.ConnectorEnforcement). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDeletionProtectionEnabled

Configuration to protect against accidental instance deletion.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue|null` |   |

### hasDeletionProtectionEnabled

### clearDeletionProtectionEnabled

### getDeletionProtectionEnabledUnwrapped

Returns the unboxed value from `getDeletionProtectionEnabled()`

Configuration to protect against accidental instance deletion.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool|null` |   |

### setDeletionProtectionEnabled

Configuration to protect against accidental instance deletion.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### setDeletionProtectionEnabledUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\BoolValue object.

Configuration to protect against accidental instance deletion.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool|null` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTimeZone

Server timezone, relevant only for Cloud SQL for SQL Server.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setTimeZone

Server timezone, relevant only for Cloud SQL for SQL Server.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAdvancedMachineFeatures

Specifies advanced machine configuration for the instances relevant only
for SQL Server.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.AdvancedMachineFeatures|null` |   |

### hasAdvancedMachineFeatures

### clearAdvancedMachineFeatures

### setAdvancedMachineFeatures

Specifies advanced machine configuration for the instances relevant only
for SQL Server.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.AdvancedMachineFeatures` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDataCacheConfig

Configuration for data cache.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.DataCacheConfig|null` |   |

### hasDataCacheConfig

### clearDataCacheConfig

### setDataCacheConfig

Configuration for data cache.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.DataCacheConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getReplicationLagMaxSeconds

Optional. Configuration value for recreation of replica after certain
replication lag

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Int32Value|null` |   |

### hasReplicationLagMaxSeconds

### clearReplicationLagMaxSeconds

### getReplicationLagMaxSecondsUnwrapped

Returns the unboxed value from `getReplicationLagMaxSeconds()`

Optional. Configuration value for recreation of replica after certain
replication lag

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|null` |   |

### setReplicationLagMaxSeconds

Optional. Configuration value for recreation of replica after certain
replication lag

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Int32Value` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### setReplicationLagMaxSecondsUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\Int32Value object.

Optional. Configuration value for recreation of replica after certain
replication lag

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|null` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEnableGoogleMlIntegration

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue|null` |   |

### hasEnableGoogleMlIntegration

### clearEnableGoogleMlIntegration

### getEnableGoogleMlIntegrationUnwrapped

Returns the unboxed value from `getEnableGoogleMlIntegration()`

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool|null` |   |

### setEnableGoogleMlIntegration

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### setEnableGoogleMlIntegrationUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\BoolValue object.

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool|null` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEnableDataplexIntegration

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue|null` |   |

### hasEnableDataplexIntegration

### clearEnableDataplexIntegration

### getEnableDataplexIntegrationUnwrapped

Returns the unboxed value from `getEnableDataplexIntegration()`

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool|null` |   |

### setEnableDataplexIntegration

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### setEnableDataplexIntegrationUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\BoolValue object.

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool|null` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRetainBackupsOnDelete

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue|null` |   |

### hasRetainBackupsOnDelete

### clearRetainBackupsOnDelete

### getRetainBackupsOnDeleteUnwrapped

Returns the unboxed value from `getRetainBackupsOnDelete()`

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool|null` |   |

### setRetainBackupsOnDelete

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### setRetainBackupsOnDeleteUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\BoolValue object.

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool|null` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDataDiskProvisionedIops

Optional. Provisioned number of I/O operations per second for the data
disk. This field is only used for hyperdisk-balanced disk types.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasDataDiskProvisionedIops

### clearDataDiskProvisionedIops

### setDataDiskProvisionedIops

Optional. Provisioned number of I/O operations per second for the data
disk. This field is only used for hyperdisk-balanced disk types.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDataDiskProvisionedThroughput

Optional. Provisioned throughput measured in MiB per second for the data
disk. This field is only used for hyperdisk-balanced disk types.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasDataDiskProvisionedThroughput

### clearDataDiskProvisionedThroughput

### setDataDiskProvisionedThroughput

Optional. Provisioned throughput measured in MiB per second for the data
disk. This field is only used for hyperdisk-balanced disk types.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getConnectionPoolConfig

Optional. The managed connection pooling configuration for the instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.ConnectionPoolConfig|null` |   |

### hasConnectionPoolConfig

### clearConnectionPoolConfig

### setConnectionPoolConfig

Optional. The managed connection pooling configuration for the instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.ConnectionPoolConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFinalBackupConfig

Optional. The final backup configuration for the instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.FinalBackupConfig|null` |   |

### hasFinalBackupConfig

### clearFinalBackupConfig

### setFinalBackupConfig

Optional. The final backup configuration for the instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.FinalBackupConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getReadPoolAutoScaleConfig

Optional. The read pool auto-scale configuration for the instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.ReadPoolAutoScaleConfig|null` |   |

### hasReadPoolAutoScaleConfig

### clearReadPoolAutoScaleConfig

### setReadPoolAutoScaleConfig

Optional. The read pool auto-scale configuration for the instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.ReadPoolAutoScaleConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAcceleratedReplicaMode

Optional. Whether the replica is in accelerated mode. This feature is in
private preview and requires allowlisting to take effect.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue|null` |   |

### hasAcceleratedReplicaMode

### clearAcceleratedReplicaMode

### getAcceleratedReplicaModeUnwrapped

Returns the unboxed value from `getAcceleratedReplicaMode()`

Optional. Whether the replica is in accelerated mode. This feature is in
private preview and requires allowlisting to take effect.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool|null` |   |

### setAcceleratedReplicaMode

Optional. Whether the replica is in accelerated mode. This feature is in
private preview and requires allowlisting to take effect.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/BoolValue` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### setAcceleratedReplicaModeUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\BoolValue object.

Optional. Whether the replica is in accelerated mode. This feature is in
private preview and requires allowlisting to take effect.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool|null` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAutoUpgradeEnabled

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasAutoUpgradeEnabled

### clearAutoUpgradeEnabled

### setAutoUpgradeEnabled

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEntraidConfig

Optional. The Microsoft Entra ID configuration for the SQL Server instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlServerEntraIdConfig|null` |   |

### hasEntraidConfig

### clearEntraidConfig

### setEntraidConfig

Optional. The Microsoft Entra ID configuration for the SQL Server instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlServerEntraIdConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDataApiAccess

This parameter controls whether to allow using ExecuteSql API to connect to
the instance. Not allowed by default.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasDataApiAccess

### clearDataApiAccess

### setDataApiAccess

This parameter controls whether to allow using ExecuteSql API to connect to
the instance. Not allowed by default.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPerformanceCaptureConfig

Optional. Configuration for Performance Capture, provides diagnostic
metrics during high load situations.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.PerformanceCaptureConfig|null` |   |

### hasPerformanceCaptureConfig

### clearPerformanceCaptureConfig

### setPerformanceCaptureConfig

Optional. Configuration for Performance Capture, provides diagnostic
metrics during high load situations.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.PerformanceCaptureConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |