1.0.0-beta87 (latest) 1.0.0-beta86

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

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

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

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GenerateMemoriesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenerateMemoriesRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GenerateMemoriesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenerateMemoriesRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GenerateMemoriesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenerateMemoriesRequest), [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

### GenerateMemoriesRequest()

    public GenerateMemoriesRequest()

### GenerateMemoriesRequest(GenerateMemoriesRequest)

    public GenerateMemoriesRequest(GenerateMemoriesRequest other)

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

## Properties

### DirectContentsSource

    public GenerateMemoriesRequest.Types.DirectContentsSource DirectContentsSource { get; set; }

Defines a direct source of content as the source content from which to
generate memories.

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

### DirectMemoriesSource

    public GenerateMemoriesRequest.Types.DirectMemoriesSource DirectMemoriesSource { get; set; }

Defines a direct source of memories that should be uploaded to Memory
Bank. This is similar to `CreateMemory`, but it allows for consolidation
between these new memories and existing memories for the same scope.

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

### DisableConsolidation

    public bool DisableConsolidation { get; set; }

Optional. If true, generated memories will not be consolidated with
existing memories; all generated memories will be added as new memories
regardless of whether they are duplicates of or contradictory to existing
memories. By default, memory consolidation is enabled.

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

### Parent

    public string Parent { get; set; }

Required. The resource name of the ReasoningEngine to generate memories
for. 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.GenerateMemoriesRequest#Google_Cloud_AIPlatform_V1Beta1_GenerateMemoriesRequest_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` |   |

### Scope

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

Optional. The scope of the memories that should be generated. Memories will
be consolidated across memories with the same scope. Must be provided
unless the scope is defined in the source content. If `scope` is provided,
it will override the scope defined in the source content. Scope values
cannot contain the wildcard character '\*'.

| **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` |   |

### SourceCase

    public GenerateMemoriesRequest.SourceOneofCase SourceCase { get; }

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

### VertexSessionSource

    public GenerateMemoriesRequest.Types.VertexSessionSource VertexSessionSource { get; set; }

Defines a Vertex Session as the source content from which to generate
memories.

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