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 \ V1Methods
__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 |
|