Required. The project or organization and location from which the SecurityProfiles should be listed, specified in the format projects|organizations/*/locations/{location}.
Query parameters
Parameters
pageSize
integer
Maximum number of SecurityProfiles to return per call.
pageToken
string
The value returned by the last ListSecurityProfilesResponse Indicates that this is a continuation of a prior securityProfiles.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 securityProfiles.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 SecurityProfiles within a specified organization and location using a \u003ccode\u003eGET\u003c/code\u003e HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter indicating the organization and location, along with optional \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters for controlling the number of results and pagination.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty for this endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe response body returns a list of SecurityProfile resources within the \u003ccode\u003esecurityProfiles\u003c/code\u003e array, and includes a \u003ccode\u003enextPageToken\u003c/code\u003e string for fetching additional results if they exist.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this request requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.locations.securityProfiles.list\n\nLists SecurityProfiles in a given organization and location.\n\n### HTTP request\n\n`GET https://networksecurity.googleapis.com/v1/{parent=organizations/*/locations/*}/securityProfiles`\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 securityProfiles.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)."]]