Compute V1 Client - Class NetworkEndpointGroupsScopedList (1.21.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ network_endpoint_groups array<NetworkEndpointGroup>

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

↳ warning 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
Type Description
Google\Protobuf\Internal\RepeatedField

setNetworkEndpointGroups

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

Parameter
Name Description
var array<NetworkEndpointGroup>
Returns
Type Description
$this

getWarning

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

Returns
Type Description
Warning|null

hasWarning

clearWarning

setWarning

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

Parameter
Name Description
var Warning
Returns
Type Description
$this