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

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 to accept a 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) ⇒ AcceptProposalRequest

Returns a new instance of AcceptProposalRequest



77
78
79
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 77

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)


75
76
77
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 75

def proposal_revision
  @proposal_revision
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



82
83
84
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 82

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