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 webpage provides documentation for the \u003ccode\u003eRole\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, specifically for the subnetwork type.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation is 3.6.0, but there are many previous versions from 3.5.0 all the way down to 1.0.0 available to view.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRole\u003c/code\u003e enum defines the function of a subnetwork, and is relevant for \u003ccode\u003eINTERNAL_HTTPS_LOAD_BALANCER\u003c/code\u003e purposes, allowing the user to determine the purpose of the subnet.\u003c/p\u003e\n"],["\u003cp\u003eThe enum defines three possible roles: \u003ccode\u003eActive\u003c/code\u003e, representing the currently used subnet; \u003ccode\u003eBackup\u003c/code\u003e, indicating a subnet that can become active; and \u003ccode\u003eUndefinedRole\u003c/code\u003e, when the role field is not defined.\u003c/p\u003e\n"]]],[],null,[]]