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 GetDataPolicyRequest : IMessage<GetDataPolicyRequest>, IEquatable<GetDataPolicyRequest>, IDeepCloneable<GetDataPolicyRequest>, IBufferMessage, IMessage

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

Request message for the GetDataPolicy method.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[GetDataPolicyRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/latest/Google.Cloud.BigQuery.DataPolicies.V1.GetDataPolicyRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetDataPolicyRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/latest/Google.Cloud.BigQuery.DataPolicies.V1.GetDataPolicyRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[GetDataPolicyRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/latest/Google.Cloud.BigQuery.DataPolicies.V1.GetDataPolicyRequest.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

### GetDataPolicyRequest()

    public GetDataPolicyRequest()

### GetDataPolicyRequest(GetDataPolicyRequest)

    public GetDataPolicyRequest(GetDataPolicyRequest other)

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

## Properties

### DataPolicyName

    public DataPolicyName DataPolicyName { get; set; }

[DataPolicyName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/latest/Google.Cloud.BigQuery.DataPolicies.V1.DataPolicyName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/latest/Google.Cloud.BigQuery.DataPolicies.V1.GetDataPolicyRequest.md.txt#Google_Cloud_BigQuery_DataPolicies_V1_GetDataPolicyRequest_Name) resource name property.

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

### Name

    public string Name { get; set; }

Required. Resource name of the requested data policy. Format is
`projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.

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