Class: Google::Apis::CloudbillingV1beta::CloudCdnEgressWorkload
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::CloudCdnEgressWorkload
- 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 Data Transfer.
Instance Attribute Summary collapse
-
#cache_egress_destination ⇒ String
The destination for the cache data transfer.
-
#cache_egress_rate ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudCdnEgressWorkload
constructor
A new instance of CloudCdnEgressWorkload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudCdnEgressWorkload
Returns a new instance of CloudCdnEgressWorkload.
64 65 66 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 64 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cache_egress_destination ⇒ String
The destination for the cache data transfer.
Corresponds to the JSON property cacheEgressDestination
57 58 59 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 57 def cache_egress_destination @cache_egress_destination end |
#cache_egress_rate ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Corresponds to the JSON property cacheEgressRate
62 63 64 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 62 def cache_egress_rate @cache_egress_rate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
69 70 71 72 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 69 def update!(**args) @cache_egress_destination = args[:cache_egress_destination] if args.key?(:cache_egress_destination) @cache_egress_rate = args[:cache_egress_rate] if args.key?(:cache_egress_rate) end |