Google Cloud Notebooks V1 Client - Class ReportInstanceInfoRequest (0.7.3)

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

Request for notebook instances to report information to Notebooks API.

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

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}

↳ vm_id string

Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity

↳ metadata array|Google\Protobuf\Internal\MapField

The metadata reported to Notebooks API. This will be merged to the instance metadata store

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

getVmId

Required. The VM hardware token for authenticating the VM.

https://cloud.google.com/compute/docs/instances/verifying-instance-identity

Returns
Type Description
string

setVmId

Required. The VM hardware token for authenticating the VM.

https://cloud.google.com/compute/docs/instances/verifying-instance-identity

Parameter
Name Description
var string
Returns
Type Description
$this

getMetadata

The metadata reported to Notebooks API. This will be merged to the instance metadata store

Returns
Type Description
Google\Protobuf\Internal\MapField

setMetadata

The metadata reported to Notebooks API. This will be merged to the instance metadata store

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