Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams
- 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
Parameters for simple (non-similarity search) retrieval.
Instance Attribute Summary collapse
-
#page_size ⇒ Fixnum
Optional.
-
#page_token ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams
constructor
A new instance of GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams
Returns a new instance of GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams.
33424 33425 33426 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33424 def initialize(**args) update!(**args) end |
Instance Attribute Details
#page_size ⇒ Fixnum
Optional. The maximum number of memories to return. The service may return
fewer than this value. If unspecified, at most 3 memories will be returned.
The maximum value is 100; values above 100 will be coerced to 100.
Corresponds to the JSON property pageSize
33416 33417 33418 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33416 def page_size @page_size end |
#page_token ⇒ String
Optional. A page token, received from a previous RetrieveMemories call.
Provide this to retrieve the subsequent page.
Corresponds to the JSON property pageToken
33422 33423 33424 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33422 def page_token @page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33429 33430 33431 33432 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33429 def update!(**args) @page_size = args[:page_size] if args.key?(:page_size) @page_token = args[:page_token] if args.key?(:page_token) end |