Replaces a platform policy
. Returns NOT_FOUND
if the policy doesn't exist.
HTTP request
PUT https://binaryauthorization.googleapis.com/v1/{policy.name=projects/*/platforms/*/policies/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
policy.name |
Output only. The relative resource name of the Binary Authorization platform policy, in the form of |
Request body
The request body contains an instance of PlatformPolicy
.
Response body
If successful, the response body contains an instance of PlatformPolicy
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.