Compute V1 Client - Class NetworkEndpointGroupsScopedList (1.6.1)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ network_endpoint_groups array<Google\Cloud\Compute\V1\NetworkEndpointGroup>

[Output Only] The list of network endpoint groups that are contained in this scope.

↳ warning Google\Cloud\Compute\V1\Warning

[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.

getNetworkEndpointGroups

[Output Only] The list of network endpoint groups that are contained in this scope.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNetworkEndpointGroups

[Output Only] The list of network endpoint groups that are contained in this scope.

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

getWarning

[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.

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

hasWarning

clearWarning

setWarning

[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.

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