Reference documentation and code samples for the Compute Engine v1 API enum UsableSubnetwork.Types.Role.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis document provides versioned reference documentation for the \u003ccode\u003eUsableSubnetwork.Types.Role\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API, with version 3.6.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUsableSubnetwork.Types.Role\u003c/code\u003e enum is used to define the role of a subnetwork, which is currently relevant when the purpose is set to \u003ccode\u003eREGIONAL_MANAGED_PROXY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAvailable roles for a subnetwork include \u003ccode\u003eACTIVE\u003c/code\u003e, which represents the subnet currently in use, and \u003ccode\u003eBACKUP\u003c/code\u003e, which indicates a subnet ready to be promoted or currently draining.\u003c/p\u003e\n"],["\u003cp\u003eThere is an \u003ccode\u003eUndefinedRole\u003c/code\u003e field which is used when the enum is not set.\u003c/p\u003e\n"],["\u003cp\u003eThe reference documentation includes links to all past versions, from 1.0.0 to the most recent, 3.6.0, to the various iterations of this enum.\u003c/p\u003e\n"]]],[],null,[]]