All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.BackendServiceCdnPolicyNegativeCachingPolicy.html Maven / Gradle / Ivy







BackendServiceCdnPolicyNegativeCachingPolicy (Compute Engine API beta-rev20220726-2.0.0)












com.google.api.services.compute.model

Class BackendServiceCdnPolicyNegativeCachingPolicy

    • Constructor Detail

      • BackendServiceCdnPolicyNegativeCachingPolicy

        public BackendServiceCdnPolicyNegativeCachingPolicy()
    • Method Detail

      • getCode

        public Integer getCode()
        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.
        Returns:
        value or null for none
      • setCode

        public BackendServiceCdnPolicyNegativeCachingPolicy setCode(Integer code)
        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.
        Parameters:
        code - code or null for none
      • getTtl

        public Integer getTtl()
        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.
        Returns:
        value or null for none
      • setTtl

        public BackendServiceCdnPolicyNegativeCachingPolicy setTtl(Integer ttl)
        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.
        Parameters:
        ttl - ttl or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy