Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportUserEventsRequestInlineSource

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

Returns a new instance of GoogleCloudDiscoveryengineV1alphaImportUserEventsRequestInlineSource.



2334
2335
2336
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2334

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

Instance Attribute Details

#user_eventsArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserEvent>

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



2332
2333
2334
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2332

def user_events
  @user_events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2339
2340
2341
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2339

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