Class: Google::Apis::AdexchangebuyerV1_4::CreateOrdersRequest
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::CreateOrdersRequest
- 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
-
#proposals ⇒ Array<Google::Apis::AdexchangebuyerV1_4::Proposal>
The list of proposals to create.
-
#web_property_code ⇒ String
Web property id of the seller creating these orders Corresponds to the JSON property
webPropertyCode
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateOrdersRequest
constructor
A new instance of CreateOrdersRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateOrdersRequest
Returns a new instance of CreateOrdersRequest.
435 436 437 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 435 def initialize(**args) update!(**args) end |
Instance Attribute Details
#proposals ⇒ Array<Google::Apis::AdexchangebuyerV1_4::Proposal>
The list of proposals to create.
Corresponds to the JSON property proposals
428 429 430 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 428 def proposals @proposals end |
#web_property_code ⇒ String
Web property id of the seller creating these orders
Corresponds to the JSON property webPropertyCode
433 434 435 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 433 def web_property_code @web_property_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
440 441 442 443 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 440 def update!(**args) @proposals = args[:proposals] if args.key?(:proposals) @web_property_code = args[:web_property_code] if args.key?(:web_property_code) end |