class RegionNetworkEndpointGroups extends Resource (View source)

The "regionNetworkEndpointGroups" collection of methods.

Typical usage is:

 $computeService = new Google\Service\Compute(...);
 $regionNetworkEndpointGroups = $computeService->regionNetworkEndpointGroups;

Methods

attachNetworkEndpoints(string $project, string $region, string $networkEndpointGroup, RegionNetworkEndpointGroupsAttachEndpointsRequest $postBody, array $optParams = [])

Attach a list of network endpoints to the specified network endpoint group.

delete(string $project, string $region, string $networkEndpointGroup, array $optParams = [])

Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.

detachNetworkEndpoints(string $project, string $region, string $networkEndpointGroup, RegionNetworkEndpointGroupsDetachEndpointsRequest $postBody, array $optParams = [])

Detach the network endpoint from the specified network endpoint group.

get(string $project, string $region, string $networkEndpointGroup, array $optParams = [])

Returns the specified network endpoint group.

insert(string $project, string $region, NetworkEndpointGroup $postBody, array $optParams = [])

Creates a network endpoint group in the specified project using the parameters that are included in the request.

listRegionNetworkEndpointGroups(string $project, string $region, array $optParams = [])

Retrieves the list of regional network endpoint groups available to the specified project in the given region.

listNetworkEndpoints(string $project, string $region, string $networkEndpointGroup, array $optParams = [])

Lists the network endpoints in the specified network endpoint group.

Details

Operation attachNetworkEndpoints(string $project, string $region, string $networkEndpointGroup, RegionNetworkEndpointGroupsAttachEndpointsRequest $postBody, array $optParams = [])

Attach a list of network endpoints to the specified network endpoint group.

(regionNetworkEndpointGroups.attachNetworkEndpoints)

Parameters

string $project

Project ID for this request.

string $region

The name of the region where you want to create the network endpoint group. It should comply with RFC1035.

string $networkEndpointGroup

The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035.

RegionNetworkEndpointGroupsAttachEndpointsRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $project, string $region, string $networkEndpointGroup, array $optParams = [])

Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.

(regionNetworkEndpointGroups.delete)

Parameters

string $project

Project ID for this request.

string $region

The name of the region where the network endpoint group is located. It should comply with RFC1035.

string $networkEndpointGroup

The name of the network endpoint group to delete. It should comply with RFC1035.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation detachNetworkEndpoints(string $project, string $region, string $networkEndpointGroup, RegionNetworkEndpointGroupsDetachEndpointsRequest $postBody, array $optParams = [])

Detach the network endpoint from the specified network endpoint group.

(regionNetworkEndpointGroups.detachNetworkEndpoints)

Parameters

string $project

Project ID for this request.

string $region

The name of the region where the network endpoint group is located. It should comply with RFC1035.

string $networkEndpointGroup

The name of the network endpoint group you are detaching network endpoints from. It should comply with RFC1035.

RegionNetworkEndpointGroupsDetachEndpointsRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

NetworkEndpointGroup get(string $project, string $region, string $networkEndpointGroup, array $optParams = [])

Returns the specified network endpoint group.

(regionNetworkEndpointGroups.get)

Parameters

string $project

Project ID for this request.

string $region

The name of the region where the network endpoint group is located. It should comply with RFC1035.

string $networkEndpointGroup

The name of the network endpoint group. It should comply with RFC1035.

array $optParams

Optional parameters.

Return Value

NetworkEndpointGroup

Exceptions

Exception

Operation insert(string $project, string $region, NetworkEndpointGroup $postBody, array $optParams = [])

Creates a network endpoint group in the specified project using the parameters that are included in the request.

(regionNetworkEndpointGroups.insert)

Parameters

string $project

Project ID for this request.

string $region

The name of the region where you want to create the network endpoint group. It should comply with RFC1035.

NetworkEndpointGroup $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

NetworkEndpointGroupList listRegionNetworkEndpointGroups(string $project, string $region, array $optParams = [])

Retrieves the list of regional network endpoint groups available to the specified project in the given region.

(regionNetworkEndpointGroups.listRegionNetworkEndpointGroups)

Parameters

string $project

Project ID for this request.

string $region

The name of the region where the network endpoint group is located. It should comply with RFC1035.

array $optParams

Optional parameters.

Return Value

NetworkEndpointGroupList

Exceptions

Exception

NetworkEndpointGroupsListNetworkEndpoints listNetworkEndpoints(string $project, string $region, string $networkEndpointGroup, array $optParams = [])

Lists the network endpoints in the specified network endpoint group.

(regionNetworkEndpointGroups.listNetworkEndpoints)

Parameters

string $project

Project ID for this request.

string $region

The name of the region where the network endpoint group is located. It should comply with RFC1035.

string $networkEndpointGroup

The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035.

array $optParams

Optional parameters.

Return Value

NetworkEndpointGroupsListNetworkEndpoints

Exceptions

Exception