Class: Google::Apis::CloudbillingV1beta::CloudCdnWorkload
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::CloudCdnWorkload
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbilling_v1beta/classes.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb
Overview
Specifies usage for Cloud CDN resources.
Instance Attribute Summary collapse
-
#cache_fill_origin_service ⇒ String
The source service for the cache fill.
-
#cache_fill_rate ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
-
#cache_fill_regions ⇒ Google::Apis::CloudbillingV1beta::CacheFillRegions
Specifies the regions for Cache Fill.
-
#cache_look_up_rate ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudCdnWorkload
constructor
A new instance of CloudCdnWorkload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudCdnWorkload
Returns a new instance of CloudCdnWorkload.
99 100 101 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 99 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cache_fill_origin_service ⇒ String
The source service for the cache fill.
Corresponds to the JSON property cacheFillOriginService
82 83 84 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 82 def cache_fill_origin_service @cache_fill_origin_service end |
#cache_fill_rate ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Corresponds to the JSON property cacheFillRate
87 88 89 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 87 def cache_fill_rate @cache_fill_rate end |
#cache_fill_regions ⇒ Google::Apis::CloudbillingV1beta::CacheFillRegions
Specifies the regions for Cache Fill.
Corresponds to the JSON property cacheFillRegions
92 93 94 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 92 def cache_fill_regions @cache_fill_regions end |
#cache_look_up_rate ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Corresponds to the JSON property cacheLookUpRate
97 98 99 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 97 def cache_look_up_rate @cache_look_up_rate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
104 105 106 107 108 109 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 104 def update!(**args) @cache_fill_origin_service = args[:cache_fill_origin_service] if args.key?(:cache_fill_origin_service) @cache_fill_rate = args[:cache_fill_rate] if args.key?(:cache_fill_rate) @cache_fill_regions = args[:cache_fill_regions] if args.key?(:cache_fill_regions) @cache_look_up_rate = args[:cache_look_up_rate] if args.key?(:cache_look_up_rate) end |