Class: Google::Cloud::Compute::V1::CacheKeyPolicy
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::CacheKeyPolicy
- 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
-
#include_host ⇒ ::Boolean
If true, requests to different hosts will be cached separately.
-
#include_protocol ⇒ ::Boolean
If true, http and https requests will be cached separately.
-
#include_query_string ⇒ ::Boolean
If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist.
-
#query_string_blacklist ⇒ ::Array<::String>
Names of query string parameters to exclude in cache keys.
-
#query_string_whitelist ⇒ ::Array<::String>
Names of query string parameters to include in cache keys.
Instance Attribute Details
#include_host ⇒ ::Boolean
Returns If true, requests to different hosts will be cached separately.
3254 3255 3256 3257 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3254 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.
3254 3255 3256 3257 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3254 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.
3254 3255 3256 3257 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3254 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.
3254 3255 3256 3257 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3254 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.
3254 3255 3256 3257 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3254 class CacheKeyPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |