public sealed class GetDataPolicyRequest : IMessage<GetDataPolicyRequest>, IEquatable<GetDataPolicyRequest>, IDeepCloneable<GetDataPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the BigQuery Data Policy v1beta1 API class GetDataPolicyRequest.
[[["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\u003eThe \u003ccode\u003eGetDataPolicyRequest\u003c/code\u003e class is used to request data policy information within the BigQuery Data Policy v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis 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\u003eThe \u003ccode\u003eGetDataPolicyRequest\u003c/code\u003e class contains properties such as \u003ccode\u003eDataPolicyName\u003c/code\u003e (a typed view) and \u003ccode\u003eName\u003c/code\u003e (a string) which represents the requested data policy's resource name.\u003c/p\u003e\n"],["\u003cp\u003eThere are two versions available for the BigQuery Data Policy v1beta1 API, including 1.0.0-beta04 (latest) and 1.0.0-beta03.\u003c/p\u003e\n"]]],[],null,["# BigQuery Data Policy v1beta1 API - Class GetDataPolicyRequest (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.GetDataPolicyRequest)\n- [1.0.0-beta03](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/1.0.0-beta03/Google.Cloud.BigQuery.DataPolicies.V1Beta1.GetDataPolicyRequest) \n\n public sealed class GetDataPolicyRequest : IMessage\u003cGetDataPolicyRequest\u003e, IEquatable\u003cGetDataPolicyRequest\u003e, IDeepCloneable\u003cGetDataPolicyRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the BigQuery Data Policy v1beta1 API class GetDataPolicyRequest.\n\nRequest message for the GetDataPolicy method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetDataPolicyRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetDataPolicyRequest](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/latest/Google.Cloud.BigQuery.DataPolicies.V1Beta1.GetDataPolicyRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetDataPolicyRequest](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/latest/Google.Cloud.BigQuery.DataPolicies.V1Beta1.GetDataPolicyRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetDataPolicyRequest](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/latest/Google.Cloud.BigQuery.DataPolicies.V1Beta1.GetDataPolicyRequest), [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### GetDataPolicyRequest()\n\n public GetDataPolicyRequest()\n\n### GetDataPolicyRequest(GetDataPolicyRequest)\n\n public GetDataPolicyRequest(GetDataPolicyRequest other)\n\nProperties\n----------\n\n### DataPolicyName\n\n public DataPolicyName DataPolicyName { get; set; }\n\n[DataPolicyName](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/latest/Google.Cloud.BigQuery.DataPolicies.V1Beta1.DataPolicyName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/latest/Google.Cloud.BigQuery.DataPolicies.V1Beta1.GetDataPolicyRequest#Google_Cloud_BigQuery_DataPolicies_V1Beta1_GetDataPolicyRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Resource name of the requested data policy. Format is\n`projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`."]]