View Source GoogleApi.Content.V2.Model.ProductsCustomBatchRequestEntry (google_api_content v0.67.1)

A batch entry encoding a single non-batch products request.

Attributes

  • batchId (type: integer(), default: nil) - An entry ID, unique within the batch request.
  • merchantId (type: String.t, default: nil) - The ID of the managing account.
  • method (type: String.t, default: nil) - The method of the batch entry. Acceptable values are: - "delete" - "get" - "insert"
  • product (type: GoogleApi.Content.V2.Model.Product.t, default: nil) - The product to insert. Only required if the method is insert.
  • productId (type: String.t, default: nil) - The ID of the product to get or delete. Only defined if the method is get or delete.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V2.Model.ProductsCustomBatchRequestEntry{
  batchId: integer() | nil,
  merchantId: String.t() | nil,
  method: String.t() | nil,
  product: GoogleApi.Content.V2.Model.Product.t() | nil,
  productId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.