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.
returnPartialSuccess
boolean
Optional. If true, allow partial responses for multi-regional Aggregated List requests.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThis API call lists address groups within a specified project and location.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses a GET method with a URL that includes the project and location as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required, and its format is \u003ccode\u003eprojects/*/locations/{location}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eQuery parameters such as \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e can be used to manage the results returned by the API.\u003c/p\u003e\n"],["\u003cp\u003eThe request body is empty.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.locations.addressGroups.list\n\nLists address groups in a given project and location.\n\n### HTTP request\n\n`GET https://networksecurity.googleapis.com/v1beta1/{parent=organizations/*/locations/*}/addressGroups`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [ListAddressGroupsResponse](/firewall/docs/reference/network-security/rest/v1beta1/ListAddressGroupsResponse).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]