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.



2130
2131
2132
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2130

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



2123
2124
2125
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2123

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



2128
2129
2130
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2128

def default_exchange_config
  @default_exchange_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2135
2136
2137
2138
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2135

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