2.27.0 (latest) 2.26.0 2.25.0 2.24.1 2.23.0 2.22.0 2.21.0 2.20.0 2.19.1 2.18.3 2.17.0 2.16.1 2.15.2 2.14.3 2.13.0 2.12.1 2.11.2 2.10.0 2.9.0 2.8.2 2.7.0 2.6.2 2.5.1 2.4.0 2.3.2 2.2.0 2.1.0 2.0.0 1.0.3 0.3.2 0.2.0

    AccessPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An IAM access policy resource.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Identifier. The resource name of the access policy. The following formats are supported: - `projects/{project_id}/locations/{location}/accessPolicies/{policy_id}` - `projects/{project_number}/locations/{location}/accessPolicies/{policy_id}` - `folders/{folder_id}/locations/{location}/accessPolicies/{policy_id}` - `organizations/{organization_id}/locations/{location}/accessPolicies/{policy_id}` |
| `uid` | `str` Output only. The globally unique ID of the access policy. |
| `etag` | `str` Optional. The etag for the access policy. If this is provided on update, it must match the server's etag. |
| `display_name` | `str` Optional. The description of the access policy. Must be less than or equal to 63 characters. |
| `annotations` | `MutableMapping[str, str]` Optional. User defined annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the access policy was created. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the access policy was most recently updated. |
| `details` | `https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_v3beta.types.AccessPolicyDetails` Optional. The details for the access policy. |

## Classes

### AnnotationsEntry

    AnnotationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |