GoogleApi.Content.V2.Model.ProductsCustomBatchResponseEntry (google_api_content v0.58.1) View Source

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


  • batchId (type: integer(), default: nil) - The ID of the request entry this entry responds to.
  • errors (type: GoogleApi.Content.V2.Model.Errors.t, default: nil) - A list of errors defined if and only if the request failed.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "content#productsCustomBatchResponseEntry"
  • product (type: GoogleApi.Content.V2.Model.Product.t, default: nil) - The inserted product. Only defined if the method is insert and if the request was successful.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Content.V2.Model.ProductsCustomBatchResponseEntry{
  batchId: integer() | nil,
  errors: GoogleApi.Content.V2.Model.Errors.t() | nil,
  kind: String.t() | nil,
  product: GoogleApi.Content.V2.Model.Product.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.