Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic

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 custom memory topic defined by the developer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic

Returns a new instance of GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic.



20475
20476
20477
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20475

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

Instance Attribute Details

#descriptionString

Required. Description of the memory topic. This should explain what information should be extracted for this topic. Corresponds to the JSON property description

Returns:

  • (String)


20468
20469
20470
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20468

def description
  @description
end

#labelString

Required. The label of the topic. Corresponds to the JSON property label

Returns:

  • (String)


20473
20474
20475
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20473

def label
  @label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20480
20481
20482
20483
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20480

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