projects
Creates a platform policy, and returns a copy of it. Returns NOT_FOUND if the project or platform doesn't exist, INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the policy already exists, and INVALID_ARGUMENT if the policy contains a platform-specific policy that does not match the platform value specified in the URL.
post/v1/{+parent}/policies
Path parameters
parentstring required
Required. The parent of this platform policy.
Query parameters
policyIdstring
Required. The platform policy ID.
Request body
Response
Successful response