REST Resource: projects.locations.accessPolicies Stay organized with collections Save and categorize content based on your preferences.
Resource: AccessPolicy
An IAM access policy resource.
| JSON representation |
|---|
{"name":string,"uid":string,"etag":string,"displayName":string,"annotations":{string:string,...},"createTime":string,"updateTime":string,"details":{object ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the access policy. The following formats are supported:
|
uid |
Output only. The globally unique ID of the access policy. |
etag |
Optional. The etag for the access policy. If this is provided on update, it must match the server's etag. |
displayName |
Optional. The description of the access policy. Must be less than or equal to 63 characters. |
annotations |
Optional. User defined annotations. Seehttps://google.aip.dev/148#annotations for more details such as format and size limitations An object containing a list of |
createTime |
Output only. The time when the access policy was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The time when the access policy was most recently updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
details |
Optional. The details for the access policy. |
Methods | |
|---|---|
| Creates an access policy, and returns a long running operation. |
| Deletes an access policy. |
| Gets an access policy. |
| Lists access policies. |
| Updates an access policy. |
| Returns all policy bindings that bind a specific policy if a user has searchPolicyBindings permission on that policy. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-12 UTC.