Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory

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 direct memory to upload to Memory Bank.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory

Returns a new instance of GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory.



15733
15734
15735
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15733

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

Instance Attribute Details

#factString

Required. The fact to consolidate with existing memories. Corresponds to the JSON property fact

Returns:

  • (String)


15726
15727
15728
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15726

def fact
  @fact
end

#topicsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryTopicId>

Optional. The topics that the consolidated memories should be associated with. Corresponds to the JSON property topics



15731
15732
15733
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15731

def topics
  @topics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15738
15739
15740
15741
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15738

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