Class Backup (0.3.10)

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

Attributes

Name Description
name str
Identifier. The resource name of the backup. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}.
state google.cloud.netapp_v1.types.Backup.State
Output only. The backup state.
description str
A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.
volume_usage_bytes int
Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big.
backup_type google.cloud.netapp_v1.types.Backup.Type
Output only. Type of backup, manually created or created by a backup policy.
source_volume str
Volume full name of this backup belongs to. Format: projects/{projects_id}/locations/{location}/volumes/{volume_id}
source_snapshot str
If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id} This field is a member of oneof_ _source_snapshot.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the backup was created.
labels MutableMapping[str, str]
Resource labels to represent user provided metadata.
chain_storage_bytes int
Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size)

Classes

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)

The Backup States

Type

Type(value)

Backup types.