Resource: Backup
A backup resource. Next ID: 30
JSON representation |
---|
{ "name": string, "kind": string, "selfLink": string, "type": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of the backup. Format: projects/{project}/backups/{backup}. |
kind |
Output only. This is always |
selfLink |
Output only. The URI of this resource. |
type |
Output only. The type of this backup. The type can be "AUTOMATED", "ON_DEMAND", or “FINAL”. |
description |
The description of this backup. |
instance |
The name of the database instance. |
location |
The storage location of the backups. The location can be multi-regional. |
backupInterval |
Output only. This output contains the following values: startTime: All database writes up to this time are available. endTime: Any database writes after this time aren't available. |
state |
Output only. The state of this backup. |
error |
Output only. Information about why the backup operation fails (for example, when the backup state fails). |
kmsKey |
Output only. This output contains the encryption configuration for a backup and the resource name of the KMS key for disk encryption. |
kmsKeyVersion |
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. |
backupKind |
Output only. Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. |
timeZone |
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. |
databaseVersion |
Output only. The database version of the instance of at the time this backup was made. |
instanceDeletionTime |
Optional. Output only. Timestamp in UTC of when the instance associated with this backup is deleted. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
instanceSettings |
Optional. Output only. Instance setting of the source instance that's associated with this backup. |
backupRun |
Output only. The mapping to backup run resource used for IAM validations. |
satisfiesPzs |
Output only. This status indicates whether the backup satisfies PZS. The status is reserved for future use. |
satisfiesPzi |
Output only. This status indicates whether the backup satisfies PZI. The status is reserved for future use. |
Union field
|
|
ttlDays |
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. |
expiryTime |
Backup expiration time. A UTC timestamp of when this resource expired. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
maxChargeableBytes |
Output only. The maximum chargeable bytes for the backup. |
SqlBackupType
The backup type.
Enums | |
---|---|
SQL_BACKUP_TYPE_UNSPECIFIED |
This is an unknown backup type. |
AUTOMATED |
The backup schedule triggers a backup automatically. |
ON_DEMAND |
The user triggers a backup manually. |
FINAL |
The backup that's created when the instance is deleted. |
SqlBackupState
The backup's state
Enums | |
---|---|
SQL_BACKUP_STATE_UNSPECIFIED |
The state of the backup is unknown. |
ENQUEUED |
The backup that's added to a queue. |
RUNNING |
The backup is in progress. |
FAILED |
The backup failed. |
SUCCESSFUL |
The backup is successful. |
DELETING |
The backup is being deleted. |
DELETION_FAILED |
Deletion of the backup failed. |
Methods |
|
---|---|
|
The method google.cloud.sql.v1beta4.SqlBackupsService.CreateBackup is not available in Trusted Cloud by S3NS. |
|
The method google.cloud.sql.v1beta4.SqlBackupsService.DeleteBackup is not available in Trusted Cloud by S3NS. |
|
The method google.cloud.sql.v1beta4.SqlBackupsService.GetBackup is not available in Trusted Cloud by S3NS. |
|
The method google.cloud.sql.v1beta4.SqlBackupsService.ListBackups is not available in Trusted Cloud by S3NS. |
|
The method google.cloud.sql.v1beta4.SqlBackupsService.UpdateBackup is not available in Trusted Cloud by S3NS. |