Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserEventInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserEventInlineSource
- 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
The inline source for the input config for ImportUserEvents method.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaUserEventInlineSource
constructor
A new instance of GoogleCloudRetailV2betaUserEventInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaUserEventInlineSource
Returns a new instance of GoogleCloudRetailV2betaUserEventInlineSource.
5267 5268 5269 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5267 def initialize(**args) update!(**args) end |
Instance Attribute Details
#user_events ⇒ Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserEvent>
Required. A list of user events to import. Recommended max of 10k items.
Corresponds to the JSON property userEvents
5265 5266 5267 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5265 def user_events @user_events end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5272 5273 5274 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5272 def update!(**args) @user_events = args[:user_events] if args.key?(:user_events) end |