1.0.0-beta87 (latest) 1.0.0-beta86

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

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

ReasoningEngine configurations

## Inheritance

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

## Implements

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

### ReasoningEngineSpec()

    public ReasoningEngineSpec()

### ReasoningEngineSpec(ReasoningEngineSpec)

    public ReasoningEngineSpec(ReasoningEngineSpec other)

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

## Properties

### AgentFramework

    public string AgentFramework { get; set; }

Optional. The OSS agent framework used to develop the agent.
Currently supported values: "google-adk", "langchain", "langgraph", "ag2",
"llama-index", "custom".

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

### BuildSpec

    public ReasoningEngineSpec.Types.BuildSpec BuildSpec { get; set; }

Optional. Configuration for building container image.

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

### ClassMethods

    public RepeatedField<Struct> ClassMethods { get; }

Optional. Declarations for object class methods in OpenAPI specification
format.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Struct.html` |   |

### ContainerSpec

    public ReasoningEngineSpec.Types.ContainerSpec ContainerSpec { get; set; }

Deploy from a container image with a defined entrypoint and commands.

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

### DeploymentSourceCase

    public ReasoningEngineSpec.DeploymentSourceOneofCase DeploymentSourceCase { get; }

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

### DeploymentSpec

    public ReasoningEngineSpec.Types.DeploymentSpec DeploymentSpec { get; set; }

Optional. The specification of a Reasoning Engine deployment.

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

### HasServiceAccount

    public bool HasServiceAccount { get; }

Gets whether the "service_account" field is set

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

### IdentityType

    public ReasoningEngineSpec.Types.IdentityType IdentityType { get; set; }

Optional. The identity type to use for the Reasoning Engine. If not
specified, the `service_account` field will be used if set, otherwise the
default Vertex AI Reasoning Engine Service Agent in the project will be
used.

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

### PackageSpec

    public ReasoningEngineSpec.Types.PackageSpec PackageSpec { get; set; }

Optional. User provided package spec of the ReasoningEngine.
Ignored when users directly specify a deployment image through
`deployment_spec.first_party_image_override`, but keeping the
field_behavior to avoid introducing breaking changes.
The `deployment_source` field should not be set if `package_spec` is
specified.

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

### ServiceAccount

    public string ServiceAccount { get; set; }

Optional. The service account that the Reasoning Engine artifact runs as.
It should have "roles/storage.objectViewer" for reading the user project's
Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If
not specified, the Vertex AI Reasoning Engine Service Agent in the project
will be used.

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

### SourceCodeSpec

    public ReasoningEngineSpec.Types.SourceCodeSpec SourceCodeSpec { get; set; }

Deploy from source code files with a defined entrypoint.

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