Compute V1 Client - Class NetworkEndpointWithHealthStatus (1.5.0)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ healths array<Google\Cloud\Compute\V1\HealthStatusForNetworkEndpoint>

[Output only] The health status of network endpoint;

↳ network_endpoint Google\Cloud\Compute\V1\NetworkEndpoint

[Output only] The network endpoint;

getHealths

[Output only] The health status of network endpoint;

Generated from protobuf field repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setHealths

[Output only] The health status of network endpoint;

Generated from protobuf field repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\HealthStatusForNetworkEndpoint>
Returns
TypeDescription
$this

getNetworkEndpoint

[Output only] The network endpoint;

Generated from protobuf field optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;

Returns
TypeDescription
Google\Cloud\Compute\V1\NetworkEndpoint|null

hasNetworkEndpoint

clearNetworkEndpoint

setNetworkEndpoint

[Output only] The network endpoint;

Generated from protobuf field optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;

Parameter
NameDescription
var Google\Cloud\Compute\V1\NetworkEndpoint
Returns
TypeDescription
$this