Google Cloud Filestore V1 Client - Class RevertInstanceRequest (2.0.0-RC1)

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
Name Description
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
Type Description
string

setName

Required.

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this