Backup
import type { Backup } from "https://googleapis.deno.dev/v1/alloydb:v1.ts";
Message describing Backup object
§Properties
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
Required. The full resource name of the backup source cluster (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
Output only. The system-generated UID of the cluster which was used to create this resource.
Output only. The database engine major version of the cluster this backup was created from. Any restored cluster created from this backup will have the same database version.
Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
Output only. The encryption information for the backup.
For Resource freshness validation (https://google.aip.dev/154)
Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.
Output only. The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.
Output only. The name of the backup resource with the format: *
projects/{project}/locations/{region}/backups/{backup_id} where the cluster
and backup ID segments should satisfy the regex expression
[a-z]([a-z0-9-]{0,61}[a-z0-9])?
, e.g. 1-63 characters of lowercase
letters, numbers, and dashes, starting with a letter, and ending with a
letter or number. For more details see https://google.aip.dev/122. The
prefix of the backup resource name is the name of the parent resource: *
projects/{project}/locations/{region}
Output only. Reconciling (https://google.aip.dev/128#reconciliation), if true, indicates that the service is actively updating the resource. This can happen due to user-triggered updates or system actions like failover or maintenance.
Output only. The current state of the backup.
The backup type, which suggests the trigger for the backup.