Compute V1 Client - Class CompositeHealthChecksGetHealthResponseHealthSourceHealth (2.9.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ health_state string

Health state of the associated HealthSource resource. Check the HealthState enum for the list of possible values.

↳ source string

Fully qualified URL of the associated HealthSource resource.

getHealthState

Health state of the associated HealthSource resource.

Check the HealthState enum for the list of possible values.

Returns
Type Description
string

hasHealthState

clearHealthState

setHealthState

Health state of the associated HealthSource resource.

Check the HealthState enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this

getSource

Fully qualified URL of the associated HealthSource resource.

Returns
Type Description
string

hasSource

clearSource

setSource

Fully qualified URL of the associated HealthSource resource.

Parameter
Name Description
var string
Returns
Type Description
$this