Class: Google::Apis::RetailV2::GoogleCloudRetailV2UserEventInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2::GoogleCloudRetailV2UserEventInlineSource
- 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
The inline source for the input config for ImportUserEvents method.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2UserEventInlineSource
constructor
A new instance of GoogleCloudRetailV2UserEventInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2UserEventInlineSource
Returns a new instance of GoogleCloudRetailV2UserEventInlineSource.
6567 6568 6569 |
# File 'lib/google/apis/retail_v2/classes.rb', line 6567 def initialize(**args) update!(**args) end |
Instance Attribute Details
#user_events ⇒ Array<Google::Apis::RetailV2::GoogleCloudRetailV2UserEvent>
Required. A list of user events to import. Recommended max of 10k items.
Corresponds to the JSON property userEvents
6565 6566 6567 |
# File 'lib/google/apis/retail_v2/classes.rb', line 6565 def user_events @user_events end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6572 6573 6574 |
# File 'lib/google/apis/retail_v2/classes.rb', line 6572 def update!(**args) @user_events = args[:user_events] if args.key?(:user_events) end |