Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::ReasoningEngineSpec.
ReasoningEngine configurations
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#agent_framework
def agent_framework() -> ::String- (::String) — Optional. The OSS agent framework used to develop the agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom".
#agent_framework=
def agent_framework=(value) -> ::String- value (::String) — Optional. The OSS agent framework used to develop the agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom".
- (::String) — Optional. The OSS agent framework used to develop the agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom".
#build_spec
def build_spec() -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::BuildSpec- (::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::BuildSpec) — Optional. Configuration for building container image.
#build_spec=
def build_spec=(value) -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::BuildSpec- value (::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::BuildSpec) — Optional. Configuration for building container image.
- (::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::BuildSpec) — Optional. Configuration for building container image.
#class_methods
def class_methods() -> ::Array<::Google::Protobuf::Struct>- (::Array<::Google::Protobuf::Struct>) — Optional. Declarations for object class methods in OpenAPI specification format.
#class_methods=
def class_methods=(value) -> ::Array<::Google::Protobuf::Struct>- value (::Array<::Google::Protobuf::Struct>) — Optional. Declarations for object class methods in OpenAPI specification format.
- (::Array<::Google::Protobuf::Struct>) — Optional. Declarations for object class methods in OpenAPI specification format.
#container_spec
def container_spec() -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::ContainerSpec-
(::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::ContainerSpec) — Deploy from a container image with a defined entrypoint and commands.
Note: The following fields are mutually exclusive:
container_spec,source_code_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
#container_spec=
def container_spec=(value) -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::ContainerSpec-
value (::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::ContainerSpec) — Deploy from a container image with a defined entrypoint and commands.
Note: The following fields are mutually exclusive:
container_spec,source_code_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::ContainerSpec) — Deploy from a container image with a defined entrypoint and commands.
Note: The following fields are mutually exclusive:
container_spec,source_code_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
#deployment_spec
def deployment_spec() -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::DeploymentSpec- (::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::DeploymentSpec) — Optional. The specification of a Reasoning Engine deployment.
#deployment_spec=
def deployment_spec=(value) -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::DeploymentSpec- value (::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::DeploymentSpec) — Optional. The specification of a Reasoning Engine deployment.
- (::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::DeploymentSpec) — Optional. The specification of a Reasoning Engine deployment.
#identity_type
def identity_type() -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::IdentityType-
(::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::IdentityType) — Optional. The identity type to use for the Reasoning Engine. If not
specified, the
service_accountfield will be used if set, otherwise the default Vertex AI Reasoning Engine Service Agent in the project will be used.WARNING: The default Vertex AI Reasoning Engine Service Agent (
service-{project_number}@gcp-sa-aiplatform-re.iam.gserviceaccount.com) is shared across all Reasoning Engines in the project that do not specify an isolated identity or custom service account. Any permissions or secrets granted to it can be accessed by any principal permitted to deploy or update agents in the project (even without usingsecret_env, by calling APIs directly from agent code). PreferAGENT_IDENTITY(and restrictaiplatform.reasoningEngines.updatepermissions on the engine) or a dedicated customservice_accountwhen granting access to sensitive resources such as Secret Manager secrets.
#identity_type=
def identity_type=(value) -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::IdentityType-
value (::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::IdentityType) — Optional. The identity type to use for the Reasoning Engine. If not
specified, the
service_accountfield will be used if set, otherwise the default Vertex AI Reasoning Engine Service Agent in the project will be used.WARNING: The default Vertex AI Reasoning Engine Service Agent (
service-{project_number}@gcp-sa-aiplatform-re.iam.gserviceaccount.com) is shared across all Reasoning Engines in the project that do not specify an isolated identity or custom service account. Any permissions or secrets granted to it can be accessed by any principal permitted to deploy or update agents in the project (even without usingsecret_env, by calling APIs directly from agent code). PreferAGENT_IDENTITY(and restrictaiplatform.reasoningEngines.updatepermissions on the engine) or a dedicated customservice_accountwhen granting access to sensitive resources such as Secret Manager secrets.
-
(::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::IdentityType) — Optional. The identity type to use for the Reasoning Engine. If not
specified, the
service_accountfield will be used if set, otherwise the default Vertex AI Reasoning Engine Service Agent in the project will be used.WARNING: The default Vertex AI Reasoning Engine Service Agent (
service-{project_number}@gcp-sa-aiplatform-re.iam.gserviceaccount.com) is shared across all Reasoning Engines in the project that do not specify an isolated identity or custom service account. Any permissions or secrets granted to it can be accessed by any principal permitted to deploy or update agents in the project (even without usingsecret_env, by calling APIs directly from agent code). PreferAGENT_IDENTITY(and restrictaiplatform.reasoningEngines.updatepermissions on the engine) or a dedicated customservice_accountwhen granting access to sensitive resources such as Secret Manager secrets.
#package_spec
def package_spec() -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::PackageSpec-
(::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::PackageSpec) — 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. Thedeployment_sourcefield should not be set ifpackage_specis specified.
#package_spec=
def package_spec=(value) -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::PackageSpec-
value (::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::PackageSpec) — 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. Thedeployment_sourcefield should not be set ifpackage_specis specified.
-
(::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::PackageSpec) — 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. Thedeployment_sourcefield should not be set ifpackage_specis specified.
#service_account
def service_account() -> ::String-
(::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 and
identity_typeis notAGENT_IDENTITY, the default Vertex AI Reasoning Engine Service Agent in the project will be used.WARNING: The default Vertex AI Reasoning Engine Service Agent (
service-{project_number}@gcp-sa-aiplatform-re.iam.gserviceaccount.com) is shared across all Reasoning Engines in the project that do not specify an isolated identity or custom service account. Any permissions or secrets granted to it can be accessed by any principal permitted to deploy or update agents in the project (even without usingsecret_env, by calling APIs directly from agent code). For sensitive resources such as Secret Manager secrets, useidentity_type = AGENT_IDENTITY(restrictingaiplatform.reasoningEngines.updateaccess to that engine) or a dedicated customservice_account.
#service_account=
def service_account=(value) -> ::String-
value (::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 and
identity_typeis notAGENT_IDENTITY, the default Vertex AI Reasoning Engine Service Agent in the project will be used.WARNING: The default Vertex AI Reasoning Engine Service Agent (
service-{project_number}@gcp-sa-aiplatform-re.iam.gserviceaccount.com) is shared across all Reasoning Engines in the project that do not specify an isolated identity or custom service account. Any permissions or secrets granted to it can be accessed by any principal permitted to deploy or update agents in the project (even without usingsecret_env, by calling APIs directly from agent code). For sensitive resources such as Secret Manager secrets, useidentity_type = AGENT_IDENTITY(restrictingaiplatform.reasoningEngines.updateaccess to that engine) or a dedicated customservice_account.
-
(::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 and
identity_typeis notAGENT_IDENTITY, the default Vertex AI Reasoning Engine Service Agent in the project will be used.WARNING: The default Vertex AI Reasoning Engine Service Agent (
service-{project_number}@gcp-sa-aiplatform-re.iam.gserviceaccount.com) is shared across all Reasoning Engines in the project that do not specify an isolated identity or custom service account. Any permissions or secrets granted to it can be accessed by any principal permitted to deploy or update agents in the project (even without usingsecret_env, by calling APIs directly from agent code). For sensitive resources such as Secret Manager secrets, useidentity_type = AGENT_IDENTITY(restrictingaiplatform.reasoningEngines.updateaccess to that engine) or a dedicated customservice_account.
#source_code_spec
def source_code_spec() -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec-
(::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec) — Deploy from source code files with a defined entrypoint.
Note: The following fields are mutually exclusive:
source_code_spec,container_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
#source_code_spec=
def source_code_spec=(value) -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec-
value (::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec) — Deploy from source code files with a defined entrypoint.
Note: The following fields are mutually exclusive:
source_code_spec,container_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec) — Deploy from source code files with a defined entrypoint.
Note: The following fields are mutually exclusive:
source_code_spec,container_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.