Class Snapshot (0.3.16)

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

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

Attributes

Name Description
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
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 Snapshot States