Class: Google::Apis::AdexchangebuyerV1_2::AccountsList
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_2::AccountsList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_2/classes.rb,
generated/google/apis/adexchangebuyer_v1_2/representations.rb,
generated/google/apis/adexchangebuyer_v1_2/representations.rb
Overview
An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::AdexchangebuyerV1_2::Account>
A list of accounts.
-
#kind ⇒ String
Resource type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountsList
constructor
A new instance of AccountsList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountsList
Returns a new instance of AccountsList
143 144 145 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 143 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::AdexchangebuyerV1_2::Account>
A list of accounts.
Corresponds to the JSON property items
136 137 138 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 136 def items @items end |
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
141 142 143 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 141 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
148 149 150 151 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 148 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |