View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineLoggingImportErrorContext (google_api_discovery_engine v0.9.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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.