Class: Google::Apis::ComputeV1::BackendBucketCdnPolicyBypassCacheOnRequestHeader
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::BackendBucketCdnPolicyBypassCacheOnRequestHeader
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Overview
Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting.
Instance Attribute Summary collapse
-
#header_name ⇒ String
The header field name to match on when bypassing cache.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackendBucketCdnPolicyBypassCacheOnRequestHeader
constructor
A new instance of BackendBucketCdnPolicyBypassCacheOnRequestHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackendBucketCdnPolicyBypassCacheOnRequestHeader
Returns a new instance of BackendBucketCdnPolicyBypassCacheOnRequestHeader.
3133 3134 3135 |
# File 'lib/google/apis/compute_v1/classes.rb', line 3133 def initialize(**args) update!(**args) end |
Instance Attribute Details
#header_name ⇒ String
The header field name to match on when bypassing cache. Values are case-
insensitive.
Corresponds to the JSON property headerName
3131 3132 3133 |
# File 'lib/google/apis/compute_v1/classes.rb', line 3131 def header_name @header_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3138 3139 3140 |
# File 'lib/google/apis/compute_v1/classes.rb', line 3138 def update!(**args) @header_name = args[:header_name] if args.key?(:header_name) end |