Class: Aws::BedrockAgentCore::Types::MemoryContent

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb

Overview

Note:

MemoryContent is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of MemoryContent corresponding to the set member.

Contains the content of a memory record.

Direct Known Subclasses

Text, Unknown

Defined Under Namespace

Classes: Text, Unknown

Constant Summary collapse

SENSITIVE =
[:text]

Instance Attribute Summary collapse

Instance Attribute Details

#textString

The text content of the memory record.

Returns:

  • (String)


1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1595

class MemoryContent < Struct.new(
  :text,
  :unknown)
  SENSITIVE = [:text]
  include Aws::Structure
  include Aws::Structure::Union

  class Text < MemoryContent; end
  class Unknown < MemoryContent; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1595
1596
1597
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1595

def unknown
  @unknown
end