- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Platform
Lists all platforms supported by a platform policy.
HTTP request
GET https://binaryauthorization.googleapis.com/v1/{parent=projects/*}/platforms
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Contains the name of the resource requested, specified using the format |
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.ListPlatforms
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"platforms": [
{
object ( |
Fields | |
---|---|
platforms[] |
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.
Platform
A platform
supported by Binary Authorization platform policy.
JSON representation |
---|
{ "name": string } |
Fields | |
---|---|
name |
Output only. The relative resource name of the platform supported by Binary Authorization platform policies, in the form of |