Resource: AccessPolicy
AccessPolicy
is a container for AccessLevels
(which define the necessary attributes to use Google Cloud services) and ServicePerimeters
(which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization.
JSON representation |
---|
{ "name": string, "parent": string, "title": string, "scopes": [ string ], "etag": string } |
Fields | |
---|---|
name |
Identifier. Resource name of the |
parent |
Immutable. The parent of this |
title |
Required. Human readable title. Does not affect behavior. |
scopes[] |
The scopes of the
If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of |
etag |
Output only. An opaque identifier for the current version of the |
Methods |
|
---|---|
|
Creates an access policy. |
|
Deletes an access policy based on the resource name. |
|
Returns an access policy based on the name. |
|
Gets the IAM policy for the specified Access Context Manager access policy . |
|
Lists all access policies in an organization. |
|
Updates an access policy . |
|
Sets the IAM policy for the specified Access Context Manager access policy . |
|
Returns the IAM permissions that the caller has on the specified Access Context Manager resource. |