# Privileged Access Manager v1 API - Class UpdateEntitlementRequest (1.2.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.2.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PrivilegedAccessManager.V1/latest/Google.Cloud.PrivilegedAccessManager.V1.UpdateEntitlementRequest)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PrivilegedAccessManager.V1/1.1.0/Google.Cloud.PrivilegedAccessManager.V1.UpdateEntitlementRequest)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PrivilegedAccessManager.V1/1.0.0/Google.Cloud.PrivilegedAccessManager.V1.UpdateEntitlementRequest)

    public sealed class UpdateEntitlementRequest : IMessage<UpdateEntitlementRequest>, IEquatable<UpdateEntitlementRequest>, IDeepCloneable<UpdateEntitlementRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Privileged Access Manager v1 API class UpdateEntitlementRequest.

Message for updating an entitlement.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> UpdateEntitlementRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateEntitlementRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PrivilegedAccessManager.V1/latest/Google.Cloud.PrivilegedAccessManager.V1.UpdateEntitlementRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateEntitlementRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PrivilegedAccessManager.V1/latest/Google.Cloud.PrivilegedAccessManager.V1.UpdateEntitlementRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateEntitlementRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PrivilegedAccessManager.V1/latest/Google.Cloud.PrivilegedAccessManager.V1.UpdateEntitlementRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.PrivilegedAccessManager.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PrivilegedAccessManager.V1/latest/Google.Cloud.PrivilegedAccessManager.V1)

## Assembly

Google.Cloud.PrivilegedAccessManager.V1.dll

## Constructors

### UpdateEntitlementRequest()

    public UpdateEntitlementRequest()

### UpdateEntitlementRequest(UpdateEntitlementRequest)

    public UpdateEntitlementRequest(UpdateEntitlementRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PrivilegedAccessManager.V1/latest/Google.Cloud.PrivilegedAccessManager.V1.UpdateEntitlementRequest` |

## Properties

### Entitlement

    public Entitlement Entitlement { get; set; }

Required. The entitlement resource that is updated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PrivilegedAccessManager.V1/latest/Google.Cloud.PrivilegedAccessManager.V1.Entitlement` |   |

### UpdateMask

    public FieldMask UpdateMask { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` |   |