Reports and processes a runtime event.
HTTP request
POST https://notebooks.googleapis.com/v1/{name}:reportEvent
Path parameters
| Parameters | |
|---|---|
| name | 
 Required. Format:  Authorization requires the following IAM permission on the specified resource  
 | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| {
  "vmId": string,
  "event": {
    object ( | 
| Fields | |
|---|---|
| vmId | 
 Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity | 
| event | 
 Required. The Event to be reported. | 
Response body
If successful, the response body contains an instance of Operation.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Event
The definition of an Event for a managed / semi-managed notebook instance.
| JSON representation | 
|---|
| {
  "reportTime": string,
  "type": enum ( | 
| Fields | |
|---|---|
| reportTime | 
 Event report time. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| type | 
 Event type. | 
| details | 
 Optional. Event details. This field is used to pass event information. An object containing a list of  | 
EventType
The definition of the event types.
| Enums | |
|---|---|
| EVENT_TYPE_UNSPECIFIED | Event is not specified. | 
| IDLE | The instance / runtime is idle | 
| HEARTBEAT | The instance / runtime is available. This event indicates that instance / runtime underlying compute is operational. | 
| HEALTH | The instance / runtime health is available. This event indicates that instance / runtime health information. | 
| MAINTENANCE | The instance / runtime is available. This event allows instance / runtime to send Host maintenance information to Control Plane. https://cloud.google.com/compute/docs/gpus/gpu-host-maintenance |