Compute V1 Client - Class CompositeHealthCheckHealth (2.10.0)

Reference documentation and code samples for the Compute V1 Client class CompositeHealthCheckHealth.

Response message for RegionCompositeHealthChecks.GetHealth

Generated from protobuf message google.cloud.compute.v1.CompositeHealthCheckHealth

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ health_sources
array< CompositeHealthChecksGetHealthResponseHealthSourceHealth >

Health sources and their corresponding health states.

↳ health_state
string

Health state of the CompositeHealthCheck. Check the HealthState enum for the list of possible values.

↳ kind
string

Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.

getHealthSources

Health sources and their corresponding health states.

setHealthSources

Health sources and their corresponding health states.

Parameter
Name
Description
Returns
Type
Description
$this

getHealthState

Health state of the CompositeHealthCheck.

Check the HealthState enum for the list of possible values.

Returns
Type
Description
string

hasHealthState

clearHealthState

setHealthState

Health state of the CompositeHealthCheck.

Check the HealthState enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getKind

Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.

Returns
Type
Description
string

hasKind

clearKind

setKind

Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: