agentFramework = $agentFramework; } /** * @return string */ public function getAgentFramework() { return $this->agentFramework; } /** * Optional. Declarations for object class methods in OpenAPI specification * format. * * @param array[] $classMethods */ public function setClassMethods($classMethods) { $this->classMethods = $classMethods; } /** * @return array[] */ public function getClassMethods() { return $this->classMethods; } /** * Deploy from a container image with a defined entrypoint and commands. * * @param GoogleCloudAiplatformV1ReasoningEngineSpecContainerSpec $containerSpec */ public function setContainerSpec(GoogleCloudAiplatformV1ReasoningEngineSpecContainerSpec $containerSpec) { $this->containerSpec = $containerSpec; } /** * @return GoogleCloudAiplatformV1ReasoningEngineSpecContainerSpec */ public function getContainerSpec() { return $this->containerSpec; } /** * Optional. The specification of a Reasoning Engine deployment. * * @param GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec $deploymentSpec */ public function setDeploymentSpec(GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec $deploymentSpec) { $this->deploymentSpec = $deploymentSpec; } /** * @return GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec */ public function getDeploymentSpec() { return $this->deploymentSpec; } /** * Output only. The identity to use for the Reasoning Engine. It can contain * one of the following values: * service-{project}@gcp-sa-aiplatform- * re.googleapis.com (for SERVICE_AGENT identity type) * * {name}@{project}.gserviceaccount.com (for SERVICE_ACCOUNT identity type) * * agents.global.{org}.system.id.goog/resources/aiplatform/projects/{project}/ * locations/{location}/reasoningEngines/{reasoning_engine} (for * AGENT_IDENTITY identity type) * * @param string $effectiveIdentity */ public function setEffectiveIdentity($effectiveIdentity) { $this->effectiveIdentity = $effectiveIdentity; } /** * @return string */ public function getEffectiveIdentity() { return $this->effectiveIdentity; } /** * 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. * * Accepted values: IDENTITY_TYPE_UNSPECIFIED, SERVICE_ACCOUNT, AGENT_IDENTITY * * @param self::IDENTITY_TYPE_* $identityType */ public function setIdentityType($identityType) { $this->identityType = $identityType; } /** * @return self::IDENTITY_TYPE_* */ public function getIdentityType() { return $this->identityType; } /** * 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. * * @param GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec $packageSpec */ public function setPackageSpec(GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec $packageSpec) { $this->packageSpec = $packageSpec; } /** * @return GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec */ public function getPackageSpec() { return $this->packageSpec; } /** * 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. * * @param string $serviceAccount */ public function setServiceAccount($serviceAccount) { $this->serviceAccount = $serviceAccount; } /** * @return string */ public function getServiceAccount() { return $this->serviceAccount; } /** * Deploy from source code files with a defined entrypoint. * * @param GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec $sourceCodeSpec */ public function setSourceCodeSpec(GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec $sourceCodeSpec) { $this->sourceCodeSpec = $sourceCodeSpec; } /** * @return GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec */ public function getSourceCodeSpec() { return $this->sourceCodeSpec; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1ReasoningEngineSpec::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1ReasoningEngineSpec');