# Class RoleBinding (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.9

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

IAM role bindings that are created after a successful grant.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `role` | `str` Required. IAM role to be granted. https://cloud.google.com/iam/docs/roles-overview. |
| `condition_expression` | `str` Optional. The expression field of the IAM condition to be associated with the role. If specified, a user with an active grant for this entitlement is able to access the resource only if this condition evaluates to true for their request. This field uses the same CEL format as IAM and supports all attributes that IAM supports, except tags. https://cloud.google.com/iam/docs/conditions-overview#attributes. |