Interface ComputeBackendServiceCdnPolicyCacheKeyPolicy

    • Method Detail

      • getIncludeHost

        @Stability(Stable)
        @Nullable
        default Object getIncludeHost()
        If true requests to different hosts will be cached separately.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#include_host ComputeBackendService#include_host}

      • getIncludeHttpHeaders

        @Stability(Stable)
        @Nullable
        default List<String> getIncludeHttpHeaders()
        Allows HTTP request headers (by name) to be used in the cache key.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#include_http_headers ComputeBackendService#include_http_headers}

      • getIncludeNamedCookies

        @Stability(Stable)
        @Nullable
        default List<String> getIncludeNamedCookies()
        Names of cookies to include in cache keys.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#include_named_cookies ComputeBackendService#include_named_cookies}

      • getIncludeProtocol

        @Stability(Stable)
        @Nullable
        default Object getIncludeProtocol()
        If true, http and https requests will be cached separately.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#include_protocol ComputeBackendService#include_protocol}

      • getIncludeQueryString

        @Stability(Stable)
        @Nullable
        default Object 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#include_query_string ComputeBackendService#include_query_string}

      • getQueryStringBlacklist

        @Stability(Stable)
        @Nullable
        default 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#query_string_blacklist ComputeBackendService#query_string_blacklist}

      • getQueryStringWhitelist

        @Stability(Stable)
        @Nullable
        default 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#query_string_whitelist ComputeBackendService#query_string_whitelist}