# Analytics Hub v1 API - Class Listing.Types.BigQueryDatasetSource (1.12.0)

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

- [1.12.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource)
- [1.11.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/1.11.0/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource)
- [1.10.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/1.10.0/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource)
- [1.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/1.9.0/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource)
- [1.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/1.8.0/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource)
- [1.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/1.7.0/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource)
- [1.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/1.6.0/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource)
- [1.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/1.5.0/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/1.4.0/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/1.3.0/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/1.2.0/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/1.1.0/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/1.0.0/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource)

    public sealed class Listing.Types.BigQueryDatasetSource : IMessage<Listing.Types.BigQueryDatasetSource>, IEquatable<Listing.Types.BigQueryDatasetSource>, IDeepCloneable<Listing.Types.BigQueryDatasetSource>, IBufferMessage, IMessage

Reference documentation and code samples for the Analytics Hub v1 API class Listing.Types.BigQueryDatasetSource.

A reference to a shared dataset. It is an existing BigQuery dataset with a
collection of objects such as tables and views that you want to share
with subscribers.
When subscriber's subscribe to a listing, Analytics Hub creates a linked
dataset in
the subscriber's project. A Linked dataset is an opaque, read-only BigQuery
dataset that serves as a *symbolic link* to a shared dataset.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.BigQuery.AnalyticsHub.V1.dll

## Constructors

### BigQueryDatasetSource()

    public BigQueryDatasetSource()

### BigQueryDatasetSource(BigQueryDatasetSource)

    public BigQueryDatasetSource(Listing.Types.BigQueryDatasetSource other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listinghttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource` |

## Properties

### Dataset

    public string Dataset { get; set; }

Optional. Resource name of the dataset source for this listing.
e.g. `projects/myproject/datasets/123`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DatasetAsDatasetName

    public DatasetName DatasetAsDatasetName { get; set; }

[DatasetName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.DatasetName)-typed view over the [Dataset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource#Google_Cloud_BigQuery_AnalyticsHub_V1_Listing_Types_BigQueryDatasetSource_Dataset) resource name property.

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

### EffectiveReplicas

    public RepeatedField<Listing.Types.BigQueryDatasetSource.Types.Replica> EffectiveReplicas { get; }

Output only. Server-owned effective state of replicas.
Contains both primary and secondary replicas.
Each replica includes a system-computed (output-only) state and primary
designation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listinghttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.Types.Replica` |   |

### ReplicaLocations

    public RepeatedField<string> ReplicaLocations { get; }

Optional. A list of regions where the publisher has created shared
dataset replicas.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### RestrictedExportPolicy

    public Listing.Types.BigQueryDatasetSource.Types.RestrictedExportPolicy RestrictedExportPolicy { get; set; }

Optional. If set, restricted export policy will be propagated and
enforced on the linked dataset.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listinghttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.Types.RestrictedExportPolicy` |   |

### SelectedResources

    public RepeatedField<Listing.Types.BigQueryDatasetSource.Types.SelectedResource> SelectedResources { get; }

Optional. Resource in this dataset that is selectively shared.
This field is required for data clean room exchanges.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listinghttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.Types.SelectedResource` |   |