Google Cloud Filestore V1 Client - Class RevertInstanceRequest (1.4.0)

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

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

Generated from protobuf message google.cloud.filestore.v1.RevertInstanceRequest

Namespace

Google \ Cloud \ Filestore \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. projects/{project_id}/locations/{location_id}/instances/{instance_id}. The resource name of the instance, in the format

↳ target_snapshot_id 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}

getName

Required.

projects/{project_id}/locations/{location_id}/instances/{instance_id}. The resource name of the instance, in the format

Returns
TypeDescription
string

setName

Required.

projects/{project_id}/locations/{location_id}/instances/{instance_id}. The resource name of the instance, in the format

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTargetSnapshotId

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
TypeDescription
string

setTargetSnapshotId

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}

Parameter
NameDescription
var string
Returns
TypeDescription
$this