2.1.0 (latest) 2.0.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Data Analytics API with Gemini v1 API class ClientManagedResourceContext.

Context with client managed resources.
Some clients may not use GDA managed resources including
conversations and agents, instead they create and manage their own
conversations and agents resources.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.GeminiDataAnalytics.V1.dll

## Constructors

### ClientManagedResourceContext()

    public ClientManagedResourceContext()

### ClientManagedResourceContext(ClientManagedResourceContext)

    public ClientManagedResourceContext(ClientManagedResourceContext other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.ClientManagedResourceContext` |

## Properties

### AgentId

    public string AgentId { get; set; }

Optional. The client managed agent id.

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

### ConversationId

    public string ConversationId { get; set; }

Optional. The client managed conversation id.

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

### InlineContext

    public Context InlineContext { get; set; }

Required. Context for the chat request. Use this to chat without GDA API
managed conversation and agent persistence by passing all context inline.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.Context` |   |