NetworkEndpointGroups
class NetworkEndpointGroups extends Resource (View source)
The "networkEndpointGroups" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$networkEndpointGroups = $computeService->networkEndpointGroups;
Methods
Retrieves the list of network endpoint groups and sorts them by zone. To
prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
. (networkEndpointGroups.aggregatedList)
Attach a list of network endpoints to the specified network endpoint group.
Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it. (networkEndpointGroups.delete)
Detach a list of network endpoints from the specified network endpoint group.
Returns the specified network endpoint group. (networkEndpointGroups.get)
Creates a network endpoint group in the specified project using the parameters that are included in the request. (networkEndpointGroups.insert)
Retrieves the list of network endpoint groups that are located in the specified project and zone. (networkEndpointGroups.listNetworkEndpointGroups)
Lists the network endpoints in the specified network endpoint group.
Returns permissions that a caller has on the specified resource.
Details
NetworkEndpointGroupAggregatedList
aggregatedList(string $project, array $optParams = [])
Retrieves the list of network endpoint groups and sorts them by zone. To
prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
. (networkEndpointGroups.aggregatedList)
Operation
attachNetworkEndpoints(string $project, string $zone, string $networkEndpointGroup, NetworkEndpointGroupsAttachEndpointsRequest $postBody, array $optParams = [])
Attach a list of network endpoints to the specified network endpoint group.
(networkEndpointGroups.attachNetworkEndpoints)
Operation
delete(string $project, string $zone, string $networkEndpointGroup, array $optParams = [])
Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it. (networkEndpointGroups.delete)
Operation
detachNetworkEndpoints(string $project, string $zone, string $networkEndpointGroup, NetworkEndpointGroupsDetachEndpointsRequest $postBody, array $optParams = [])
Detach a list of network endpoints from the specified network endpoint group.
(networkEndpointGroups.detachNetworkEndpoints)
NetworkEndpointGroup
get(string $project, string $zone, string $networkEndpointGroup, array $optParams = [])
Returns the specified network endpoint group. (networkEndpointGroups.get)
Operation
insert(string $project, string $zone, NetworkEndpointGroup $postBody, array $optParams = [])
Creates a network endpoint group in the specified project using the parameters that are included in the request. (networkEndpointGroups.insert)
NetworkEndpointGroupList
listNetworkEndpointGroups(string $project, string $zone, array $optParams = [])
Retrieves the list of network endpoint groups that are located in the specified project and zone. (networkEndpointGroups.listNetworkEndpointGroups)
NetworkEndpointGroupsListNetworkEndpoints
listNetworkEndpoints(string $project, string $zone, string $networkEndpointGroup, NetworkEndpointGroupsListEndpointsRequest $postBody, array $optParams = [])
Lists the network endpoints in the specified network endpoint group.
(networkEndpointGroups.listNetworkEndpoints)
TestPermissionsResponse
testIamPermissions(string $project, string $zone, string $resource, TestPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource.
(networkEndpointGroups.testIamPermissions)