Class: Google::Apis::AdexchangebuyerV1_3::AccountsList

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



143
144
145
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 143

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

Instance Attribute Details

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

A list of accounts. Corresponds to the JSON property items



136
137
138
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 136

def items
  @items
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


141
142
143
# File 'generated/google/apis/adexchangebuyer_v1_3/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_3/classes.rb', line 148

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