class Google::Apis::RetailV2::GoogleCloudRetailLoggingImportErrorContext
The error payload that is populated on LRO import APIs. Including: “google. cloud.retail.v2.ProductService.ImportProducts” “google.cloud.retail.v2. EventService.ImportUserEvents”
Attributes
The detailed content which caused the error on importing a catalog item. Corresponds to the JSON property `catalogItem` @return [String]
Cloud Storage file path of the import source. Can be set for batch operation error. Corresponds to the JSON property `gcsPath` @return [String]
Line number of the content in file. Should be empty for permission or batch operation error. Corresponds to the JSON property `lineNumber` @return [String]
The operation resource name of the LRO. Corresponds to the JSON property `operationName` @return [String]
The detailed content which caused the error on importing a product. Corresponds to the JSON property `product` @return [String]
The detailed content which caused the error on importing a user event. Corresponds to the JSON property `userEvent` @return [String]
Public Class Methods
# File lib/google/apis/retail_v2/classes.rb, line 227 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/retail_v2/classes.rb, line 232 def update!(**args) @catalog_item = args[:catalog_item] if args.key?(:catalog_item) @gcs_path = args[:gcs_path] if args.key?(:gcs_path) @line_number = args[:line_number] if args.key?(:line_number) @operation_name = args[:operation_name] if args.key?(:operation_name) @product = args[:product] if args.key?(:product) @user_event = args[:user_event] if args.key?(:user_event) end