Class: Google::Apis::DatamanagerV1::PartnerAudienceInfo
- Inherits:
-
Object
- Object
- Google::Apis::DatamanagerV1::PartnerAudienceInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamanager_v1/classes.rb,
lib/google/apis/datamanager_v1/representations.rb,
lib/google/apis/datamanager_v1/representations.rb
Overview
Additional information for partner audiences. This feature is only available to data partners.
Instance Attribute Summary collapse
-
#commerce_partner ⇒ String
Optional.
-
#partner_audience_source ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PartnerAudienceInfo
constructor
A new instance of PartnerAudienceInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PartnerAudienceInfo
Returns a new instance of PartnerAudienceInfo.
2331 2332 2333 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2331 def initialize(**args) update!(**args) end |
Instance Attribute Details
#commerce_partner ⇒ String
Optional. The commerce partner name. Only allowed if partner_audience_source
is COMMERCE_AUDIENCE.
Corresponds to the JSON property commercePartner
2324 2325 2326 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2324 def commerce_partner @commerce_partner end |
#partner_audience_source ⇒ String
Required. Immutable. The source of the partner audience.
Corresponds to the JSON property partnerAudienceSource
2329 2330 2331 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2329 def partner_audience_source @partner_audience_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2336 2337 2338 2339 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2336 def update!(**args) @commerce_partner = args[:commerce_partner] if args.key?(:commerce_partner) @partner_audience_source = args[:partner_audience_source] if args.key?(:partner_audience_source) end |