Create an AccessPolicy
. Fails if this organization already has a AccessPolicy
. The longrunning Operation will have a successful status once the AccessPolicy
has propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in metadata
as a BadRequest proto.
HTTP request
POST https://accesscontextmanager.googleapis.com/v1beta/accessPolicies
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "name": string, "parent": string, "title": string } |
Fields | |
---|---|
name |
Output only. Resource name of the |
parent |
Required. The parent of this |
title |
Required. Human readable title. Does not affect behavior. |
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.