Reference documentation and code samples for the Compute V1 Client class NetworkEndpointWithHealthStatus.
Generated from protobuf message google.cloud.compute.v1.NetworkEndpointWithHealthStatus
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ healths |
array<HealthStatusForNetworkEndpoint>
[Output only] The health status of network endpoint. Optional. Displayed only if the network endpoint has centralized health checking configured. |
↳ network_endpoint |
NetworkEndpoint
[Output only] The network endpoint. |
getHealths
[Output only] The health status of network endpoint. Optional. Displayed only if the network endpoint has centralized health checking configured.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setHealths
[Output only] The health status of network endpoint. Optional. Displayed only if the network endpoint has centralized health checking configured.
| Parameter | |
|---|---|
| Name | Description |
var |
array<HealthStatusForNetworkEndpoint>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNetworkEndpoint
[Output only] The network endpoint.
| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint|null |
|
hasNetworkEndpoint
clearNetworkEndpoint
setNetworkEndpoint
[Output only] The network endpoint.
| Parameter | |
|---|---|
| Name | Description |
var |
NetworkEndpoint
|
| Returns | |
|---|---|
| Type | Description |
$this |
|