Class: Google::Apis::AdexchangebuyerV1_4::CreateOrdersRequest

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

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

Returns a new instance of CreateOrdersRequest



438
439
440
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 438

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

Instance Attribute Details

#proposalsArray<Google::Apis::AdexchangebuyerV1_4::Proposal>

The list of proposals to create. Corresponds to the JSON property proposals



431
432
433
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 431

def proposals
  @proposals
end

#web_property_codeString

Web property id of the seller creating these orders Corresponds to the JSON property webPropertyCode

Returns:

  • (String)


436
437
438
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 436

def web_property_code
  @web_property_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



443
444
445
446
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 443

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