Config for RagEngine.
Fields `name` `string` Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig`
`ragManagedDbConfig` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#RagManagedDbConfig`)`` The config of the RagManagedDb used by RagEngine.

| JSON representation |
|---|
| ``` { "name": string, "ragManagedDbConfig": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#RagManagedDbConfig`) } } ``` |

## RagManagedDbConfig

Configuration message for RagManagedDb used by RagEngine.
Fields `tier` `Union type` The tier of the RagManagedDb. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: `enterprise
(deprecated)` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Enterprise`)``

> [!WARNING]
> This item is deprecated!

Sets the RagManagedDb to the Enterprise tier.
`scaled
(deprecated)` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Scaled`)``

> [!WARNING]
> This item is deprecated!

Deprecated: Use `mode` instead to set the tier under Spanner. Sets the RagManagedDb to the Scaled tier.
`basic
(deprecated)` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Basic`)``

> [!WARNING]
> This item is deprecated!

Deprecated: Use `mode` instead to set the tier under Spanner. Sets the RagManagedDb to the Basic tier.
`unprovisioned
(deprecated)` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Unprovisioned`)``

> [!WARNING]
> This item is deprecated!

Deprecated: Use `mode` instead to set the tier under Spanner. Sets the RagManagedDb to the Unprovisioned tier.
End of mutually exclusive fields. `mode` `Union type` The choice of backend for your RagEngine. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: `serverless` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Serverless`)`` Sets the backend to be the serverless mode offered by RAG Engine.
`spanner` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Spanner`)`` Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.

NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
End of mutually exclusive fields.

| JSON representation |
|---|
| ``` { // tier "enterprise": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Enterprise`) }, "scaled": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Scaled`) }, "basic": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Basic`) }, "unprovisioned": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Unprovisioned`) } // Union type // mode "serverless": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Serverless`) }, "spanner": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Spanner`) } // Union type } ``` |

## Enterprise

This type has no fields.

> [!WARNING]
> This item is deprecated!

Enterprise tier offers production grade performance along with autoscaling functionality. It is suitable for customers with large amounts of data or performance sensitive workloads.

## Scaled

This type has no fields.
Scaled tier offers production grade performance along with autoscaling functionality. It is suitable for customers with large amounts of data or performance sensitive workloads.

## Basic

This type has no fields.
Basic tier is a cost-effective and low compute tier suitable for the following cases: \* Experimenting with RagManagedDb. \* Small data size. \* Latency insensitive workload. \* Only using RAG Engine with external vector DBs.

NOTE: This is the default tier under Spanner mode if not explicitly chosen.

## Unprovisioned

This type has no fields.
Disables the RAG Engine service and deletes all your data held within this service. This will halt the billing of the service.

NOTE: Once deleted the data cannot be recovered. To start using RAG Engine again, you will need to update the tier by calling the UpdateRagEngineConfig API.

## Serverless

This type has no fields.
message to configure the serverless mode offered by RAG Engine.

## Spanner

message to configure the Spanner database used by RagManagedDb.
Fields `tier` `Union type` The tier of the RagManagedDb, built on top of Spanner. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: `scaled` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Scaled`)`` Sets the RagManagedDb to the Scaled tier.
`basic` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Basic`)`` Sets the RagManagedDb to the Basic tier. This is the default tier for Spanner mode if not explicitly chosen.
`unprovisioned` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Unprovisioned`)`` Sets the RagManagedDb to the Unprovisioned tier.
End of mutually exclusive fields.

| JSON representation |
|---|
| ``` { // tier "scaled": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Scaled`) }, "basic": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Basic`) }, "unprovisioned": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagEngineConfig#Unprovisioned`) } // Union type } ``` |