projects
Changes the traffic target of a function from the original 1st Gen function to the 2nd Gen copy. This is the second step of the multi step process to upgrade 1st Gen functions to 2nd Gen. After this operation, all new traffic will be served by 2nd Gen copy.
post/v2/{+name}:redirectFunctionUpgradeTraffic
Path parameters
namestring required
Required. The name of the function for which traffic target should be changed to 2nd Gen from 1st Gen.
Request body
RedirectFunctionUpgradeTrafficRequest required
Request for the RedirectFunctionUpgradeTraffic method.
Response
Successful response