Lists platform policies owned by a project in the specified platform. Returns INVALID_ARGUMENT if the project or the platform doesn't exist.
HTTP request
GET https://binaryauthorization.googleapis.com/v1/{parent=projects/*/platforms/*}/policies
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The resource name of the platform associated with the Authorization requires the following IAM permission on the specified resource
|
Query parameters
| Parameters | |
|---|---|
pageSize |
Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default. |
pageToken |
A token identifying a page of results the server should return. Typically, this is the value of |
Request body
The request body must be empty.
Response body
Response message for PlatformPolicyManagementService.ListPlatformPolicies.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"platformPolicies": [
{
object ( |
| Fields | |
|---|---|
platformPolicies[] |
The list of |
nextPageToken |
A token to retrieve the next page of results. Pass this value in the |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.