NetApp V1 API - Class Google::Cloud::NetApp::V1::RevertVolumeRequest (v0.5.2)

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

RevertVolumeRequest reverts the given volume to the specified snapshot.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

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

#name=

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

#snapshot_id

def snapshot_id() -> ::String
Returns
  • (::String) — Required. The snapshot resource ID, in the format 'my-snapshot', where the specified ID is the {snapshot_id} of the fully qualified name like projects/{project_id}/locations/{location_id}/volumes/{volume_id}/snapshots/{snapshot_id}

#snapshot_id=

def snapshot_id=(value) -> ::String
Parameter
  • value (::String) — Required. The snapshot resource ID, in the format 'my-snapshot', where the specified ID is the {snapshot_id} of the fully qualified name like projects/{project_id}/locations/{location_id}/volumes/{volume_id}/snapshots/{snapshot_id}
Returns
  • (::String) — Required. The snapshot resource ID, in the format 'my-snapshot', where the specified ID is the {snapshot_id} of the fully qualified name like projects/{project_id}/locations/{location_id}/volumes/{volume_id}/snapshots/{snapshot_id}