public enum UsableSubnetwork.Role extends Enum<UsableSubnetwork.Role> implements ProtocolMessageEnumThe role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.
Protobuf enum google.cloud.compute.v1.UsableSubnetwork.Role
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
ACTIVE |
The ACTIVE subnet that is currently used. |
ACTIVE_VALUE |
The ACTIVE subnet that is currently used. |
BACKUP |
The BACKUP subnet that could be promoted to ACTIVE. |
BACKUP_VALUE |
The BACKUP subnet that could be promoted to ACTIVE. |
UNDEFINED_ROLE |
A value indicating that the enum field is not set. |
UNDEFINED_ROLE_VALUE |
A value indicating that the enum field is not set. |
UNRECOGNIZED |
|
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|