Class: Google::Apis::AdexchangebuyerV1_4::DeleteOrderDealsRequest

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

Constructor Details

#initialize(**args) ⇒ DeleteOrderDealsRequest

Returns a new instance of DeleteOrderDealsRequest.



1597
1598
1599
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1597

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

Instance Attribute Details

#deal_idsArray<String>

List of deals to delete for a given proposal Corresponds to the JSON property dealIds

Returns:

  • (Array<String>)


1585
1586
1587
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1585

def deal_ids
  @deal_ids
end

#proposal_revision_numberFixnum

The last known proposal revision number. Corresponds to the JSON property proposalRevisionNumber

Returns:

  • (Fixnum)


1590
1591
1592
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1590

def proposal_revision_number
  @proposal_revision_number
end

#update_actionString

Indicates an optional action to take on the proposal Corresponds to the JSON property updateAction

Returns:

  • (String)


1595
1596
1597
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1595

def update_action
  @update_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1602
1603
1604
1605
1606
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1602

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