Reference documentation and code samples for the Compute V1 Client class ReservationBlockHealthInfo.
Health information for the reservation block.
Generated from protobuf message google.cloud.compute.v1.ReservationBlockHealthInfo
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ degraded_sub_block_count |
int
The number of subBlocks that are degraded. |
↳ health_status |
string
The health status of the reservation block. Check the HealthStatus enum for the list of possible values. |
↳ healthy_sub_block_count |
int
The number of subBlocks that are healthy. |
getDegradedSubBlockCount
The number of subBlocks that are degraded.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasDegradedSubBlockCount
clearDegradedSubBlockCount
setDegradedSubBlockCount
The number of subBlocks that are degraded.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHealthStatus
The health status of the reservation block.
Check the HealthStatus enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasHealthStatus
clearHealthStatus
setHealthStatus
The health status of the reservation block.
Check the HealthStatus enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHealthySubBlockCount
The number of subBlocks that are healthy.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasHealthySubBlockCount
clearHealthySubBlockCount
setHealthySubBlockCount
The number of subBlocks that are healthy.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|