Class GetInstanceHealthResponse (1.10.0)

GetInstanceHealthResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Response for checking if a notebook instance is healthy.

Attributes

NameDescription
health_state google.cloud.notebooks_v1.types.GetInstanceHealthResponse.HealthState
Output only. Runtime health_state.
health_info MutableMapping[str, str]
Output only. Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }

Classes

HealthInfoEntry

HealthInfoEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

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 mapping is a mapping type or there are keyword parameters.

HealthState

HealthState(value)

If an instance is healthy or not.

Values: HEALTH_STATE_UNSPECIFIED (0): The instance substate is unknown. HEALTHY (1): The instance is known to be in an healthy state (for example, critical daemons are running) Applies to ACTIVE state. UNHEALTHY (2): The instance is known to be in an unhealthy state (for example, critical daemons are not running) Applies to ACTIVE state. AGENT_NOT_INSTALLED (3): The instance has not installed health monitoring agent. Applies to ACTIVE state. AGENT_NOT_RUNNING (4): The instance health monitoring agent is not running. Applies to ACTIVE state.