Required. The project and location from which the ServerTlsPolicies should be listed, specified in the format projects/*/locations/{location}.
Authorization requires the following IAM permission on the specified resource parent:
networksecurity.serverTlsPolicies.list
Query parameters
Parameters
pageSize
integer
Maximum number of ServerTlsPolicies to return per call.
pageToken
string
The value returned by the last ListServerTlsPoliciesResponse Indicates that this is a continuation of a prior serverTlsPolicies.list call, and that the system should return the next page of data.
returnPartialSuccess
boolean
Optional. Setting this field to true will opt the request into returning the resources that are reachable, and into including the names of those that were unreachable in the [ListServerTlsPoliciesResponse.unreachable] field. This can only be true when reading across collections e.g. when parent is set to "projects/example/locations/-".
Request body
The request body must be empty.
Response body
Response returned by the serverTlsPolicies.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.
unreachable[]
string
Unreachable resources. Populated when the request opts into returnPartialSuccess and reading across collections e.g. when attempting to list all resources across all supported locations.
[[["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-06-18 UTC."],[],[],null,["# Method: projects.locations.serverTlsPolicies.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListServerTlsPoliciesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nLists ServerTlsPolicies in a given project and location.\n\n### HTTP request\n\n`GET https://networksecurity.googleapis.com/v1beta1/{parent=projects/*/locations/*}/serverTlsPolicies`\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 serverTlsPolicies.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)."]]