Method: organizations.locations.addressGroups.list

Lists address groups in a given project and location.

HTTP request

GET https://networksecurity.googleapis.com/v1beta1/{parent=organizations/*/locations/*}/addressGroups

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The project and location from which the AddressGroups should be listed, specified in the format projects/*/locations/{location}.

Authorization requires the following IAM permission on the specified resource parent:

  • networksecurity.addressGroups.list

Query parameters

Parameters
pageSize

integer

Maximum number of AddressGroups to return per call.

pageToken

string

The value returned by the last ListAddressGroupsResponse Indicates that this is a continuation of a prior addressGroups.list call, and that the system should return the next page of data.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ListAddressGroupsResponse.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.