Class: Google::Apis::CloudbillingV1beta::PremiumTierEgressWorkload
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::PremiumTierEgressWorkload
- 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
Specify Premium Tier Internet egress networking.
Instance Attribute Summary collapse
-
#destination_continent ⇒ String
Where the data is sent to.
-
#egress_rate ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
-
#source_region ⇒ String
Which region the egress data comes from.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PremiumTierEgressWorkload
constructor
A new instance of PremiumTierEgressWorkload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PremiumTierEgressWorkload
Returns a new instance of PremiumTierEgressWorkload.
2457 2458 2459 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2457 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_continent ⇒ String
Where the data is sent to.
Corresponds to the JSON property destinationContinent
2444 2445 2446 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2444 def destination_continent @destination_continent end |
#egress_rate ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Corresponds to the JSON property egressRate
2449 2450 2451 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2449 def egress_rate @egress_rate end |
#source_region ⇒ String
Which region the egress
data comes from.
Corresponds to the JSON property sourceRegion
2455 2456 2457 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2455 def source_region @source_region end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2462 2463 2464 2465 2466 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2462 def update!(**args) @destination_continent = args[:destination_continent] if args.key?(:destination_continent) @egress_rate = args[:egress_rate] if args.key?(:egress_rate) @source_region = args[:source_region] if args.key?(:source_region) end |