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.



21702
21703
21704
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21702

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


21695
21696
21697
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21695

def description
  @description
end

#labelString

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

Returns:

  • (String)


21700
21701
21702
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21700

def label
  @label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21707
21708
21709
21710
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21707

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