Class: Google::Apis::Adexchangebuyer2V2beta1::AcceptProposalRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_revisionFixnum

The last known client revision number of the proposal. Corresponds to the JSON property proposalRevision

Returns:

  • (Fixnum)


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