Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Response message for MemoryBankService.RetrieveMemories.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token that can be sent as
page_tokento retrieve the next page. -
#retrieved_memories ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseRetrievedMemory>
The retrieved memories.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse
constructor
A new instance of GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse
Returns a new instance of GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse.
40793 40794 40795 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40793 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token that can be sent as page_token to retrieve the next page. If this
field is omitted, there are no subsequent pages. This token is not set if
similarity search was used for retrieval.
Corresponds to the JSON property nextPageToken
40786 40787 40788 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40786 def next_page_token @next_page_token end |
#retrieved_memories ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseRetrievedMemory>
The retrieved memories.
Corresponds to the JSON property retrievedMemories
40791 40792 40793 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40791 def retrieved_memories @retrieved_memories end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40798 40799 40800 40801 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40798 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @retrieved_memories = args[:retrieved_memories] if args.key?(:retrieved_memories) end |