Class Backup (1.10.1)

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

A Filestore backup.

Attributes

Name Description
name str
Output only. The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}.
description str
A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.
state google.cloud.filestore_v1.types.Backup.State
Output only. The backup state.
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.
capacity_gb int
Output only. Capacity of the source file share when the backup was created.
storage_bytes int
Output only. The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion.
source_instance str
The resource name of the source Filestore instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id}, used to create this backup.
source_file_share str
Name of the file share in the source Filestore instance that the backup is created from.
source_instance_tier google.cloud.filestore_v1.types.Instance.Tier
Output only. The service tier of the source Filestore instance that this backup is created from.
download_bytes int
Output only. Amount of bytes that will be downloaded if the backup is restored. This may be different than storage bytes, since sequential backups of the same disk will share storage.
satisfies_pzs google.protobuf.wrappers_pb2.BoolValue
Output only. Reserved for future use.
satisfies_pzi bool
Output only. Reserved for future use.
kms_key str
Immutable. KMS key name used for data encryption.

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 state.