Class: Google::Apis::ComputeV1::BackendServiceCdnPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::BackendServiceCdnPolicy
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb
Overview
Message containing Cloud CDN configuration for a backend service.
Instance Attribute Summary collapse
-
#cache_key_policy ⇒ Google::Apis::ComputeV1::CacheKeyPolicy
Message containing what to include in the cache key for a request for Cloud CDN.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackendServiceCdnPolicy
constructor
A new instance of BackendServiceCdnPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ BackendServiceCdnPolicy
Returns a new instance of BackendServiceCdnPolicy
2379 2380 2381 |
# File 'generated/google/apis/compute_v1/classes.rb', line 2379 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cache_key_policy ⇒ Google::Apis::ComputeV1::CacheKeyPolicy
Message containing what to include in the cache key for a request for Cloud
CDN.
Corresponds to the JSON property cacheKeyPolicy
2377 2378 2379 |
# File 'generated/google/apis/compute_v1/classes.rb', line 2377 def cache_key_policy @cache_key_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2384 2385 2386 |
# File 'generated/google/apis/compute_v1/classes.rb', line 2384 def update!(**args) @cache_key_policy = args[:cache_key_policy] if args.key?(:cache_key_policy) end |