Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportUserEventsRequest

Inherits:
Object
  • Object
show all
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

Request message for the ImportUserEvents request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaImportUserEventsRequest

Returns a new instance of GoogleCloudRetailV2alphaImportUserEventsRequest.



3717
3718
3719
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3717

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

Instance Attribute Details

#errors_configGoogle::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig

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



3710
3711
3712
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3710

def errors_config
  @errors_config
end

#input_configGoogle::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEventInputConfig

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



3715
3716
3717
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3715

def input_config
  @input_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3722
3723
3724
3725
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3722

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