Updates the retention period and description of the backup. You can use this API to update final backups only.
Path parameters
Output only. The resource name of the backup. Format: projects/{project}/backups/{backup}.
Query parameters
The list of fields that you can update. You can update only the description and retention period of the final backup.
Request body
Output only. The type of this backup. The type can be "AUTOMATED", "ON_DEMAND" or “FINAL”.
The description of this backup.
Input only. The time-to-live (TTL) interval for this resource (in days). For example: ttlDays:7, means 7 days from the current time. The expiration time can't exceed 365 days from the time that the backup is created.
Output only. The URI of this resource.
The name of the source database instance.
Output only. This status indicates whether the backup satisfies PZS. The status is reserved for future use.
Optional. Output only. Timestamp in UTC of when the instance associated with this backup is deleted.
Output only. The maximum chargeable bytes for the backup.
The storage location of the backups. The location can be multi-regional.
Output only. The database version of the instance of at the time this backup was made.
Output only. The resource name of the backup. Format: projects/{project}/backups/{backup}.
Output only. This output contains the encryption status for a backup and the version of the KMS key that's used to encrypt the Cloud SQL instance.
Output only. This is always sql#backup.
Output only. This output contains a backup time zone. If a Cloud SQL for SQL Server instance has a different time zone from the backup's time zone, then the restore to the instance doesn't happen.
Output only. This status indicates whether the backup satisfies PZI. The status is reserved for future use.
Output only. Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
Backup expiration time. A UTC timestamp of when this backup expired.
Output only. This output contains the encryption configuration for a backup and the resource name of the KMS key for disk encryption.
Output only. The status of this backup.
Output only. The mapping to backup run resource used for IAM validations.
Response
Successful response