Google Cloud Notebooks V2 Client - Class UpdateInstanceRequest (0.6.2)

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
NameDescription
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
TypeDescription
Google\Cloud\Notebooks\V2\Instance|null

hasInstance

clearInstance

setInstance

Required. A representation of an instance.

Parameter
NameDescription
var Google\Cloud\Notebooks\V2\Instance
Returns
TypeDescription
$this

getUpdateMask

Required. Mask used to update an instance

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask used to update an instance

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getRequestId

Optional. Idempotent request UUID.

Returns
TypeDescription
string

setRequestId

Optional. Idempotent request UUID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
instance Google\Cloud\Notebooks\V2\Instance

Required. A representation of an instance.

updateMask Google\Protobuf\FieldMask

Required. Mask used to update an instance

Returns
TypeDescription
Google\Cloud\Notebooks\V2\UpdateInstanceRequest