Google Cloud Notebooks V1 Client - Class ReportRuntimeEventRequest (0.6.2)

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

Request for reporting a Managed Notebook Event.

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

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}

↳ vm_id string

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

↳ event Google\Cloud\Notebooks\V1\Event

Required. The Event to be reported.

getName

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}

Returns
TypeDescription
string

setName

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_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

getEvent

Required. The Event to be reported.

Returns
TypeDescription
Google\Cloud\Notebooks\V1\Event|null

hasEvent

clearEvent

setEvent

Required. The Event to be reported.

Parameter
NameDescription
var Google\Cloud\Notebooks\V1\Event
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id} Please see Google\Cloud\Notebooks\V1\ManagedNotebookServiceClient::runtimeName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Notebooks\V1\ReportRuntimeEventRequest