Class Snapshot (0.3.7)

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

Snapshot is a point-in-time version of a Volume's content.

Attributes

NameDescription
name str
Identifier. The resource name of the snapshot. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}.
state google.cloud.netapp_v1.types.Snapshot.State
Output only. The snapshot state.
state_details str
Output only. State details of the storage pool
description str
A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
used_bytes float
Output only. Current storage usage for the snapshot in bytes.
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.

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 States

Values: STATE_UNSPECIFIED (0): Unspecified Snapshot State READY (1): Snapshot State is Ready CREATING (2): Snapshot State is Creating DELETING (3): Snapshot State is Deleting UPDATING (4): Snapshot State is Updating DISABLED (5): Snapshot State is Disabled ERROR (6): Snapshot State is Error