Class: Google::Apis::ComputeV1::BackendServiceCdnPolicy

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BackendServiceCdnPolicy

Returns a new instance of BackendServiceCdnPolicy



1394
1395
1396
# File 'generated/google/apis/compute_v1/classes.rb', line 1394

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cache_key_policyGoogle::Apis::ComputeV1::CacheKeyPolicy

Message containing what to include in the cache key for a request for Cloud CDN. Corresponds to the JSON property cacheKeyPolicy



1392
1393
1394
# File 'generated/google/apis/compute_v1/classes.rb', line 1392

def cache_key_policy
  @cache_key_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1399
1400
1401
# File 'generated/google/apis/compute_v1/classes.rb', line 1399

def update!(**args)
  @cache_key_policy = args[:cache_key_policy] if args.key?(:cache_key_policy)
end