Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource

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

Overview

A conversation source for the example. This is similar to DirectContentsSource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource

Returns a new instance of GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource.



21603
21604
21605
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21603

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

Instance Attribute Details

#eventsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent>

Optional. Represents the input conversation events for the example. Corresponds to the JSON property events



21601
21602
21603
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21601

def events
  @events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21608
21609
21610
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21608

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