public sealed class BackendBucketCdnPolicyNegativeCachingPolicy : IMessage<BackendBucketCdnPolicyNegativeCachingPolicy>, IEquatable<BackendBucketCdnPolicyNegativeCachingPolicy>, IDeepCloneable<BackendBucketCdnPolicyNegativeCachingPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class BackendBucketCdnPolicyNegativeCachingPolicy.
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 information for the \u003ccode\u003eBackendBucketCdnPolicyNegativeCachingPolicy\u003c/code\u003e class within the Google.Cloud.Compute.V1 API, specifically version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class, \u003ccode\u003eBackendBucketCdnPolicyNegativeCachingPolicy\u003c/code\u003e, is used to specify CDN TTLs for HTTP response error codes and inherits from \u003ccode\u003eObject\u003c/code\u003e while implementing several interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists multiple versions of the API, from 1.0.0 to 3.6.0, with links to each version's specific documentation, although 3.6.0 is indicated as the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties \u003ccode\u003eCode\u003c/code\u003e and \u003ccode\u003eTtl\u003c/code\u003e, where \u003ccode\u003eCode\u003c/code\u003e specifies an HTTP status code to define a TTL against, and \u003ccode\u003eTtl\u003c/code\u003e defines the duration in seconds that responses are cached for the corresponding status code, capped at a maximum of 1800s (30 minutes).\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available for the \u003ccode\u003eBackendBucketCdnPolicyNegativeCachingPolicy\u003c/code\u003e class, one empty and one that accepts another \u003ccode\u003eBackendBucketCdnPolicyNegativeCachingPolicy\u003c/code\u003e object to copy.\u003c/p\u003e\n"]]],[],null,[]]