Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportUserEventsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb

Overview

Request message for the ImportUserEvents request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2betaImportUserEventsRequest

Returns a new instance of GoogleCloudRetailV2betaImportUserEventsRequest.



4373
4374
4375
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4373

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#errors_configGoogle::Apis::RetailV2beta::GoogleCloudRetailV2betaImportErrorsConfig

Configuration of destination for Import related errors. Corresponds to the JSON property errorsConfig



4366
4367
4368
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4366

def errors_config
  @errors_config
end

#input_configGoogle::Apis::RetailV2beta::GoogleCloudRetailV2betaUserEventInputConfig

The input config source for user events. Corresponds to the JSON property inputConfig



4371
4372
4373
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4371

def input_config
  @input_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4378
4379
4380
4381
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4378

def update!(**args)
  @errors_config = args[:errors_config] if args.key?(:errors_config)
  @input_config = args[:input_config] if args.key?(:input_config)
end