Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListMemoriesResponse

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

Response message for MemoryBankService.ListMemories.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ListMemoriesResponse

Returns a new instance of GoogleCloudAiplatformV1ListMemoriesResponse.



20114
20115
20116
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20114

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

Instance Attribute Details

#memoriesArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Memory>

List of Memories in the requested page. Corresponds to the JSON property memories



20106
20107
20108
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20106

def memories
  @memories
end

#next_page_tokenString

A token to retrieve the next page of results. Pass to ListMemoriesRequest. page_token to obtain that page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


20112
20113
20114
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20112

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20119
20120
20121
20122
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20119

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