Class: Google::Apis::Adexchangebuyer2V2beta1::AcceptProposalRequest
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::AcceptProposalRequest
- 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 to accept a proposal.
Instance Attribute Summary collapse
-
#proposal_revision ⇒ Fixnum
The last known client revision number of the proposal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AcceptProposalRequest
constructor
A new instance of AcceptProposalRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AcceptProposalRequest
Returns a new instance of AcceptProposalRequest.
76 77 78 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 76 def initialize(**args) update!(**args) end |
Instance Attribute Details
#proposal_revision ⇒ Fixnum
The last known client revision number of the proposal.
Corresponds to the JSON property proposalRevision
74 75 76 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 74 def proposal_revision @proposal_revision end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
81 82 83 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 81 def update!(**args) @proposal_revision = args[:proposal_revision] if args.key?(:proposal_revision) end |