Google Cloud Notebooks V1 Client - Class GetInstanceHealthResponse (0.5.0)

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
NameDescription
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
TypeDescription
int

setHealthState

Output only. Runtime health_state.

Parameter
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this