Class: Google::Apis::ContentV2_1::AccountIdentifier
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::AccountIdentifier
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#aggregator_id ⇒ Fixnum
The aggregator ID, set for aggregators and subaccounts (in that case, it represents the aggregator of the subaccount).
-
#merchant_id ⇒ Fixnum
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.
Constructor Details
#initialize(**args) ⇒ AccountIdentifier
Returns a new instance of AccountIdentifier.
535 536 537 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 535 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aggregator_id ⇒ Fixnum
The aggregator ID, set for aggregators and subaccounts (in that case, it
represents the aggregator of the subaccount).
Corresponds to the JSON property aggregatorId
528 529 530 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 528 def aggregator_id @aggregator_id end |
#merchant_id ⇒ Fixnum
The merchant account ID, set for individual accounts and subaccounts.
Corresponds to the JSON property merchantId
533 534 535 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 533 def merchant_id @merchant_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
540 541 542 543 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 540 def update!(**args) @aggregator_id = args[:aggregator_id] if args.key?(:aggregator_id) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) end |