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 webpage provides documentation for the `BackendBucketCdnPolicyNegativeCachingPolicy` class within the `Google.Cloud.Compute.V1` namespace, specifically for the .NET environment, with version 3.6.0 being the latest."],["The `BackendBucketCdnPolicyNegativeCachingPolicy` class is designed to manage CDN TTLs for specific HTTP response error codes, inheriting properties from Object and implementing several interfaces, including IMessage, IEquatable, and IDeepCloneable."],["The class includes properties such as `Code` to specify HTTP status codes (e.g., 404, 501) and `Ttl` to define the caching duration (in seconds) for those codes, with a maximum TTL of 1800 seconds, and `HasCode`, `HasTtl` to check if the code and ttl values are set respectively."],["There is a comprehensive list of available versions of the class, ranging from version 1.0.0 to the latest 3.6.0, which can be accessed by links to the respective version documentation."],["Constructors for the class include a default constructor, `BackendBucketCdnPolicyNegativeCachingPolicy()`, and a copy constructor, `BackendBucketCdnPolicyNegativeCachingPolicy(BackendBucketCdnPolicyNegativeCachingPolicy other)`, allowing for the creation of new instances based on existing objects."]]],[]]