Reference documentation and code samples for the Compute Engine v1 API enum Subnetwork.Types.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.
[[["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 reference documentation for the \u003ccode\u003eSubnetwork.Types.Role\u003c/code\u003e enum in the Google Compute Engine v1 API, specifically within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubnetwork.Types.Role\u003c/code\u003e enum defines the possible roles of a subnetwork, which are currently used in \u003ccode\u003eINTERNAL_HTTPS_LOAD_BALANCER\u003c/code\u003e configurations and are set to either \u003ccode\u003eACTIVE\u003c/code\u003e or \u003ccode\u003eBACKUP\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eACTIVE\u003c/code\u003e role designates a subnetwork that is actively being used for Internal HTTP(S) Load Balancing, whereas the \u003ccode\u003eBACKUP\u003c/code\u003e role indicates a subnetwork that can be promoted to \u003ccode\u003eACTIVE\u003c/code\u003e or is currently in a draining state.\u003c/p\u003e\n"],["\u003cp\u003eThe document outlines a range of versions for this API, starting from version 1.0.0 and going up to the latest version 3.6.0, where the latest version is version 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUndefinedRole\u003c/code\u003e is listed as a value for when the enum field is not set.\u003c/p\u003e\n"]]],[],null,[]]