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 endpoint lists SecurityProfileGroups within a specified organization and location using a GET request to the provided URL: \u003ccode\u003ehttps://networksecurity.googleapis.com/v1beta1/{parent=organizations/*/locations/*}/securityProfileGroups\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter in the format \u003ccode\u003eprojects|organizations/*/locations/{location}\u003c/code\u003e to identify the target organization and location.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e can be used to control the number of results returned and to paginate through the list of SecurityProfileGroups, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and the successful response will include a list of SecurityProfileGroups and a \u003ccode\u003enextPageToken\u003c/code\u003e for pagination when there are more results.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this endpoint requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\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/v1beta1/{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)."]]