Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
Output only. timestamp when this ReasoningEngine was created.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Output only. timestamp when this ReasoningEngine was most recently updated.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
etag
string
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
Customer-managed encryption key spec for a ReasoningEngine. If set, this ReasoningEngine and all sub-resources of this ReasoningEngine will be secured by this key.
Optional. user provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through deploymentSpec.first_party_image_override, but keeping the field_behavior to avoid introducing breaking changes.
Optional. Declarations for object class methods in OpenAPI specification format.
agentFramework
string
Optional. The OSS agent framework used to develop the agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom".
serviceAccount
string
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.
Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the reasoningEngines.patch API.
Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine service Agent.
Represents an environment variable present in a Container or Python Module.
Fields
name
string
Required. name of the environment variable. Must be a valid C identifier.
value
string
Required. Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.
JSON representation
{"name": string,"value": string}
SecretEnvVar
Represents an environment variable where the value is a secret in Cloud Secret Manager.
Fields
name
string
Required. name of the secret environment variable.
Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.
Fields
secret
string
Required. The name of the secret in Cloud Secret Manager. Format: {secret_name}.
version
string
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
JSON representation
{"secret": string,"version": string}
PscInterfaceConfig
Configuration for PSC-I.
Fields
networkAttachment
string
Optional. The name of the Compute Engine network attachment to attach to the resource within the region and user project. To specify this field, you must have already created a network attachment. This field is only used for resources using PSC-I.
Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI service Agent on the target project.
DNS peering configuration. These configurations are used to create DNS peering zones in the Vertex tenant project VPC, enabling resolution of records within the specified domain hosted in the target network's Cloud DNS.
Fields
domain
string
Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-domain.corp.". Must end with a dot.
targetProject
string
Required. The project id hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI service Agent requires the dns.peer role on this project.
targetNetwork
string
Required. The VPC network name in the targetProject where the DNS zone specified by 'domain' is visible.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],[],null,["# REST Resource: projects.locations.reasoningEngines\n\nResource: ReasoningEngine\n-------------------------\n\nReasoningEngine provides a customizable runtime for models to determine which actions to take and in which order.\nFields `name` `string` \nIdentifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoningEngine}`\n`displayName` `string` \nRequired. The display name of the ReasoningEngine.\n`description` `string` \nOptional. The description of the ReasoningEngine.\n`spec` `object (`[ReasoningEngineSpec](/vertex-ai/generative-ai/docs/reference/rest/v1/projects.locations.reasoningEngines#ReasoningEngineSpec)`)` \nOptional. Configurations of the ReasoningEngine\n`createTime` `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` \nOutput only. timestamp when this ReasoningEngine was created.\n\nUses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`.\n`updateTime` `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` \nOutput only. timestamp when this ReasoningEngine was most recently updated.\n\nUses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`.\n`etag` `string` \nOptional. Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.\n`encryptionSpec` `object (`[EncryptionSpec](/vertex-ai/generative-ai/docs/reference/rest/v1/EncryptionSpec)`)` \nCustomer-managed encryption key spec for a ReasoningEngine. If set, this ReasoningEngine and all sub-resources of this ReasoningEngine will be secured by this key. \n\nReasoningEngineSpec\n-------------------\n\nReasoningEngine configurations\nFields `packageSpec` `object (`[PackageSpec](/vertex-ai/generative-ai/docs/reference/rest/v1/projects.locations.reasoningEngines#PackageSpec)`)` \nOptional. user provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deploymentSpec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes.\n`deploymentSpec` `object (`[DeploymentSpec](/vertex-ai/generative-ai/docs/reference/rest/v1/projects.locations.reasoningEngines#DeploymentSpec)`)` \nOptional. The specification of a Reasoning Engine deployment.\n`classMethods[]` `object (`[Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct)` format)` \nOptional. Declarations for object class methods in OpenAPI specification format.\n`agentFramework` `string` \nOptional. The OSS agent framework used to develop the agent. Currently supported values: \"google-adk\", \"langchain\", \"langgraph\", \"ag2\", \"llama-index\", \"custom\".\n`serviceAccount` `string` \nOptional. 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. \n\nPackageSpec\n-----------\n\nuser provided package spec like pickled object and package requirements.\nFields `pickleObjectGcsUri` `string` \nOptional. The Cloud Storage URI of the pickled python object.\n`dependencyFilesGcsUri` `string` \nOptional. The Cloud Storage URI of the dependency files in tar.gz format.\n`requirementsGcsUri` `string` \nOptional. The Cloud Storage URI of the `requirements.txt` file\n`pythonVersion` `string` \nOptional. The Python version. Currently support 3.8, 3.9, 3.10, 3.11. If not specified, default value is 3.10. \n\nDeploymentSpec\n--------------\n\nThe specification of a Reasoning Engine deployment.\nFields `env[]` `object (`[EnvVar](/vertex-ai/generative-ai/docs/reference/rest/v1/projects.locations.reasoningEngines#EnvVar)`)` \nOptional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the reasoningEngines.patch API.\n`secretEnv[]` `object (`[SecretEnvVar](/vertex-ai/generative-ai/docs/reference/rest/v1/projects.locations.reasoningEngines#SecretEnvVar)`)` \nOptional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine service Agent.\n`pscInterfaceConfig` `object (`[PscInterfaceConfig](/vertex-ai/generative-ai/docs/reference/rest/v1/projects.locations.reasoningEngines#PscInterfaceConfig)`)` \nOptional. Configuration for PSC-I.\n`resourceLimits` `map (key: string, value: string)` \nOptional. Resource limits for each container. Only 'cpu' and 'memory' keys are supported. Defaults to {\"cpu\": \"4\", \"memory\": \"4Gi\"}.\n\n- The only supported values for CPU are '1', '2', '4', '6' and '8'. For more information, go to \u003chttps://cloud.google.com/run/docs/configuring/cpu\u003e.\n- The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.\n- For required cpu on different memory values, go to \u003chttps://cloud.google.com/run/docs/configuring/memory-limits\u003e\n`minInstances` `integer` \nOptional. The minimum number of application instances that will be kept running at all times. Defaults to 1. Range: \\[0, 10\\].\n`maxInstances` `integer` \nOptional. The maximum number of application instances that can be launched to handle increased traffic. Defaults to 100. Range: \\[1, 1000\\].\n\nIf VPC-SC or PSC-I is enabled, the acceptable range is \\[1, 100\\].\n`containerConcurrency` `integer` \nOptional. Concurrency for each container and agent server. Recommended value: 2 \\* cpu + 1. Defaults to 9. \n\nEnvVar\n------\n\nRepresents an environment variable present in a Container or Python Module.\nFields `name` `string` \nRequired. name of the environment variable. Must be a valid C identifier.\n`value` `string` \nRequired. Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. \n\nSecretEnvVar\n------------\n\nRepresents an environment variable where the value is a secret in Cloud Secret Manager.\nFields `name` `string` \nRequired. name of the secret environment variable.\n`secretRef` `object (`[SecretRef](/vertex-ai/generative-ai/docs/reference/rest/v1/projects.locations.reasoningEngines#SecretRef)`)` \nRequired. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable. \n\nSecretRef\n---------\n\nReference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.\nFields `secret` `string` \nRequired. The name of the secret in Cloud Secret Manager. Format: {secret_name}.\n`version` `string` \nThe Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. \n\nPscInterfaceConfig\n------------------\n\nConfiguration for PSC-I.\nFields `networkAttachment` `string` \nOptional. The name of the Compute Engine [network attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to attach to the resource within the region and user project. To specify this field, you must have already [created a network attachment](https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments). This field is only used for resources using PSC-I.\n`dnsPeeringConfigs[]` `object (`[DnsPeeringConfig](/vertex-ai/generative-ai/docs/reference/rest/v1/projects.locations.reasoningEngines#DnsPeeringConfig)`)` \nOptional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI service Agent on the target project. \n\nDnsPeeringConfig\n----------------\n\nDNS peering configuration. These configurations are used to create DNS peering zones in the Vertex tenant project VPC, enabling resolution of records within the specified domain hosted in the target network's Cloud DNS.\nFields `domain` `string` \nRequired. The DNS name suffix of the zone being peered to, e.g., \"my-internal-domain.corp.\". Must end with a dot.\n`targetProject` `string` \nRequired. The project id hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI service Agent requires the dns.peer role on this project.\n`targetNetwork` `string` \nRequired. The VPC network name in the targetProject where the DNS zone specified by 'domain' is visible."]]