SubnetworkRole

enum SubnetworkRole : Enum<SubnetworkRole> , ConvertibleToJava<SubnetworkRole>

The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE 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.

Entries

Link copied to clipboard

The ACTIVE subnet that is currently used.

Link copied to clipboard

The BACKUP subnet that could be promoted to ACTIVE.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): SubnetworkRole
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: SubnetworkRole
Link copied to clipboard
Link copied to clipboard