Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::ReasoningEngineSpec (v1.52.0)

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
Returns
  • (::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
Parameter
  • value (::String) — Optional. The OSS agent framework used to develop the agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom".
Returns
  • (::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
Returns

#build_spec=

def build_spec=(value) -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::BuildSpec
Parameter
Returns

#class_methods

def class_methods() -> ::Array<::Google::Protobuf::Struct>
Returns

#class_methods=

def class_methods=(value) -> ::Array<::Google::Protobuf::Struct>
Parameter
  • value (::Array<::Google::Protobuf::Struct>) — Optional. Declarations for object class methods in OpenAPI specification format.
Returns

#container_spec

def container_spec() -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::ContainerSpec
Returns

#container_spec=

def container_spec=(value) -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::ContainerSpec
Parameter
Returns

#deployment_spec

def deployment_spec() -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::DeploymentSpec
Returns

#deployment_spec=

def deployment_spec=(value) -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::DeploymentSpec
Parameter
Returns

#identity_type

def identity_type() -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::IdentityType
Returns
  • (::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::IdentityType) — 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.

    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 using secret_env, by calling APIs directly from agent code). Prefer AGENT_IDENTITY (and restrict aiplatform.reasoningEngines.update permissions on the engine) or a dedicated custom service_account when granting access to sensitive resources such as Secret Manager secrets.

#identity_type=

def identity_type=(value) -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::IdentityType
Parameter
  • value (::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::IdentityType) — 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.

    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 using secret_env, by calling APIs directly from agent code). Prefer AGENT_IDENTITY (and restrict aiplatform.reasoningEngines.update permissions on the engine) or a dedicated custom service_account when granting access to sensitive resources such as Secret Manager secrets.

Returns
  • (::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::IdentityType) — 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.

    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 using secret_env, by calling APIs directly from agent code). Prefer AGENT_IDENTITY (and restrict aiplatform.reasoningEngines.update permissions on the engine) or a dedicated custom service_account when granting access to sensitive resources such as Secret Manager secrets.

#package_spec

def package_spec() -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::PackageSpec
Returns
  • (::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. The deployment_source field should not be set if package_spec is specified.

#package_spec=

def package_spec=(value) -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::PackageSpec
Parameter
  • 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. The deployment_source field should not be set if package_spec is specified.
Returns
  • (::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. The deployment_source field should not be set if package_spec is specified.

#service_account

def service_account() -> ::String
Returns
  • (::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_type is not AGENT_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 using secret_env, by calling APIs directly from agent code). For sensitive resources such as Secret Manager secrets, use identity_type = AGENT_IDENTITY (restricting aiplatform.reasoningEngines.update access to that engine) or a dedicated custom service_account.

#service_account=

def service_account=(value) -> ::String
Parameter
  • 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_type is not AGENT_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 using secret_env, by calling APIs directly from agent code). For sensitive resources such as Secret Manager secrets, use identity_type = AGENT_IDENTITY (restricting aiplatform.reasoningEngines.update access to that engine) or a dedicated custom service_account.

Returns
  • (::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_type is not AGENT_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 using secret_env, by calling APIs directly from agent code). For sensitive resources such as Secret Manager secrets, use identity_type = AGENT_IDENTITY (restricting aiplatform.reasoningEngines.update access to that engine) or a dedicated custom service_account.

#source_code_spec

def source_code_spec() -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec
Returns

#source_code_spec=

def source_code_spec=(value) -> ::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec
Parameter
Returns