Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEventInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEventInlineSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/recommendationengine_v1beta1/classes.rb,
generated/google/apis/recommendationengine_v1beta1/representations.rb,
generated/google/apis/recommendationengine_v1beta1/representations.rb
Overview
The inline source for the input config for ImportUserEvents method.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1UserEventInlineSource
constructor
A new instance of GoogleCloudRecommendationengineV1beta1UserEventInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1UserEventInlineSource
Returns a new instance of GoogleCloudRecommendationengineV1beta1UserEventInlineSource.
1715 1716 1717 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1715 def initialize(**args) update!(**args) end |
Instance Attribute Details
#user_events ⇒ Array<Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEvent>
Optional. A list of user events to import. Recommended max of 10k items.
Corresponds to the JSON property userEvents
1713 1714 1715 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1713 def user_events @user_events end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1720 1721 1722 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1720 def update!(**args) @user_events = args[:user_events] if args.key?(:user_events) end |