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.
1617 1618 1619 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1617 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
1610 1611 1612 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1610 def commerce_partner @commerce_partner end |
#partner_audience_source ⇒ String
Required. Immutable. The source of the partner audience.
Corresponds to the JSON property partnerAudienceSource
1615 1616 1617 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1615 def partner_audience_source @partner_audience_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1622 1623 1624 1625 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1622 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 |