Enum UsableSubnetwork.Role (1.26.0)

public enum UsableSubnetwork.Role extends Enum<UsableSubnetwork.Role> implements ProtocolMessageEnum

The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. 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

ProtocolMessageEnum

Static Fields

NameDescription
ACTIVE

The ACTIVE subnet that is currently used.

ACTIVE = 314733318;

ACTIVE_VALUE

The ACTIVE subnet that is currently used.

ACTIVE = 314733318;

BACKUP

The BACKUP subnet that could be promoted to ACTIVE.

BACKUP = 341010882;

BACKUP_VALUE

The BACKUP subnet that could be promoted to ACTIVE.

BACKUP = 341010882;

UNDEFINED_ROLE

A value indicating that the enum field is not set.

UNDEFINED_ROLE = 0;

UNDEFINED_ROLE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_ROLE = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()