Google Cloud Notebooks V1 Client - Class UpdateInstanceMetadataItemsRequest (0.7.3)

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

Request for adding/changing metadata items for an instance.

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

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}

↳ items array|Google\Protobuf\Internal\MapField

Metadata items to add/update for the instance.

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

getItems

Metadata items to add/update for the instance.

Returns
Type Description
Google\Protobuf\Internal\MapField

setItems

Metadata items to add/update for the instance.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this