public static enum ForwardingRule.ExternalManagedBackendBucketMigrationState extends Enum<ForwardingRule.ExternalManagedBackendBucketMigrationState> implements com.google.protobuf.ProtocolMessageEnum
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.Protobuf enum
google.cloud.compute.v1.ForwardingRule.ExternalManagedBackendBucketMigrationState| Enum Constant and Description |
|---|
PREPARE
PREPARE = 399612135; |
TEST_ALL_TRAFFIC
TEST_ALL_TRAFFIC = 79728882; |
TEST_BY_PERCENTAGE
TEST_BY_PERCENTAGE = 513738389; |
UNDEFINED_EXTERNAL_MANAGED_BACKEND_BUCKET_MIGRATION_STATE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
PREPARE_VALUE
PREPARE = 399612135; |
static int |
TEST_ALL_TRAFFIC_VALUE
TEST_ALL_TRAFFIC = 79728882; |
static int |
TEST_BY_PERCENTAGE_VALUE
TEST_BY_PERCENTAGE = 513738389; |
static int |
UNDEFINED_EXTERNAL_MANAGED_BACKEND_BUCKET_MIGRATION_STATE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static ForwardingRule.ExternalManagedBackendBucketMigrationState |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ForwardingRule.ExternalManagedBackendBucketMigrationState> |
internalGetValueMap() |
static ForwardingRule.ExternalManagedBackendBucketMigrationState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ForwardingRule.ExternalManagedBackendBucketMigrationState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ForwardingRule.ExternalManagedBackendBucketMigrationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForwardingRule.ExternalManagedBackendBucketMigrationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForwardingRule.ExternalManagedBackendBucketMigrationState UNDEFINED_EXTERNAL_MANAGED_BACKEND_BUCKET_MIGRATION_STATE
A value indicating that the enum field is not set.
UNDEFINED_EXTERNAL_MANAGED_BACKEND_BUCKET_MIGRATION_STATE = 0;public static final ForwardingRule.ExternalManagedBackendBucketMigrationState PREPARE
PREPARE = 399612135;public static final ForwardingRule.ExternalManagedBackendBucketMigrationState TEST_ALL_TRAFFIC
TEST_ALL_TRAFFIC = 79728882;public static final ForwardingRule.ExternalManagedBackendBucketMigrationState TEST_BY_PERCENTAGE
TEST_BY_PERCENTAGE = 513738389;public static final ForwardingRule.ExternalManagedBackendBucketMigrationState UNRECOGNIZED
public static final int UNDEFINED_EXTERNAL_MANAGED_BACKEND_BUCKET_MIGRATION_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_EXTERNAL_MANAGED_BACKEND_BUCKET_MIGRATION_STATE = 0;public static final int PREPARE_VALUE
PREPARE = 399612135;public static final int TEST_ALL_TRAFFIC_VALUE
TEST_ALL_TRAFFIC = 79728882;public static final int TEST_BY_PERCENTAGE_VALUE
TEST_BY_PERCENTAGE = 513738389;public static ForwardingRule.ExternalManagedBackendBucketMigrationState[] values()
for (ForwardingRule.ExternalManagedBackendBucketMigrationState c : ForwardingRule.ExternalManagedBackendBucketMigrationState.values()) System.out.println(c);
public static ForwardingRule.ExternalManagedBackendBucketMigrationState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ForwardingRule.ExternalManagedBackendBucketMigrationState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ForwardingRule.ExternalManagedBackendBucketMigrationState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ForwardingRule.ExternalManagedBackendBucketMigrationState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ForwardingRule.ExternalManagedBackendBucketMigrationState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.