NetApp V1 API - Class Google::Cloud::NetApp::V1::Snapshot (v1.1.0)

Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::Snapshot.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
Returns
  • (::String) — A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The resource name of the snapshot. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name of the snapshot. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}.
Returns
  • (::String) — Identifier. The resource name of the snapshot. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}.

#state

def state() -> ::Google::Cloud::NetApp::V1::Snapshot::State
Returns

#state_details

def state_details() -> ::String
Returns
  • (::String) — Output only. State details of the storage pool

#used_bytes

def used_bytes() -> ::Float
Returns
  • (::Float) — Output only. Current storage usage for the snapshot in bytes.