Class: Google::Apis::AuthorizedbuyersmarketplaceV1::AcceptProposalRequest
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::AcceptProposalRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb
Overview
Request to accept a proposal. Accepting a proposal implies acceptance of the publisher terms_and_conditions, if any.
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.
35 36 37 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 35 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
33 34 35 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 33 def proposal_revision @proposal_revision end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40 41 42 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 40 def update!(**args) @proposal_revision = args[:proposal_revision] if args.key?(:proposal_revision) end |