Class: Google::Apis::AdexchangebuyerV1_4::UpdatePrivateAuctionProposalRequest

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

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

Returns a new instance of UpdatePrivateAuctionProposalRequest.



3727
3728
3729
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3727

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

Instance Attribute Details

#external_deal_idString

The externalDealId of the deal to be updated. Corresponds to the JSON property externalDealId

Returns:

  • (String)


3709
3710
3711
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3709

def external_deal_id
  @external_deal_id
end

#noteGoogle::Apis::AdexchangebuyerV1_4::MarketplaceNote

A proposal is associated with a bunch of notes which may optionally be associated with a deal and/or revision number. Corresponds to the JSON property note



3715
3716
3717
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3715

def note
  @note
end

#proposal_revision_numberFixnum

The current revision number of the proposal to be updated. Corresponds to the JSON property proposalRevisionNumber

Returns:

  • (Fixnum)


3720
3721
3722
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3720

def proposal_revision_number
  @proposal_revision_number
end

#update_actionString

The proposed action on the private auction proposal. Corresponds to the JSON property updateAction

Returns:

  • (String)


3725
3726
3727
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3725

def update_action
  @update_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3732
3733
3734
3735
3736
3737
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3732

def update!(**args)
  @external_deal_id = args[:external_deal_id] if args.key?(:external_deal_id)
  @note = args[:note] if args.key?(:note)
  @proposal_revision_number = args[:proposal_revision_number] if args.key?(:proposal_revision_number)
  @update_action = args[:update_action] if args.key?(:update_action)
end