Partially updates settings of a Cloud SQL instance by merging the request with the current configuration. This method supports patch semantics.
Path parameters
Project ID of the project that contains the instance.
Cloud SQL instance ID. This does not include the project ID.
Query parameters
Optional. Set PSC config to the same value as the existing config to reconcile the PSC networking.
Optional. Set PSC config to the same value as the existing config and force reconcile the PSC networking.
Request body
This is always sql#instance.
Input only. Determines whether an in-place major version upgrade of replicas happens when an in-place major version upgrade of a primary instance is initiated.
The replicas of the instance.
The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
Output only. This status indicates whether the instance satisfies PZI. The status is reserved for future use.
The instance type.
Output only. DEPRECATED: please use write_endpoint instead.
The name of the instance which will act as primary in the replication setup.
The maximum disk size of the instance in bytes.
Optional. Input only. Immutable. Tag keys and tag values that are bound to this instance. You must represent each item in the map as: "" : "". For example, a single resource can have the following tags: "123/environment": "production", "123/costCenter": "marketing", For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.
If the instance state is SUSPENDED, the reason for the suspension.
This status indicates whether the instance satisfies PZS. The status is reserved for future use.
The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone.
The service account email address assigned to the instance.\This property is read-only.
Output only. The time when the instance was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
The current software version on the instance.
The current disk usage of the instance in bytes. This property has been deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see this announcement for details.
Name of the Cloud SQL instance. This does not include the project ID.
This field is deprecated and will be removed from a future version of the API. Use the settings.settingsVersion field instead.
Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.
The geographical region of the Cloud SQL instance. It can be one of the regions where Cloud SQL operates: For example, asia-east1, europe-west1, and us-central1. The default value is us-central1.
Connection name of the Cloud SQL instance used in connection strings.
Input only. Whether Cloud SQL is enabled to switch storing point-in-time recovery log files from a data disk to Cloud Storage.
The database engine type and version. The databaseVersion field cannot be changed after instance creation.
The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance.
Output only. List all maintenance versions applicable on the instance
Output only. Stores the current database version running on the instance including minor version such as MYSQL_8_0_18.
The current serving state of the Cloud SQL instance.
The number of read pool nodes in a read pool.
The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.
Output only. The dns name of the instance.
The URI of this resource.
Output only. The dns name of the primary instance in a replication group.
Output only. The link to service attachment of PSC instance.
The backend type. SECOND_GEN: Cloud SQL database instance. EXTERNAL: A database server that is not managed by Google. This property is read-only; use the tier property in the settings object to determine the database type.
Response
Successful response