Reference documentation and code samples for the Compute Engine v1 API enum Subnetwork.Types.State.
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY
[[["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\u003eThe latest version of the \u003ccode\u003eSubnetwork.Types.State\u003c/code\u003e documentation is 3.6.0, with a total of 30 versions available for reference.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSubnetwork.Types.State\u003c/code\u003e enum represents the possible states of a subnetwork within the Compute Engine v1 API, having two possible states \u003ccode\u003eDraining\u003c/code\u003e and \u003ccode\u003eReady\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDraining\u003c/code\u003e state signifies that a subnetwork is undergoing connection draining, which means that the subnetwork cannot be used or modified until it returns to the \u003ccode\u003eReady\u003c/code\u003e state.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReady\u003c/code\u003e state indicates that a subnetwork is created and available for use.\u003c/p\u003e\n"],["\u003cp\u003eThere is also an \u003ccode\u003eUndefinedState\u003c/code\u003e field to represent that the state enum is not set.\u003c/p\u003e\n"]]],[],null,[]]