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.



2037
2038
2039
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2037

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



2030
2031
2032
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2030

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



2035
2036
2037
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2035

def default_exchange_config
  @default_exchange_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2042
2043
2044
2045
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2042

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