Google Cloud Notebooks V1 Client - Class RollbackInstanceRequest (1.0.0-RC1)

Reference documentation and code samples for the Google Cloud Notebooks V1 Client class RollbackInstanceRequest.

Request for rollbacking a notebook instance

Generated from protobuf message google.cloud.notebooks.v1.RollbackInstanceRequest

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

↳ target_snapshot string

Required. The snapshot for rollback. Example: projects/test-project/global/snapshots/krwlzipynril.

getName

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

Returns
Type Description
string

setName

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getTargetSnapshot

Required. The snapshot for rollback.

Example: projects/test-project/global/snapshots/krwlzipynril.

Returns
Type Description
string

setTargetSnapshot

Required. The snapshot for rollback.

Example: projects/test-project/global/snapshots/krwlzipynril.

Parameter
Name Description
var string
Returns
Type Description
$this