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



159
160
161
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 159

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



152
153
154
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 152

def items
  @items
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


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

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



164
165
166
167
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 164

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