Class Snapshot (1.8.0)

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

A Filestore snapshot.

Attributes

NameDescription
name str
Output only. The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}.
description str
A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
state google.cloud.filestore_v1.types.Snapshot.State
Output only. The snapshot state.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the snapshot was created.
labels MutableMapping[str, str]
Resource labels to represent user provided metadata.
filesystem_used_bytes int
Output only. The amount of bytes needed to allocate a full copy of the snapshot content

Classes

LabelsEntry

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

The abstract base class for a message.

Parameters
NameDescription
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 snapshot state.

Values: STATE_UNSPECIFIED (0): State not set. CREATING (1): Snapshot is being created. READY (2): Snapshot is available for use. DELETING (3): Snapshot is being deleted.