View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailLoggingImportErrorContext (google_api_retail v0.3.0)

The error payload that is populated on LRO import APIs. Including: "google.cloud.retail.v2.ProductService.ImportProducts" "google.cloud.retail.v2.EventService.ImportUserEvents"

Attributes

  • catalogItem (type: String.t, default: nil) - The detailed content which caused the error on importing a catalog item.
  • gcsPath (type: String.t, default: nil) - Cloud Storage file path of the import source. Can be set for batch operation error.
  • lineNumber (type: String.t, default: nil) - Line number of the content in file. Should be empty for permission or batch operation error.
  • operationName (type: String.t, default: nil) - The operation resource name of the LRO.
  • product (type: String.t, default: nil) - The detailed content which caused the error on importing a product.
  • userEvent (type: String.t, default: nil) - The detailed content which caused the error on importing a user event.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailLoggingImportErrorContext{
  catalogItem: String.t() | nil,
  gcsPath: String.t() | nil,
  lineNumber: String.t() | nil,
  operationName: String.t() | nil,
  product: String.t() | nil,
  userEvent: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.