Specifies the canary migration state for the backend buckets
attached to this forwarding rule. Possible values are PREPARE,
TEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC. To begin the migration
from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to
PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the
loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally,
the TEST_BY_PERCENTAGE state can be used to migrate traffic to
backend buckets attached to this forwarding rule by percentage using
externalManagedBackendBucketMigrationTestingPercentage. Rolling back
a migration requires the states to be set in reverse order. So
changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the
state to be set to TEST_ALL_TRAFFIC at the same time. Optionally,
the TEST_BY_PERCENTAGE state can be used to migrate some traffic
back to EXTERNAL or PREPARE can be used to migrate all traffic back
to EXTERNAL.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class ExternalManagedBackendBucketMigrationState (0.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.5 (latest)](/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.ForwardingRule.ExternalManagedBackendBucketMigrationState)\n- [0.1.4](/python/docs/reference/google-cloud-compute-v1beta/0.1.4/google.cloud.compute_v1beta.types.ForwardingRule.ExternalManagedBackendBucketMigrationState) \n\n ExternalManagedBackendBucketMigrationState(value)\n\nSpecifies the canary migration state for the backend buckets\nattached to this forwarding rule. Possible values are PREPARE,\nTEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC. To begin the migration\nfrom EXTERNAL to EXTERNAL_MANAGED, the state must be changed to\nPREPARE. The state must be changed to TEST_ALL_TRAFFIC before the\nloadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally,\nthe TEST_BY_PERCENTAGE state can be used to migrate traffic to\nbackend buckets attached to this forwarding rule by percentage using\nexternalManagedBackendBucketMigrationTestingPercentage. Rolling back\na migration requires the states to be set in reverse order. So\nchanging the scheme from EXTERNAL_MANAGED to EXTERNAL requires the\nstate to be set to TEST_ALL_TRAFFIC at the same time. Optionally,\nthe TEST_BY_PERCENTAGE state can be used to migrate some traffic\nback to EXTERNAL or PREPARE can be used to migrate all traffic back\nto EXTERNAL."]]