Google Cloud Notebooks V2 Client - Class RollbackInstanceRequest (0.6.2)

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

Request for rollbacking a notebook instance

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

Namespace

Google \ Cloud \ Notebooks \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
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".

↳ revision_id string

Required. Output only. Revision Id

getName

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

Returns
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTargetSnapshot

Required. The snapshot for rollback.

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

Returns
TypeDescription
string

setTargetSnapshot

Required. The snapshot for rollback.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRevisionId

Required. Output only. Revision Id

Returns
TypeDescription
string

setRevisionId

Required. Output only. Revision Id

Parameter
NameDescription
var string
Returns
TypeDescription
$this