Resource: BackupVault
Message describing a BackupVault object.
JSON representation |
---|
{ "name": string, "labels": { string: string, ... }, "state": enum ( |
Fields | |
---|---|
name |
Output only. Identifier. Name of the backup vault to create. It must have the format |
labels |
Optional. Resource labels to represent user provided metadata. No labels currently defined: An object containing a list of |
state |
Output only. The BackupVault resource instance state. |
backup |
Output only. The number of backups in this backup vault. |
service |
Output only. Service account used by the BackupVault Service for this BackupVault. The user should grant this account permissions in their workload project to enable the service to run backups and restores there. |
total |
Output only. Total size of the storage used by all backup resources. |
uid |
Output only. Immutable after resource creation until resource deletion. |
annotations |
Optional. User annotations. See https://google.aip.dev/128#annotations Stores small amounts of arbitrary data. An object containing a list of |
access |
Optional. Note: This field is added for future use case and will not be supported in the current release. Access restriction for the backup vault. Default value is WITHIN_ORGANIZATION if not provided during creation. |
description |
Optional. The description of the BackupVault instance (2048 characters or less). |
create |
Output only. The time when the instance was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. The time when the instance was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
backup |
Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended. A duration in seconds with up to nine fractional digits, ending with ' |
deletable |
Output only. Set to true when there are no backups nested under this resource. |
etag |
Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from overwiting each other. |
effective |
Optional. Time after which the BackupVault resource is locked. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
State
Holds the state of the backup vault resource.
Enums | |
---|---|
STATE_UNSPECIFIED |
State not set. |
CREATING |
The backup vault is being created. |
ACTIVE |
The backup vault has been created and is fully usable. |
DELETING |
The backup vault is being deleted. |
ERROR |
The backup vault is experiencing an issue and might be unusable. |
AccessRestriction
Holds the access restriction for the backup vault.
Enums | |
---|---|
ACCESS_RESTRICTION_UNSPECIFIED |
Access restriction not set. If user does not provide any value or pass this value, it will be changed to WITHIN_ORGANIZATION. |
WITHIN_PROJECT |
Access to or from resources outside your current project will be denied. |
WITHIN_ORGANIZATION |
Access to or from resources outside your current organization will be denied. |
UNRESTRICTED |
No access restriction. |
WITHIN_ORG_BUT_UNRESTRICTED_FOR_BA |
Access to or from resources outside your current organization will be denied except for backup appliance. |
Methods |
|
---|---|
|
Creates a new BackupVault in a given project and location. |
|
Deletes a BackupVault. |
|
FetchUsableBackupVaults lists usable BackupVaults in a given project and location. |
|
Gets details of a BackupVault. |
|
Lists BackupVaults in a given project and location. |
|
Updates the settings of a BackupVault. |
|
Returns the caller's permissions on a BackupVault resource. |