Class: Google::Apis::Adexchangebuyer2V2beta1::PauseProposalRequest
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::PauseProposalRequest
- 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 an already-finalized proposal.
Instance Attribute Summary collapse
-
#reason ⇒ String
The reason why the proposal is being paused.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PauseProposalRequest
constructor
A new instance of PauseProposalRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PauseProposalRequest
Returns a new instance of PauseProposalRequest.
3012 3013 3014 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3012 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reason ⇒ String
The reason why the proposal is 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
3010 3011 3012 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3010 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3017 3018 3019 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3017 def update!(**args) @reason = args[:reason] if args.key?(:reason) end |