Google Cloud BigQuery Analytics Hub V1 Client - Class DcrExchangeConfig (1.0.3)

Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class DcrExchangeConfig.

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

Generated from protobuf message google.cloud.bigquery.analyticshub.v1.SharingEnvironmentConfig.DcrExchangeConfig

Namespace

Google \ Cloud \ BigQuery \ AnalyticsHub \ V1 \ SharingEnvironmentConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ single_selected_resource_sharing_restriction bool

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.

↳ single_linked_dataset_per_cleanroom bool

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.

getSingleSelectedResourceSharingRestriction

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.

Returns
Type Description
bool

hasSingleSelectedResourceSharingRestriction

clearSingleSelectedResourceSharingRestriction

setSingleSelectedResourceSharingRestriction

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.

Parameter
Name Description
var bool
Returns
Type Description
$this

getSingleLinkedDatasetPerCleanroom

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.

Returns
Type Description
bool

hasSingleLinkedDatasetPerCleanroom

clearSingleLinkedDatasetPerCleanroom

setSingleLinkedDatasetPerCleanroom

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.

Parameter
Name Description
var bool
Returns
Type Description
$this