Reference documentation and code samples for the Compute V1 Client class GetHealthOperationMetadataHealthInfo.
Health information.
Generated from protobuf message google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ availability_slo_status |
string
Output only. The availability SLO status. Check the AvailabilitySloStatus enum for the list of possible values. |
↳ health_status |
string
Output only. The health status. Check the HealthStatus enum for the list of possible values. |
↳ repair_category |
string
Output only. The repair category. Check the RepairCategory enum for the list of possible values. |
↳ unhealthy_reason |
string
Output only. The reason for unhealthy status. Check the UnhealthyReason enum for the list of possible values. |
↳ update_time |
string
Output only. The time when health info was updated. |
getAvailabilitySloStatus
Output only. The availability SLO status.
Check the AvailabilitySloStatus enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasAvailabilitySloStatus
clearAvailabilitySloStatus
setAvailabilitySloStatus
Output only. The availability SLO status.
Check the AvailabilitySloStatus enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHealthStatus
Output only. The health status.
Check the HealthStatus enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasHealthStatus
clearHealthStatus
setHealthStatus
Output only. The health status.
Check the HealthStatus enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRepairCategory
Output only. The repair category.
Check the RepairCategory enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasRepairCategory
clearRepairCategory
setRepairCategory
Output only. The repair category.
Check the RepairCategory enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUnhealthyReason
Output only. The reason for unhealthy status.
Check the UnhealthyReason enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasUnhealthyReason
clearUnhealthyReason
setUnhealthyReason
Output only. The reason for unhealthy status.
Check the UnhealthyReason enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. The time when health info was updated.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when health info was updated.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|