Filestore V1 API - Class Google::Cloud::Filestore::V1::RevertInstanceRequest (v1.0.0)

Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::RevertInstanceRequest.

RevertInstanceRequest reverts the given instance's file share to the specified snapshot.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. projects/{project_id}/locations/{location_id}/instances/{instance_id}. The resource name of the instance, in the format

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. projects/{project_id}/locations/{location_id}/instances/{instance_id}. The resource name of the instance, in the format
Returns
  • (::String) — Required. projects/{project_id}/locations/{location_id}/instances/{instance_id}. The resource name of the instance, in the format

#target_snapshot_id

def target_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}/instances/{instance_id}/snapshots/{snapshot_id}

#target_snapshot_id=

def target_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}/instances/{instance_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}/instances/{instance_id}/snapshots/{snapshot_id}