Google Cloud Notebooks V1 Client - Class GetInstanceHealthResponse (1.0.1)

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

Response for checking if a notebook instance is healthy.

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

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ health_state int

Output only. Runtime health_state.

↳ health_info array|Google\Protobuf\Internal\MapField

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" }

getHealthState

Output only. Runtime health_state.

Returns
Type Description
int

setHealthState

Output only. Runtime health_state.

Parameter
Name Description
var int
Returns
Type Description
$this

getHealthInfo

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" }

Returns
Type Description
Google\Protobuf\Internal\MapField

setHealthInfo

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" }

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this