Class: Google::Apis::CloudbillingV1beta::InterRegionEgress
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::InterRegionEgress
- 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
Egress traffic between two regions.
Instance Attribute Summary collapse
-
#destination_region ⇒ String
Which region the egress data goes 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) ⇒ InterRegionEgress
constructor
A new instance of InterRegionEgress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InterRegionEgress
Returns a new instance of InterRegionEgress.
2265 2266 2267 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_region ⇒ String
Which region the egress
data goes to.
Corresponds to the JSON property destinationRegion
2252 2253 2254 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2252 def destination_region @destination_region end |
#egress_rate ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Corresponds to the JSON property egressRate
2257 2258 2259 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2257 def egress_rate @egress_rate end |
#source_region ⇒ String
Which region the egress
data comes from.
Corresponds to the JSON property sourceRegion
2263 2264 2265 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2263 def source_region @source_region end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2270 2271 2272 2273 2274 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2270 def update!(**args) @destination_region = args[:destination_region] if args.key?(:destination_region) @egress_rate = args[:egress_rate] if args.key?(:egress_rate) @source_region = args[:source_region] if args.key?(:source_region) end |