Class: Google::Apis::ComputeBeta::BackendServiceCdnPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::BackendServiceCdnPolicy
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Overview
Message containing Cloud CDN configuration for a backend service.
Instance Attribute Summary collapse
-
#cache_key_policy ⇒ Google::Apis::ComputeBeta::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
1837 1838 1839 |
# File 'generated/google/apis/compute_beta/classes.rb', line 1837 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cache_key_policy ⇒ Google::Apis::ComputeBeta::CacheKeyPolicy
Message containing what to include in the cache key for a request for Cloud
CDN.
Corresponds to the JSON property cacheKeyPolicy
1835 1836 1837 |
# File 'generated/google/apis/compute_beta/classes.rb', line 1835 def cache_key_policy @cache_key_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1842 1843 1844 |
# File 'generated/google/apis/compute_beta/classes.rb', line 1842 def update!(**args) @cache_key_policy = args[:cache_key_policy] if args.key?(:cache_key_policy) end |