1.0.0-beta87 (latest) 1.0.0-beta86

    public sealed class RetrieveMemoriesRequest : IMessage<RetrieveMemoriesRequest>, IEquatable<RetrieveMemoriesRequest>, IDeepCloneable<RetrieveMemoriesRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class RetrieveMemoriesRequest.

Request message for
\[MemoryBankService.RetrieveMemories\]\[google.cloud.aiplatform.v1beta1.MemoryBankService.RetrieveMemories\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> RetrieveMemoriesRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RetrieveMemoriesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrieveMemoriesRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RetrieveMemoriesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrieveMemoriesRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RetrieveMemoriesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrieveMemoriesRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### RetrieveMemoriesRequest()

    public RetrieveMemoriesRequest()

### RetrieveMemoriesRequest(RetrieveMemoriesRequest)

    public RetrieveMemoriesRequest(RetrieveMemoriesRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrieveMemoriesRequest` |

## Properties

### Parent

    public string Parent { get; set; }

Required. The resource name of the ReasoningEngine to retrieve memories
from. Format:
`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsReasoningEngineName

    public ReasoningEngineName ParentAsReasoningEngineName { get; set; }

[ReasoningEngineName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ReasoningEngineName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrieveMemoriesRequest#Google_Cloud_AIPlatform_V1Beta1_RetrieveMemoriesRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ReasoningEngineName` |   |

### RetrievalParamsCase

    public RetrieveMemoriesRequest.RetrievalParamsOneofCase RetrievalParamsCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrieveMemoriesRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrieveMemoriesRequest.RetrievalParamsOneofCase` |   |

### Scope

    public MapField<string, string> Scope { get; }

Required. The scope of the memories to retrieve. A memory must have
exactly the same scope (`Memory.scope`) as the scope provided here to be
retrieved (same keys and values). Order does not matter, but it is
case-sensitive.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### SimilaritySearchParams

    public RetrieveMemoriesRequest.Types.SimilaritySearchParams SimilaritySearchParams { get; set; }

Parameters for semantic similarity search based retrieval.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrieveMemoriesRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrieveMemoriesRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrieveMemoriesRequest.Types.SimilaritySearchParams` |   |

### SimpleRetrievalParams

    public RetrieveMemoriesRequest.Types.SimpleRetrievalParams SimpleRetrievalParams { get; set; }

Parameters for simple (non-similarity search) retrieval.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrieveMemoriesRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrieveMemoriesRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrieveMemoriesRequest.Types.SimpleRetrievalParams` |   |