class Google::Apis::AuthorizedbuyersmarketplaceV1::UpdateDealRequest

Request message for updating the deal at the given revision number.

Attributes

deal[RW]

A deal represents a segment of inventory for displaying ads that contains the terms and targeting information that is used for serving as well as the deal stats and status. Note: A proposal may contain multiple deals. Corresponds to the JSON property ‘deal` @return [Google::Apis::AuthorizedbuyersmarketplaceV1::Deal]

update_mask[RW]

List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path “*” can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask. Corresponds to the JSON property ‘updateMask` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 2188
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 2193
def update!(**args)
  @deal = args[:deal] if args.key?(:deal)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end