Class: Google::Apis::AdexchangebuyerV1_3::DirectDealsList

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

A direct deals feed lists Direct Deals the Ad Exchange buyer account has access to. This includes direct deals set up for the buyer account as well as its merged stream seats.

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) ⇒ DirectDealsList

Returns a new instance of DirectDealsList



887
888
889
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 887

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

Instance Attribute Details

#direct_dealsArray<Google::Apis::AdexchangebuyerV1_3::DirectDeal>

A list of direct deals relevant for your account. Corresponds to the JSON property directDeals



880
881
882
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 880

def direct_deals
  @direct_deals
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


885
886
887
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 885

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



892
893
894
895
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 892

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