Reference documentation and code samples for the Google Cloud OS Config v1alpha API enum OSPolicy.Types.Resource.Types.FileResource.Types.DesiredState.
[[["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."],[[["\u003cp\u003eThe \u003ccode\u003eOSPolicy.Types.Resource.Types.FileResource.Types.DesiredState\u003c/code\u003e enum, found in the Google Cloud OS Config v1alpha API, defines the desired state of a file.\u003c/p\u003e\n"],["\u003cp\u003eThere are four possible file states: \u003ccode\u003eAbsent\u003c/code\u003e (file should not exist), \u003ccode\u003eContentsMatch\u003c/code\u003e (file's contents should match), \u003ccode\u003ePresent\u003c/code\u003e (file should exist), and \u003ccode\u003eUnspecified\u003c/code\u003e (an invalid state).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDesiredState\u003c/code\u003e enum is part of the \u003ccode\u003eGoogle.Cloud.OsConfig.V1Alpha\u003c/code\u003e namespace and is contained within the \u003ccode\u003eGoogle.Cloud.OsConfig.V1Alpha.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the enum OSPolicy.Types.Resource.Types.FileResource.Types.DesiredState is 2.0.0-alpha06.\u003c/p\u003e\n"]]],[],null,["# Google Cloud OS Config v1alpha API - Enum OSPolicy.Types.Resource.Types.FileResource.Types.DesiredState (2.0.0-alpha06)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-alpha06 (latest)](/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.OSPolicy.Types.Resource.Types.FileResource.Types.DesiredState)\n- [2.0.0-alpha05](/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/2.0.0-alpha05/Google.Cloud.OsConfig.V1Alpha.OSPolicy.Types.Resource.Types.FileResource.Types.DesiredState)\n- [1.0.0-alpha04](/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/1.0.0-alpha04/Google.Cloud.OsConfig.V1Alpha.OSPolicy.Types.Resource.Types.FileResource.Types.DesiredState) \n\n public enum OSPolicy.Types.Resource.Types.FileResource.Types.DesiredState\n\nReference documentation and code samples for the Google Cloud OS Config v1alpha API enum OSPolicy.Types.Resource.Types.FileResource.Types.DesiredState.\n\nDesired state of the file.\n\nNamespace\n---------\n\n[Google.Cloud.OsConfig.V1Alpha](/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.OsConfig.V1Alpha.dll"]]