Google Cloud Notebooks V1 Client - Class SetInstanceLabelsRequest (0.4.1)

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

Request for setting instance labels.

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

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}

↳ labels
array| Google\Protobuf\Internal\MapField

Labels to apply to this instance. These can be later modified by the setLabels method

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

getLabels

Labels to apply to this instance.

These can be later modified by the setLabels method

Returns
Type
Description

setLabels

Labels to apply to this instance.

These can be later modified by the setLabels method

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: