From bd372f791a5c2bd67ce57491214484a959578aef Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Fri, 20 Feb 2026 16:59:55 -0800 Subject: [PATCH] Regenerate cloudfunctions client --- src/CloudFunctions/UpgradeInfo.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/CloudFunctions/UpgradeInfo.php b/src/CloudFunctions/UpgradeInfo.php index 78b89f33e5..ecf9e3ada8 100644 --- a/src/CloudFunctions/UpgradeInfo.php +++ b/src/CloudFunctions/UpgradeInfo.php @@ -73,8 +73,12 @@ class UpgradeInfo extends \Google\Model */ public const UPGRADE_STATE_COMMIT_FUNCTION_UPGRADE_ERROR_ROLLBACK_SAFE = 'COMMIT_FUNCTION_UPGRADE_ERROR_ROLLBACK_SAFE'; /** - * Indicates that the `CommitFunctionUpgradeAsGen2` API call succeeded and the - * function was successfully migrated to the 2nd Gen stack. + * Deprecated: This state is no longer returned by the backend. Clients should + * not rely on polling for this specific state. A successful upgrade is now + * indicated by the long-running operation completing successfully with a + * Function resource in the response. + * + * @deprecated */ public const UPGRADE_STATE_COMMIT_FUNCTION_UPGRADE_AS_GEN2_SUCCESSFUL = 'COMMIT_FUNCTION_UPGRADE_AS_GEN2_SUCCESSFUL'; /**