Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/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) ⇒ GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource

Returns a new instance of GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource.



17146
17147
17148
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17146

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

Instance Attribute Details

#user_eventsArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserEvent>

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



17144
17145
17146
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17144

def user_events
  @user_events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17151
17152
17153
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17151

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