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

The error payload that is populated on LRO import APIs, including "google.cloud.retail.v2.ProductService.ImportProducts" and "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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type 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
}

Functions

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

Unwrap a decoded JSON object into its complex fields.