Google Cloud Filestore V1 Client - Class RevertInstanceRequest (2.1.1)

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. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id} .

↳ 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. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id} .

Returns
Type
Description
string

setName

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

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
Create a Mobile Website
View Site in Mobile | Classic
Share by: