Class: Google::Apis::ContentV2::AccountIdentifier
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::AccountIdentifier
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#aggregator_id ⇒ String
The aggregator ID, set for aggregators and subaccounts (in that case, it represents the aggregator of the subaccount).
-
#merchant_id ⇒ String
The merchant account ID, set for individual accounts and subaccounts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountIdentifier
constructor
A new instance of AccountIdentifier.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountIdentifier
Returns a new instance of AccountIdentifier.
146 147 148 |
# File 'generated/google/apis/content_v2/classes.rb', line 146 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aggregator_id ⇒ String
The aggregator ID, set for aggregators and subaccounts (in that case, it
represents the aggregator of the subaccount).
Corresponds to the JSON property aggregatorId
139 140 141 |
# File 'generated/google/apis/content_v2/classes.rb', line 139 def aggregator_id @aggregator_id end |
#merchant_id ⇒ String
The merchant account ID, set for individual accounts and subaccounts.
Corresponds to the JSON property merchantId
144 145 146 |
# File 'generated/google/apis/content_v2/classes.rb', line 144 def merchant_id @merchant_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
151 152 153 154 |
# File 'generated/google/apis/content_v2/classes.rb', line 151 def update!(**args) @aggregator_id = args[:aggregator_id] if args.key?(:aggregator_id) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) end |