[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
Enums
Name
Description
UNDEFINED_STATE
A value indicating that the enum field is not set.
[[["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-28 UTC."],[],[],null,["# Class State (0.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.5 (latest)](/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.Subnetwork.State)\n- [0.1.4](/python/docs/reference/google-cloud-compute-v1beta/0.1.4/google.cloud.compute_v1beta.types.Subnetwork.State) \n\n State(value)\n\n\\[Output Only\\] The state of the subnetwork, which can be one of the\nfollowing values: READY: Subnetwork is created and ready to use\nDRAINING: only applicable to subnetworks that have the purpose set\nto INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to\nthe load balancer are being drained. A subnetwork that is draining\ncannot be used or modified until it reaches a status of READY"]]