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 webpage details how to list SecurityProfiles within a specific organization and location using the \u003ccode\u003esecurityProfiles.list\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003eGET\u003c/code\u003e method with a URL structure that includes path parameters for \u003ccode\u003eparent\u003c/code\u003e, representing the organization and location.\u003c/p\u003e\n"],["\u003cp\u003eQuery parameters such as \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e are available to manage the number of SecurityProfiles returned and handle pagination for large lists.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, while a successful response will include a list of \u003ccode\u003esecurityProfiles\u003c/code\u003e and potentially a \u003ccode\u003enextPageToken\u003c/code\u003e for retrieving subsequent results.\u003c/p\u003e\n"],["\u003cp\u003eAccessing this method requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e for authorization.\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/v1beta1/{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)."]]