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.



21650
21651
21652
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21650

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



21648
21649
21650
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21648

def events
  @events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21655
21656
21657
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21655

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