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 SharingEnvironmentConfig.Types.DcrExchangeConfig : IMessage<SharingEnvironmentConfig.Types.DcrExchangeConfig>, IEquatable<SharingEnvironmentConfig.Types.DcrExchangeConfig>, IDeepCloneable<SharingEnvironmentConfig.Types.DcrExchangeConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Analytics Hub v1 API class SharingEnvironmentConfig.Types.DcrExchangeConfig.

Data Clean Room (DCR), used for privacy-safe and secured data sharing.

## Inheritance

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

## Implements

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

### DcrExchangeConfig()

    public DcrExchangeConfig()

### DcrExchangeConfig(DcrExchangeConfig)

    public DcrExchangeConfig(SharingEnvironmentConfig.Types.DcrExchangeConfig other)

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

## Properties

### HasSingleLinkedDatasetPerCleanroom

    public bool HasSingleLinkedDatasetPerCleanroom { get; }

Gets whether the "single_linked_dataset_per_cleanroom" field is set

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

### HasSingleSelectedResourceSharingRestriction

    public bool HasSingleSelectedResourceSharingRestriction { get; }

Gets whether the "single_selected_resource_sharing_restriction" field is set

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

### SingleLinkedDatasetPerCleanroom

    public bool SingleLinkedDatasetPerCleanroom { get; set; }

Output only. If True, when subscribing to this DCR, it will create only
one linked dataset containing all resources shared within the
cleanroom. If False, when subscribing to this DCR, it will
create 1 linked dataset per listing. This is not configurable, and by
default, all new DCRs will have the restriction set to True.

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

### SingleSelectedResourceSharingRestriction

    public bool SingleSelectedResourceSharingRestriction { get; set; }

Output only. If True, this DCR restricts the contributors to sharing
only a single resource in a Listing. And no two resources should have the
same IDs. So if a contributor adds a view with a conflicting name, the
CreateListing API will reject the request. if False, the data contributor
can publish an entire dataset (as before). This is not configurable, and
by default, all new DCRs will have the restriction set to True.

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