Reference documentation and code samples for the Google Cloud OS Config v1alpha API enum OSPolicy.Types.Resource.Types.PackageResource.Types.DesiredState.
The desired state that the OS Config agent maintains on the VM.
[[["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-07 UTC."],[[["The `OSPolicy.Types.Resource.Types.PackageResource.Types.DesiredState` enum is used by the Google Cloud OS Config v1alpha API to define the desired state of a package on a virtual machine."],["There are three possible states for a package: `Installed`, which ensures the package is present, `Removed`, which ensures the package is absent, and `Unspecified`, which is considered invalid."],["The most recent version of this API enum is 2.0.0-alpha06, although older versions like 2.0.0-alpha05 and 1.0.0-alpha04 are also documented."]]],[]]