Class: Google::Apis::RetailV2::GoogleCloudRetailV2ImportUserEventsRequest

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

Overview

Request message for the ImportUserEvents request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2ImportUserEventsRequest

Returns a new instance of GoogleCloudRetailV2ImportUserEventsRequest.



1704
1705
1706
# File 'lib/google/apis/retail_v2/classes.rb', line 1704

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

Instance Attribute Details

#errors_configGoogle::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig

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



1697
1698
1699
# File 'lib/google/apis/retail_v2/classes.rb', line 1697

def errors_config
  @errors_config
end

#input_configGoogle::Apis::RetailV2::GoogleCloudRetailV2UserEventInputConfig

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



1702
1703
1704
# File 'lib/google/apis/retail_v2/classes.rb', line 1702

def input_config
  @input_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1709
1710
1711
1712
# File 'lib/google/apis/retail_v2/classes.rb', line 1709

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