GoogleApi.AuthorizedBuyersMarketplace.V1.Model.UpdateDealRequest (google_api_authorized_buyers_marketplace v0.7.0)

View Source

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

Attributes

  • deal (type: GoogleApi.AuthorizedBuyersMarketplace.V1.Model.Deal.t, default: nil) - Required. The deal to update. The deal's name field is used to identify the deal to be updated. Note: proposal_revision will have to be provided within the resource or else an error will be thrown. Format: buyers/{accountId}/proposals/{proposalId}/deals/{dealId}
  • updateMask (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AuthorizedBuyersMarketplace.V1.Model.UpdateDealRequest{
  deal: GoogleApi.AuthorizedBuyersMarketplace.V1.Model.Deal.t() | nil,
  updateMask: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.