Class: Google::Apis::AnalyticshubV1::SharingEnvironmentConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticshub_v1/classes.rb,
lib/google/apis/analyticshub_v1/representations.rb,
lib/google/apis/analyticshub_v1/representations.rb

Overview

Sharing environment is a behavior model for sharing data within a data exchange. This option is configurable for a data exchange.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SharingEnvironmentConfig

Returns a new instance of SharingEnvironmentConfig.



1180
1181
1182
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1180

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dcr_exchange_configGoogle::Apis::AnalyticshubV1::DcrExchangeConfig

Data Clean Room (DCR), used for privacy-safe and secured data sharing. Corresponds to the JSON property dcrExchangeConfig



1173
1174
1175
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1173

def dcr_exchange_config
  @dcr_exchange_config
end

#default_exchange_configGoogle::Apis::AnalyticshubV1::DefaultExchangeConfig

Default Analytics Hub data exchange, used for secured data sharing. Corresponds to the JSON property defaultExchangeConfig



1178
1179
1180
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1178

def default_exchange_config
  @default_exchange_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1185
1186
1187
1188
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1185

def update!(**args)
  @dcr_exchange_config = args[:dcr_exchange_config] if args.key?(:dcr_exchange_config)
  @default_exchange_config = args[:default_exchange_config] if args.key?(:default_exchange_config)
end