Event(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The definition of an Event for a managed / semi-managed notebook instance.
Attributes | |
---|---|
Name | Description |
report_time |
google.protobuf.timestamp_pb2.Timestamp
Optional. Event report time. |
type_ |
google.cloud.notebooks_v2.types.Event.EventType
Optional. Event type. |
details |
MutableMapping[str, str]
Optional. Event details. This field is used to pass event information. |
Classes
DetailsEntry
DetailsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
EventType
EventType(value)
The definition of the event types.
Values: EVENT_TYPE_UNSPECIFIED (0): Event is not specified. IDLE (1): The instance / runtime is idle HEARTBEAT (2): The instance / runtime is available. This event indicates that instance / runtime underlying compute is operational. HEALTH (3): The instance / runtime health is available. This event indicates that instance / runtime health information. MAINTENANCE (4): 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 METADATA_CHANGE (5): The instance / runtime is available. This event indicates that the instance had metadata that needs to be modified.