Class: Google::Apis::CloudbillingV1beta::CloudCdnEgressWorkload

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_destinationString

The destination for the cache data transfer. Corresponds to the JSON property cacheEgressDestination

Returns:

  • (String)


57
58
59
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 57

def cache_egress_destination
  @cache_egress_destination
end

#cache_egress_rateGoogle::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