public sealed class BackendServiceCdnPolicyNegativeCachingPolicy : IMessage<BackendServiceCdnPolicyNegativeCachingPolicy>, IEquatable<BackendServiceCdnPolicyNegativeCachingPolicy>, IDeepCloneable<BackendServiceCdnPolicyNegativeCachingPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class BackendServiceCdnPolicyNegativeCachingPolicy.
The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.
The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.
[[["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 document provides reference documentation for the \u003ccode\u003eBackendServiceCdnPolicyNegativeCachingPolicy\u003c/code\u003e class within the Google.Cloud.Compute.V1 API, specifically version 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackendServiceCdnPolicyNegativeCachingPolicy\u003c/code\u003e class is used to specify CDN TTLs for response error codes in Compute Engine v1, and it implements several interfaces like IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties to set and retrieve the HTTP status code (\u003ccode\u003eCode\u003c/code\u003e) and the Time-To-Live (\u003ccode\u003eTtl\u003c/code\u003e) in seconds for caching responses with that code, and it also contains boolean properties to verify if \u003ccode\u003eCode\u003c/code\u003e or \u003ccode\u003eTtl\u003c/code\u003e fields have been set.\u003c/p\u003e\n"],["\u003cp\u003eThe document also provides links to older versions, starting from 1.0.0 up to the latest version which is 3.6.0, of the same class, along with all versions in between.\u003c/p\u003e\n"],["\u003cp\u003eThere are inherited members listed for this class, and the document also specifies what namespace and assembly the class belongs to.\u003c/p\u003e\n"]]],[],null,[]]