View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineLoggingImportErrorContext (google_api_discovery_engine v0.27.0)

The error payload that is populated on LRO import APIs, including the following: google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments google.cloud.discoveryengine.v1alpha.UserEventService.ImportUserEvents

Attributes

  • document (type: String.t, default: nil) - The detailed content which caused the error on importing a document.
  • gcsPath (type: String.t, default: nil) - Google 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.
  • operation (type: String.t, default: nil) - The operation resource name of the LRO.
  • 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

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineLoggingImportErrorContext{
    document: String.t() | nil,
    gcsPath: String.t() | nil,
    lineNumber: String.t() | nil,
    operation: String.t() | nil,
    userEvent: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.