Class BackupVault (0.1.4)

BackupVault(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
name str
Output only. Identifier. Name of the backup vault to create. It must have the format\ "projects/{project}/locations/{location}/backupVaults/{backupvault}". {backupvault} cannot be changed after creation. It must be between 3-63 characters long and must be unique within the project and location.
description str
Optional. The description of the BackupVault instance (2048 characters or less). This field is a member of oneof_ _description.
labels MutableMapping[str, str]
Optional. Resource labels to represent user provided metadata. No labels currently defined:
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the instance was created. This field is a member of oneof_ _create_time.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the instance was updated. This field is a member of oneof_ _update_time.
backup_minimum_enforced_retention_duration google.protobuf.duration_pb2.Duration
Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended. This field is a member of oneof_ _backup_minimum_enforced_retention_duration.
deletable bool
Output only. Set to true when there are no backups nested under this resource. This field is a member of oneof_ _deletable.
etag str
Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from overwiting each other. This field is a member of oneof_ _etag.
state google.cloud.backupdr_v1.types.BackupVault.State
Output only. The BackupVault resource instance state.
effective_time google.protobuf.timestamp_pb2.Timestamp
Optional. Time after which the BackupVault resource is locked. This field is a member of oneof_ _effective_time.
backup_count int
Output only. The number of backups in this backup vault.
service_account str
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_stored_bytes int
Output only. Total size of the storage used by all backup resources.
uid str
Output only. Output only Immutable after resource creation until resource deletion.
annotations MutableMapping[str, str]
Optional. User annotations. See https://google.aip.dev/128#annotations Stores small amounts of arbitrary data.
access_restriction google.cloud.backupdr_v1.types.BackupVault.AccessRestriction
Optional. Note: This field is added for future use case and will not be supported in the current release. Optional. Access restriction for the backup vault. Default value is WITHIN_ORGANIZATION if not provided during creation.

Classes

AccessRestriction

AccessRestriction(value)

Holds the access restriction for the backup vault.

AnnotationsEntry

AnnotationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

Holds the state of the backup vault resource.