Module: Google::Cloud::Compute::V1::Subnetwork::Role

Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or 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.

Constant Summary collapse

UNDEFINED_ROLE =

A value indicating that the enum field is not set.

0
ACTIVE =

The ACTIVE subnet that is currently used.

314_733_318
BACKUP =

The BACKUP subnet that could be promoted to ACTIVE.

341_010_882