Google Cloud Notebooks V2 Client - Class UpdateInstanceRequest (1.0.0)

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

Request for updating a notebook instance.

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

Namespace

Google \ Cloud \ Notebooks \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance Google\Cloud\Notebooks\V2\Instance

Required. A representation of an instance.

↳ update_mask Google\Protobuf\FieldMask

Required. Mask used to update an instance

↳ request_id string

Optional. Idempotent request UUID.

getInstance

Required. A representation of an instance.

Returns
Type Description
Google\Cloud\Notebooks\V2\Instance|null

hasInstance

clearInstance

setInstance

Required. A representation of an instance.

Parameter
Name Description
var Google\Cloud\Notebooks\V2\Instance
Returns
Type Description
$this

getUpdateMask

Required. Mask used to update an instance

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask used to update an instance

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getRequestId

Optional. Idempotent request UUID.

Returns
Type Description
string

setRequestId

Optional. Idempotent request UUID.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
instance Google\Cloud\Notebooks\V2\Instance

Required. A representation of an instance.

updateMask Google\Protobuf\FieldMask

Required. Mask used to update an instance

Returns
Type Description
Google\Cloud\Notebooks\V2\UpdateInstanceRequest