Skip to content

Commit 930c752

Browse files
Regenerate cloudfunctions client
1 parent 65550d5 commit 930c752

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/CloudFunctions/UpgradeInfo.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,12 @@ class UpgradeInfo extends \Google\Model
7373
*/
7474
public const UPGRADE_STATE_COMMIT_FUNCTION_UPGRADE_ERROR_ROLLBACK_SAFE = 'COMMIT_FUNCTION_UPGRADE_ERROR_ROLLBACK_SAFE';
7575
/**
76-
* Indicates that the `CommitFunctionUpgradeAsGen2` API call succeeded and the
77-
* function was successfully migrated to the 2nd Gen stack.
76+
* Deprecated: This state is no longer returned by the backend. Clients should
77+
* not rely on polling for this specific state. A successful upgrade is now
78+
* indicated by the long-running operation completing successfully with a
79+
* Function resource in the response.
80+
*
81+
* @deprecated
7882
*/
7983
public const UPGRADE_STATE_COMMIT_FUNCTION_UPGRADE_AS_GEN2_SUCCESSFUL = 'COMMIT_FUNCTION_UPGRADE_AS_GEN2_SUCCESSFUL';
8084
/**

0 commit comments

Comments
 (0)