[[["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 \u003ccode\u003eComputeEnumConstants.BackendServiceCdnPolicy.CacheMode\u003c/code\u003e class is 3.6.0, as part of the Google.Cloud.Compute.V1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides constants that represent the wire representations of the \u003ccode\u003eBackendServiceCdnPolicy.Types.CacheMode\u003c/code\u003e enum, which include \u003ccode\u003eCacheAllStatic\u003c/code\u003e, \u003ccode\u003eForceCacheAll\u003c/code\u003e, \u003ccode\u003eInvalidCacheMode\u003c/code\u003e, \u003ccode\u003eUndefinedCacheMode\u003c/code\u003e, and \u003ccode\u003eUseOriginHeaders\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eComputeEnumConstants.BackendServiceCdnPolicy.CacheMode\u003c/code\u003e class inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class, such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides historical versions of this class, going back as far as 1.0.0, allowing users to reference documentation for many versions of this class.\u003c/p\u003e\n"]]],[],null,["# Compute Engine v1 API - Class ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.12.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.11.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.10.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.9.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.8.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.7.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.6.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.5.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.4.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.3.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.2.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.1.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.0.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.17.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.16.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.15.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.14.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.13.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.12.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.11.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.10.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.9.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.8.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.7.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.6.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.5.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.4.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.3.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.2.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.1.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.0.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.4.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.3.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.2.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.1.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.0.0/Google.Cloud.Compute.V1.ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode) \n\n public static class ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode\n\nReference documentation and code samples for the Compute Engine v1 API class ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode.\n\nConstants for wire representations of the\n[BackendServiceCdnPolicy.Types.CacheMode](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.BackendServiceCdnPolicy.Types.CacheMode) enum. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ComputeEnumConstants.BackendServiceCdnPolicy.CacheMode \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Compute.V1](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Compute.V1.dll\n\nFields\n------\n\n### CacheAllStatic\n\n public const string CacheAllStatic = \"CACHE_ALL_STATIC\"\n\nWire representation of\n[CacheAllStatic](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.BackendServiceCdnPolicy.Types.CacheMode#Google_Cloud_Compute_V1_BackendServiceCdnPolicy_Types_CacheMode_CacheAllStatic)\n.\n\n### ForceCacheAll\n\n public const string ForceCacheAll = \"FORCE_CACHE_ALL\"\n\nWire representation of\n[ForceCacheAll](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.BackendServiceCdnPolicy.Types.CacheMode#Google_Cloud_Compute_V1_BackendServiceCdnPolicy_Types_CacheMode_ForceCacheAll).\n\n### InvalidCacheMode\n\n public const string InvalidCacheMode = \"INVALID_CACHE_MODE\"\n\nWire representation of\n[InvalidCacheMode](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.BackendServiceCdnPolicy.Types.CacheMode#Google_Cloud_Compute_V1_BackendServiceCdnPolicy_Types_CacheMode_InvalidCacheMode)\n.\n\n### UndefinedCacheMode\n\n public const string UndefinedCacheMode = \"UNDEFINED_CACHE_MODE\"\n\nWire representation of\n[UndefinedCacheMode](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.BackendServiceCdnPolicy.Types.CacheMode#Google_Cloud_Compute_V1_BackendServiceCdnPolicy_Types_CacheMode_UndefinedCacheMode)\n.\n\n### UseOriginHeaders\n\n public const string UseOriginHeaders = \"USE_ORIGIN_HEADERS\"\n\nWire representation of\n[UseOriginHeaders](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.BackendServiceCdnPolicy.Types.CacheMode#Google_Cloud_Compute_V1_BackendServiceCdnPolicy_Types_CacheMode_UseOriginHeaders)\n."]]