Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ImportUserEventsRequestInlineSource

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

Overview

The inline source for the input config for ImportUserEvents method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ImportUserEventsRequestInlineSource

Returns a new instance of GoogleCloudDiscoveryengineV1ImportUserEventsRequestInlineSource.



4677
4678
4679
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4677

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

Instance Attribute Details

#user_eventsArray<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserEvent>

Required. A list of user events to import. Recommended max of 10k items. Corresponds to the JSON property userEvents



4675
4676
4677
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4675

def user_events
  @user_events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4682
4683
4684
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4682

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