From 67c1292e9f5c56ade1f04b89c7b001a1a1739e4f Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:55:59 -0800 Subject: [PATCH] Regenerate aiplatform client --- ...oogleCloudAiplatformV1CandidateResponse.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/Aiplatform/GoogleCloudAiplatformV1CandidateResponse.php b/src/Aiplatform/GoogleCloudAiplatformV1CandidateResponse.php index f40fcc12a0f..64f7b2c0ea5 100644 --- a/src/Aiplatform/GoogleCloudAiplatformV1CandidateResponse.php +++ b/src/Aiplatform/GoogleCloudAiplatformV1CandidateResponse.php @@ -25,6 +25,8 @@ class GoogleCloudAiplatformV1CandidateResponse extends \Google\Model * @var string */ public $candidate; + protected $errorType = GoogleRpcStatus::class; + protected $errorDataType = ''; /** * Text response. * @@ -54,6 +56,22 @@ public function getCandidate() { return $this->candidate; } + /** + * Output only. Error while scraping model or agent. + * + * @param GoogleRpcStatus $error + */ + public function setError(GoogleRpcStatus $error) + { + $this->error = $error; + } + /** + * @return GoogleRpcStatus + */ + public function getError() + { + return $this->error; + } /** * Text response. *