public sealed class BackendBucketCdnPolicyNegativeCachingPolicy : IMessage<BackendBucketCdnPolicyNegativeCachingPolicy>, IEquatable<BackendBucketCdnPolicyNegativeCachingPolicy>, IDeepCloneable<BackendBucketCdnPolicyNegativeCachingPolicy>, IBufferMessage, IMessage
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["This document outlines the `BackendBucketCdnPolicyNegativeCachingPolicy` class within the `Google.Cloud.Compute.V1` namespace, detailing its purpose in specifying CDN TTLs for HTTP response error codes."],["The class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, equality checks, deep cloning, and buffer management."],["The `BackendBucketCdnPolicyNegativeCachingPolicy` class provides properties such as `Code` and `Ttl` to define specific HTTP status codes and their corresponding Time-To-Live (TTL) values for caching purposes, with restrictions on allowed codes and maximum TTL values."],["The page offers a comprehensive version history, with the latest release being 3.6.0, and a list of previous versions dating back to 1.0.0, demonstrating a clear version control."],["There are two constructors for the `BackendBucketCdnPolicyNegativeCachingPolicy` class, one default and one that takes in another `BackendBucketCdnPolicyNegativeCachingPolicy` object to copy its state."]]],[]]