Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::UsableSubnetwork::Role (v1.10.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::UsableSubnetwork::Role.

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.

Constants

UNDEFINED_ROLE

value: 0
A value indicating that the enum field is not set.

ACTIVE

value: 314733318
The ACTIVE subnet that is currently used.

BACKUP

value: 341010882
The BACKUP subnet that could be promoted to ACTIVE.