Class: Google::Apis::AdexchangebuyerV1_4::AccountsList

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccountsList

Returns a new instance of AccountsList.



169
170
171
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 169

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#itemsArray<Google::Apis::AdexchangebuyerV1_4::Account>

A list of accounts. Corresponds to the JSON property items



162
163
164
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 162

def items
  @items
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


167
168
169
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 167

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



174
175
176
177
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 174

def update!(**args)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
end