int
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.
This field is a member of oneof_ _code.
ttl
int
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.
This field is a member of oneof_ _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-28 UTC."],[],[],null,["# Class BackendServiceCdnPolicyNegativeCachingPolicy (0.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.5 (latest)](/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.BackendServiceCdnPolicyNegativeCachingPolicy)\n- [0.1.4](/python/docs/reference/google-cloud-compute-v1beta/0.1.4/google.cloud.compute_v1beta.types.BackendServiceCdnPolicyNegativeCachingPolicy) \n\n BackendServiceCdnPolicyNegativeCachingPolicy(\n mapping=None, *, ignore_unknown_fields=False, **kwargs\n )\n\nSpecify CDN TTLs for response error codes.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e"]]