Class: Google::Apis::AdexchangebuyerV1_4::AddOrderDealsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::AddOrderDealsRequest
- 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
-
#deals ⇒ Array<Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal>
The list of deals to add Corresponds to the JSON property
deals
. -
#proposal_revision_number ⇒ String
The last known proposal revision number.
-
#update_action ⇒ String
Indicates an optional action to take on the proposal Corresponds to the JSON property
updateAction
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddOrderDealsRequest
constructor
A new instance of AddOrderDealsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddOrderDealsRequest
Returns a new instance of AddOrderDealsRequest.
186 187 188 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 186 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deals ⇒ Array<Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal>
The list of deals to add
Corresponds to the JSON property deals
174 175 176 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 174 def deals @deals end |
#proposal_revision_number ⇒ String
The last known proposal revision number.
Corresponds to the JSON property proposalRevisionNumber
179 180 181 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 179 def proposal_revision_number @proposal_revision_number end |
#update_action ⇒ String
Indicates an optional action to take on the proposal
Corresponds to the JSON property updateAction
184 185 186 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 184 def update_action @update_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
191 192 193 194 195 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 191 def update!(**args) @deals = args[:deals] if args.key?(:deals) @proposal_revision_number = args[:proposal_revision_number] if args.key?(:proposal_revision_number) @update_action = args[:update_action] if args.key?(:update_action) end |