Reference documentation and code samples for the Compute Engine v1 API enum DeprecationStatus.Types.State.
The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.
[[["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 reference documentation for the \u003ccode\u003eDeprecationStatus.Types.State\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers versions from 1.0.0 up to the latest release, 3.6.0, each link pointing to that specific version's documentation for the state.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeprecationStatus.Types.State\u003c/code\u003e enum defines the different deprecation states a resource can have: \u003ccode\u003eACTIVE\u003c/code\u003e, \u003ccode\u003eDEPRECATED\u003c/code\u003e, \u003ccode\u003eOBSOLETE\u003c/code\u003e, \u003ccode\u003eDELETED\u003c/code\u003e, and \u003ccode\u003eUndefinedState\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUsing deprecated resources will return a warning, while using obsolete or deleted resources will result in an error, and active indicates the resource is in use but could have an end of life date.\u003c/p\u003e\n"],["\u003cp\u003eThe resource version that this specific page is on is version 2.16.0.\u003c/p\u003e\n"]]],[],null,[]]