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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.