basic = $basic; } /** * @deprecated * @return GoogleCloudAiplatformV1RagManagedDbConfigBasic */ public function getBasic() { return $this->basic; } /** * Deprecated: Use `mode` instead to set the tier under Spanner. Sets the * RagManagedDb to the Scaled tier. * * @deprecated * @param GoogleCloudAiplatformV1RagManagedDbConfigScaled $scaled */ public function setScaled(GoogleCloudAiplatformV1RagManagedDbConfigScaled $scaled) { $this->scaled = $scaled; } /** * @deprecated * @return GoogleCloudAiplatformV1RagManagedDbConfigScaled */ public function getScaled() { return $this->scaled; } /** * Sets the backend to be the serverless mode offered by RAG Engine. * * @param GoogleCloudAiplatformV1RagManagedDbConfigServerless $serverless */ public function setServerless(GoogleCloudAiplatformV1RagManagedDbConfigServerless $serverless) { $this->serverless = $serverless; } /** * @return GoogleCloudAiplatformV1RagManagedDbConfigServerless */ public function getServerless() { return $this->serverless; } /** * 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. * * @param GoogleCloudAiplatformV1RagManagedDbConfigSpanner $spanner */ public function setSpanner(GoogleCloudAiplatformV1RagManagedDbConfigSpanner $spanner) { $this->spanner = $spanner; } /** * @return GoogleCloudAiplatformV1RagManagedDbConfigSpanner */ public function getSpanner() { return $this->spanner; } /** * Deprecated: Use `mode` instead to set the tier under Spanner. Sets the * RagManagedDb to the Unprovisioned tier. * * @deprecated * @param GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned $unprovisioned */ public function setUnprovisioned(GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned $unprovisioned) { $this->unprovisioned = $unprovisioned; } /** * @deprecated * @return GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned */ public function getUnprovisioned() { return $this->unprovisioned; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1RagManagedDbConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1RagManagedDbConfig');