Google Cloud Notebooks V1beta1 Client - Class ReportInstanceInfoRequest (0.4.1)

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

Request for notebook instances to report information to Notebooks API.

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

Namespace

Google \ Cloud \ Notebooks \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setName

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVmId

Required. The VM hardware token for authenticating the VM.

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

Returns
TypeDescription
string

setVmId

Required. The VM hardware token for authenticating the VM.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMetadata

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

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setMetadata

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

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this