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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AccountsList

Returns a new instance of AccountsList.



156
157
158
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 156

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



149
150
151
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 149

def items
  @items
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


154
155
156
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 154

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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