1.12.0 (latest) 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

## Assembly

Google.Cloud.BigQuery.AnalyticsHub.V1.dll

## Constructors

### BigQueryDatasetSource()

    public BigQueryDatasetSource()

### BigQueryDatasetSource(BigQueryDatasetSource)

    public BigQueryDatasetSource(Listing.Types.BigQueryDatasetSource other)

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

## 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** |
| `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.md.txt)-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.md.txt#Google_Cloud_BigQuery_AnalyticsHub_V1_Listing_Types_BigQueryDatasetSource_Dataset) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `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** |
| `RepeatedFieldListingTypesBigQueryDatasetSourceTypesReplica` |   |

### ReplicaLocations

    public RepeatedField<string> ReplicaLocations { get; }

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

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

### 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** |
| `ListingTypesBigQueryDatasetSourceTypesRestrictedExportPolicy` |   |

### 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** |
| `RepeatedFieldListingTypesBigQueryDatasetSourceTypesSelectedResource` |   |