code = $code; } /** * @return int */ public function getCode() { return $this->code; } /** * 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. * * @param int $ttl */ public function setTtl($ttl) { $this->ttl = $ttl; } /** * @return int */ public function getTtl() { return $this->ttl; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(BackendBucketCdnPolicyNegativeCachingPolicy::class, 'Google_Service_Compute_BackendBucketCdnPolicyNegativeCachingPolicy');