# Class UpdateEntitlementRequest (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.9

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

Message for updating an entitlement.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `entitlement` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-privilegedaccessmanager/latest/google.cloud.privilegedaccessmanager_v1.types.Entitlement` Required. The entitlement resource that is updated. |
| `update_mask` | `google.protobuf.field_mask_pb2.FieldMask` Required. The list of fields to update. A field is overwritten if, and only if, it is in the mask. Any immutable fields set in the mask are ignored by the server. Repeated fields and map fields are only allowed in the last position of a `paths` string and overwrite the existing values. Hence an update to a repeated field or a map should contain the entire list of values. The fields specified in the update_mask are relative to the resource and not to the request. (e.g. `MaxRequestDuration`; \*not\* `entitlement.MaxRequestDuration`) A value of '\\\*' for this field refers to full replacement of the resource. |