1.6.0 (latest) 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the BigQuery Data Policy v1 API class UpdateDataPolicyRequest.

Response message for the UpdateDataPolicy method.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[UpdateDataPolicyRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/latest/Google.Cloud.BigQuery.DataPolicies.V1.UpdateDataPolicyRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateDataPolicyRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/latest/Google.Cloud.BigQuery.DataPolicies.V1.UpdateDataPolicyRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[UpdateDataPolicyRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/latest/Google.Cloud.BigQuery.DataPolicies.V1.UpdateDataPolicyRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.BigQuery.DataPolicies.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/latest/Google.Cloud.BigQuery.DataPolicies.V1.md.txt)

## Assembly

Google.Cloud.BigQuery.DataPolicies.V1.dll

## Constructors

### UpdateDataPolicyRequest()

    public UpdateDataPolicyRequest()

### UpdateDataPolicyRequest(UpdateDataPolicyRequest)

    public UpdateDataPolicyRequest(UpdateDataPolicyRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `UpdateDataPolicyRequest` |

## Properties

### DataPolicy

    public DataPolicy DataPolicy { get; set; }

Required. Update the data policy's metadata.

The target data policy is determined by the `name` field.
Other fields are updated to the specified values based on the field masks.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DataPolicy` |   |

### UpdateMask

    public FieldMask UpdateMask { get; set; }

The update mask applies to the resource. For the `FieldMask` definition,
see
<https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask>
If not set, defaults to all of the fields that are allowed to update.

Updates to the `name` and `dataPolicyId` fields are not allowed.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `FieldMask` |   |