Class: Google::Apis::Adexchangebuyer2V2beta1::PauseProposalRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb

Overview

Request message to pause serving for an already-finalized proposal.

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

Returns a new instance of PauseProposalRequest.



3043
3044
3045
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3043

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

Instance Attribute Details

#reasonString

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

Returns:

  • (String)


3041
3042
3043
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3041

def reason
  @reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3048
3049
3050
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3048

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