Class: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingImportErrorContext
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingImportErrorContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb
Overview
The error payload that is populated on LRO import APIs. Including: "google. cloud.retail.v2.ProductService.ImportProducts" "google.cloud.retail.v2. EventService.ImportUserEvents"
Instance Attribute Summary collapse
-
#catalog_item ⇒ String
The detailed content which caused the error on importing a catalog item.
-
#gcs_path ⇒ String
Cloud Storage file path of the import source.
-
#inventory_activity ⇒ String
The detailed content which caused the error on importing an inventory activity.
-
#line_number ⇒ String
Line number of the content in file.
-
#operation_name ⇒ String
The operation resource name of the LRO.
-
#order ⇒ String
The detailed content which caused the error on importing an order.
-
#place ⇒ String
The detailed content which caused the error on importing a place.
-
#place_asset ⇒ String
The detailed content which caused the error on importing a place asset.
-
#place_product_price ⇒ String
The detailed content which caused the error on importing a place product price.
-
#place_product_settings ⇒ String
The detailed content which caused the error on importing a place product settings.
-
#product ⇒ String
The detailed content which caused the error on importing a product.
-
#user_event ⇒ String
The detailed content which caused the error on importing a user event.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailLoggingImportErrorContext
constructor
A new instance of GoogleCloudRetailLoggingImportErrorContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailLoggingImportErrorContext
Returns a new instance of GoogleCloudRetailLoggingImportErrorContext.
264 265 266 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 264 def initialize(**args) update!(**args) end |
Instance Attribute Details
#catalog_item ⇒ String
The detailed content which caused the error on importing a catalog item.
Corresponds to the JSON property catalogItem
198 199 200 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 198 def catalog_item @catalog_item end |
#gcs_path ⇒ String
Cloud Storage file path of the import source. Can be set for batch operation
error.
Corresponds to the JSON property gcsPath
204 205 206 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 204 def gcs_path @gcs_path end |
#inventory_activity ⇒ String
The detailed content which caused the error on importing an inventory activity.
http://cs/google3/google/cloud/retail/v2main/inventory_activity.proto
Corresponds to the JSON property inventoryActivity
210 211 212 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 210 def inventory_activity @inventory_activity end |
#line_number ⇒ String
Line number of the content in file. Should be empty for permission or batch
operation error.
Corresponds to the JSON property lineNumber
216 217 218 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 216 def line_number @line_number end |
#operation_name ⇒ String
The operation resource name of the LRO.
Corresponds to the JSON property operationName
221 222 223 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 221 def operation_name @operation_name end |
#order ⇒ String
The detailed content which caused the error on importing an order. http://cs/
google3/google/cloud/retail/v2main/order.proto
Corresponds to the JSON property order
227 228 229 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 227 def order @order end |
#place ⇒ String
The detailed content which caused the error on importing a place. http://cs/
google3/google/cloud/retail/v2main/place.proto
Corresponds to the JSON property place
233 234 235 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 233 def place @place end |
#place_asset ⇒ String
The detailed content which caused the error on importing a place asset. http://
cs/google3/google/cloud/retail/v2main/place_asset.proto
Corresponds to the JSON property placeAsset
239 240 241 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 239 def place_asset @place_asset end |
#place_product_price ⇒ String
The detailed content which caused the error on importing a place product price.
http://cs/google3/google/cloud/retail/v2main/place_product_price.proto
Corresponds to the JSON property placeProductPrice
245 246 247 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 245 def place_product_price @place_product_price end |
#place_product_settings ⇒ String
The detailed content which caused the error on importing a place product
settings. http://cs/google3/google/cloud/retail/v2main/place_product_settings.
proto
Corresponds to the JSON property placeProductSettings
252 253 254 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 252 def place_product_settings @place_product_settings end |
#product ⇒ String
The detailed content which caused the error on importing a product.
Corresponds to the JSON property product
257 258 259 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 257 def product @product end |
#user_event ⇒ String
The detailed content which caused the error on importing a user event.
Corresponds to the JSON property userEvent
262 263 264 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 262 def user_event @user_event end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
269 270 271 272 273 274 275 276 277 278 279 280 281 282 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 269 def update!(**args) @catalog_item = args[:catalog_item] if args.key?(:catalog_item) @gcs_path = args[:gcs_path] if args.key?(:gcs_path) @inventory_activity = args[:inventory_activity] if args.key?(:inventory_activity) @line_number = args[:line_number] if args.key?(:line_number) @operation_name = args[:operation_name] if args.key?(:operation_name) @order = args[:order] if args.key?(:order) @place = args[:place] if args.key?(:place) @place_asset = args[:place_asset] if args.key?(:place_asset) @place_product_price = args[:place_product_price] if args.key?(:place_product_price) @place_product_settings = args[:place_product_settings] if args.key?(:place_product_settings) @product = args[:product] if args.key?(:product) @user_event = args[:user_event] if args.key?(:user_event) end |