Class: Google::Cloud::Compute::V1::CacheKeyPolicy

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

Message containing what to include in the cache key for a request for Cloud CDN.

Instance Attribute Summary collapse

Instance Attribute Details

#include_host::Boolean

Returns If true, requests to different hosts will be cached separately.

Returns:

  • (::Boolean)

    If true, requests to different hosts will be cached separately.



4663
4664
4665
4666
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4663

class CacheKeyPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#include_http_headers::Array<::String>

Returns Allows HTTP request headers (by name) to be used in the cache key.

Returns:

  • (::Array<::String>)

    Allows HTTP request headers (by name) to be used in the cache key.



4663
4664
4665
4666
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4663

class CacheKeyPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#include_named_cookies::Array<::String>

Returns 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:

  • (::Array<::String>)

    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.



4663
4664
4665
4666
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4663

class CacheKeyPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#include_protocol::Boolean

Returns If true, http and https requests will be cached separately.

Returns:

  • (::Boolean)

    If true, http and https requests will be cached separately.



4663
4664
4665
4666
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4663

class CacheKeyPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#include_query_string::Boolean

Returns 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:

  • (::Boolean)

    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.



4663
4664
4665
4666
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4663

class CacheKeyPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#query_string_blacklist::Array<::String>

Returns 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:

  • (::Array<::String>)

    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.



4663
4664
4665
4666
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4663

class CacheKeyPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#query_string_whitelist::Array<::String>

Returns 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:

  • (::Array<::String>)

    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.



4663
4664
4665
4666
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 4663

class CacheKeyPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end