View Source GoogleApi.Content.V21.Model.ProductsCustomBatchRequestEntry (google_api_content v0.61.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.
  • feedId (type: String.t, default: nil) - The Content API Supplemental Feed ID. If present then product insertion or deletion applies to a supplemental feed instead of primary Content API feed.
  • 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" - "update"
  • product (type: GoogleApi.Content.V21.Model.Product.t, default: nil) - The product to insert or update. Only required if the method is insert or update. If the update method is used with updateMask only to delete a field, then this isn't required. For example, setting salePrice on the updateMask and not providing a product will result in an existing sale price on the product specified by productId being deleted.
  • productId (type: String.t, default: nil) - The ID of the product to get or mutate. Only defined if the method is get, delete, or update.
  • updateMask (type: String.t, default: nil) - The comma-separated list of product attributes to be updated. Example: "title,salePrice". Attributes specified in the update mask without a value specified in the body will be deleted from the product. Only top-level product attributes can be updated. If not defined, product attributes with set values will be updated and other attributes will stay unchanged. Only defined if the method is update.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V21.Model.ProductsCustomBatchRequestEntry{
  batchId: integer() | nil,
  feedId: String.t() | nil,
  merchantId: String.t() | nil,
  method: String.t() | nil,
  product: GoogleApi.Content.V21.Model.Product.t() | nil,
  productId: String.t() | nil,
  updateMask: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.