Class: Google::Cloud::NetApp::V1::RevertVolumeRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/netapp/v1/volume.rb

Overview

RevertVolumeRequest reverts the given volume to the specified snapshot.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns 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}.



128
129
130
131
# File 'proto_docs/google/cloud/netapp/v1/volume.rb', line 128

class RevertVolumeRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#snapshot_id::String

Returns 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}



128
129
130
131
# File 'proto_docs/google/cloud/netapp/v1/volume.rb', line 128

class RevertVolumeRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end