Class: Google::Apis::Adexchangebuyer2V2beta1::PauseProposalDealsRequest
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::PauseProposalDealsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/adexchangebuyer2_v2beta1/classes.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
Request message to pause serving for finalized deals.
Instance Attribute Summary collapse
-
#external_deal_ids ⇒ Array<String>
The external_deal_id's of the deals to be paused.
-
#reason ⇒ String
The reason why the deals are being paused.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PauseProposalDealsRequest
constructor
A new instance of PauseProposalDealsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PauseProposalDealsRequest
Returns a new instance of PauseProposalDealsRequest.
2991 2992 2993 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2991 def initialize(**args) update!(**args) end |
Instance Attribute Details
#external_deal_ids ⇒ Array<String>
The external_deal_id's of the deals to be paused. If empty, all the deals in
the proposal will be paused.
Corresponds to the JSON property externalDealIds
2983 2984 2985 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2983 def external_deal_ids @external_deal_ids end |
#reason ⇒ String
The reason why the deals are being paused. This human readable message will be
displayed in the seller's UI. (Max length: 1000 unicode code units.)
Corresponds to the JSON property reason
2989 2990 2991 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2989 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2996 2997 2998 2999 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2996 def update!(**args) @external_deal_ids = args[:external_deal_ids] if args.key?(:external_deal_ids) @reason = args[:reason] if args.key?(:reason) end |