NetApp V1 API - Class Google::Cloud::NetApp::V1::CreateSnapshotRequest (v1.0.0)

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

CreateSnapshotRequest creates a snapshot.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The NetApp volume to create the snapshots of, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The NetApp volume to create the snapshots of, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}
Returns
  • (::String) — Required. The NetApp volume to create the snapshots of, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}

#snapshot

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

#snapshot=

def snapshot=(value) -> ::Google::Cloud::NetApp::V1::Snapshot
Parameter
Returns

#snapshot_id

def snapshot_id() -> ::String
Returns
  • (::String) — Required. ID of the snapshot to create. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

#snapshot_id=

def snapshot_id=(value) -> ::String
Parameter
  • value (::String) — Required. ID of the snapshot to create. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
Returns
  • (::String) — Required. ID of the snapshot to create. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.