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 Google.Cloud.Compute.V1 API is 3.6.0, with numerous previous versions available for reference, including version 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation details the \u003ccode\u003eSubnetwork.Types.State\u003c/code\u003e enum, which indicates the operational status of a subnetwork in Compute Engine.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubnetwork.Types.State\u003c/code\u003e enum defines three possible states: \u003ccode\u003eReady\u003c/code\u003e, indicating the subnetwork is ready for use; \u003ccode\u003eDraining\u003c/code\u003e, indicating the subnetwork is in the process of draining connections, and \u003ccode\u003eUndefinedState\u003c/code\u003e, indicating the enum field is not set.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDraining\u003c/code\u003e state is specifically for subnetworks with the \u003ccode\u003eINTERNAL_HTTPS_LOAD_BALANCER\u003c/code\u003e purpose and means that the load balancer is disconnecting.\u003c/p\u003e\n"],["\u003cp\u003eThe full list of versions available for the Google.Cloud.Compute.V1 API range from version 1.0.0 up to the latest version 3.6.0.\u003c/p\u003e\n"]]],[],null,[]]