Required. The project or organization and location from which the SecurityProfileGroups should be listed, specified in the format projects|organizations/*/locations/{location}.
Query parameters
Parameters
pageSize
integer
Maximum number of SecurityProfileGroups to return per call.
pageToken
string
The value returned by the last ListSecurityProfileGroupsResponse Indicates that this is a continuation of a prior securityProfileGroups.list call, and that the system should return the next page of data.
Request body
The request body must be empty.
Response body
Response returned by the securityProfileGroups.list method.
If successful, the response body contains data with the following structure:
If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
[[["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 webpage details how to list SecurityProfileGroups within a specified organization and location using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eThe URL for the request is structured using gRPC Transcoding syntax, including a required \u003ccode\u003eparent\u003c/code\u003e path parameter for the organization and location.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters, \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e, allow for pagination when retrieving a large number of SecurityProfileGroups.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and a successful response contains a list of \u003ccode\u003esecurityProfileGroups\u003c/code\u003e and a \u003ccode\u003enextPageToken\u003c/code\u003e for subsequent data retrieval if necessary.\u003c/p\u003e\n"],["\u003cp\u003eAccessing this information requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.locations.securityProfileGroups.list\n\nLists SecurityProfileGroups in a given organization and location.\n\n### HTTP request\n\n`GET https://networksecurity.googleapis.com/v1/{parent=organizations/*/locations/*}/securityProfileGroups`\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\nResponse returned by the securityProfileGroups.list method.\n\nIf successful, the response body contains data with the following structure:\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)."]]