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

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







CacheKeyPolicy (Compute Engine API beta-rev20220726-2.0.0)












com.google.api.services.compute.model

Class CacheKeyPolicy

    • Constructor Detail

      • CacheKeyPolicy

        public CacheKeyPolicy()
    • Method Detail

      • getIncludeHost

        public Boolean getIncludeHost()
        If true, requests to different hosts will be cached separately.
        Returns:
        value or null for none
      • setIncludeHost

        public CacheKeyPolicy setIncludeHost(Boolean includeHost)
        If true, requests to different hosts will be cached separately.
        Parameters:
        includeHost - includeHost or null for none
      • getIncludeHttpHeaders

        public List<String> getIncludeHttpHeaders()
        Allows HTTP request headers (by name) to be used in the cache key.
        Returns:
        value or null for none
      • setIncludeHttpHeaders

        public CacheKeyPolicy setIncludeHttpHeaders(List<String> includeHttpHeaders)
        Allows HTTP request headers (by name) to be used in the cache key.
        Parameters:
        includeHttpHeaders - includeHttpHeaders or null for none
      • getIncludeNamedCookies

        public List<String> getIncludeNamedCookies()
        Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.
        Returns:
        value or null for none
      • setIncludeNamedCookies

        public CacheKeyPolicy setIncludeNamedCookies(List<String> includeNamedCookies)
        Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.
        Parameters:
        includeNamedCookies - includeNamedCookies or null for none
      • getIncludeProtocol

        public Boolean getIncludeProtocol()
        If true, http and https requests will be cached separately.
        Returns:
        value or null for none
      • setIncludeProtocol

        public CacheKeyPolicy setIncludeProtocol(Boolean includeProtocol)
        If true, http and https requests will be cached separately.
        Parameters:
        includeProtocol - includeProtocol or null for none
      • getIncludeQueryString

        public Boolean getIncludeQueryString()
        If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire query string will be included. If false, the query string will be excluded from the cache key entirely.
        Returns:
        value or null for none
      • setIncludeQueryString

        public CacheKeyPolicy setIncludeQueryString(Boolean includeQueryString)
        If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire query string will be included. If false, the query string will be excluded from the cache key entirely.
        Parameters:
        includeQueryString - includeQueryString or null for none
      • getQueryStringBlacklist

        public List<String> getQueryStringBlacklist()
        Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
        Returns:
        value or null for none
      • setQueryStringBlacklist

        public CacheKeyPolicy setQueryStringBlacklist(List<String> queryStringBlacklist)
        Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
        Parameters:
        queryStringBlacklist - queryStringBlacklist or null for none
      • getQueryStringWhitelist

        public List<String> getQueryStringWhitelist()
        Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
        Returns:
        value or null for none
      • setQueryStringWhitelist

        public CacheKeyPolicy setQueryStringWhitelist(List<String> queryStringWhitelist)
        Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
        Parameters:
        queryStringWhitelist - queryStringWhitelist or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy