public sealed class UpdateDataPolicyRequest : IMessage<UpdateDataPolicyRequest>, IEquatable<UpdateDataPolicyRequest>, IDeepCloneable<UpdateDataPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the BigQuery Data Policy v1beta1 API class UpdateDataPolicyRequest.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eUpdateDataPolicyRequest\u003c/code\u003e class within the BigQuery Data Policy v1beta1 API, specifically version 1.0.0-beta04, which is the latest release.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateDataPolicyRequest\u003c/code\u003e class is used to update the metadata of a data policy and is part of the \u003ccode\u003eGoogle.Cloud.BigQuery.DataPolicies.V1Beta1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two constructors: a default constructor and one that accepts another \u003ccode\u003eUpdateDataPolicyRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the class are \u003ccode\u003eDataPolicy\u003c/code\u003e, which represents the metadata to be updated, and \u003ccode\u003eUpdateMask\u003c/code\u003e, which specifies which fields to update.\u003c/p\u003e\n"]]],[],null,["# BigQuery Data Policy v1beta1 API - Class UpdateDataPolicyRequest (1.0.0-beta04)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta04 (latest)](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/latest/Google.Cloud.BigQuery.DataPolicies.V1Beta1.UpdateDataPolicyRequest)\n- [1.0.0-beta03](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/1.0.0-beta03/Google.Cloud.BigQuery.DataPolicies.V1Beta1.UpdateDataPolicyRequest) \n\n public sealed class UpdateDataPolicyRequest : IMessage\u003cUpdateDataPolicyRequest\u003e, IEquatable\u003cUpdateDataPolicyRequest\u003e, IDeepCloneable\u003cUpdateDataPolicyRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the BigQuery Data Policy v1beta1 API class UpdateDataPolicyRequest.\n\nResponse message for the UpdateDataPolicy method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateDataPolicyRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateDataPolicyRequest](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/latest/Google.Cloud.BigQuery.DataPolicies.V1Beta1.UpdateDataPolicyRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateDataPolicyRequest](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/latest/Google.Cloud.BigQuery.DataPolicies.V1Beta1.UpdateDataPolicyRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateDataPolicyRequest](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/latest/Google.Cloud.BigQuery.DataPolicies.V1Beta1.UpdateDataPolicyRequest), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.BigQuery.DataPolicies.V1Beta1](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/latest/Google.Cloud.BigQuery.DataPolicies.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.BigQuery.DataPolicies.V1Beta1.dll\n\nConstructors\n------------\n\n### UpdateDataPolicyRequest()\n\n public UpdateDataPolicyRequest()\n\n### UpdateDataPolicyRequest(UpdateDataPolicyRequest)\n\n public UpdateDataPolicyRequest(UpdateDataPolicyRequest other)\n\nProperties\n----------\n\n### DataPolicy\n\n public DataPolicy DataPolicy { get; set; }\n\nRequired. Update the data policy's metadata.\n\nThe target data policy is determined by the `name` field.\nOther fields are updated to the specified values based on the field masks.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nThe update mask applies to the resource. For the `FieldMask` definition,\nsee\n\u003chttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask\u003e\nIf not set, defaults to all of the fields that are allowed to update.\n\nUpdates to the `name` and `dataPolicyId` fields are not allowed."]]