class Google::Apis::ComputeV1::BackendBucketCdnPolicyBypassCacheOnRequestHeader

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.

Attributes

header_name[RW]

The header field name to match on when bypassing cache. Values are case- insensitive. Corresponds to the JSON property `headerName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 2773
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 2778
def update!(**args)
  @header_name = args[:header_name] if args.key?(:header_name)
end