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

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

Request message for CreateAccessPolicy method.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The parent resource where this access policy will be created. Format: `projects/{project_id}/locations/{location}` `projects/{project_number}/locations/{location}` `folders/{folder_id}/locations/{location}` `organizations/{organization_id}/locations/{location}` |
| `access_policy_id` | `str` Required. The ID to use for the access policy, which will become the final component of the access policy's resource name. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, hyphens, or dots. Pattern, /`a-z][a-z0-9-.]`{2,62}/. This value must be unique among all access policies with the same parent. |
| `access_policy` | `https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_v3beta.types.AccessPolicy` Required. The access policy to create. |
| `validate_only` | `bool` Optional. If set, validate the request and preview the creation, but do not actually post it. |