Required. The resource name of the platform associated with the platform policies using the format projects/*/platforms/*.
Authorization requires the following IAM permission on the specified resource parent:
binaryauthorization.platformPolicies.list
Query parameters
Parameters
pageSize
integer
Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default.
pageToken
string
A token identifying a page of results the server should return. Typically, this is the value of ListPlatformPoliciesResponse.next_page_token returned from the previous call to the policies.list method.
A token to retrieve the next page of results. Pass this value in the ListPlatformPoliciesRequest.page_token field in the subsequent call to the policies.list method to retrieve the next page of results.
[[["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-05-30 UTC."],[[["\u003cp\u003eThis document describes how to list platform policies owned by a project within a specified platform using the \u003ccode\u003eGET\u003c/code\u003e HTTP method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required to specify the project and platform, and authorization needs the \u003ccode\u003ebinaryauthorization.platformPolicies.list\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters are available to manage the pagination of the returned list of platform policies.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and a successful response will include a list of platform policies and a \u003ccode\u003enextPageToken\u003c/code\u003e for retrieving further results.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this API requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.platforms.policies.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.ListPlatformPoliciesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nLists [platform policies](/binary-authorization/docs/reference/rest/v1/projects.platforms.policies#PlatformPolicy) owned by a project in the specified platform. Returns `INVALID_ARGUMENT` if the project or the platform doesn't exist.\n\n### HTTP request\n\n`GET https://binaryauthorization.googleapis.com/v1/{parent=projects/*/platforms/*}/policies`\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 message for [PlatformPolicyManagementService.ListPlatformPolicies](/binary-authorization/docs/reference/rest/v1/projects.platforms.policies/list#google.cloud.binaryauthorization.v1.PlatformPolicyManagementService.ListPlatformPolicies).\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](https://cloud.google.com/docs/authentication/)."]]