Class: Google::Apis::CloudbillingV1beta::IntraRegionEgress
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::IntraRegionEgress
- 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 within the same region. When source region and destination region are in the same zone, using the internal IP addresses, there isn't any egress charge.
Instance Attribute Summary collapse
-
#egress_rate ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IntraRegionEgress
constructor
A new instance of IntraRegionEgress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IntraRegionEgress
Returns a new instance of IntraRegionEgress.
755 756 757 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 755 def initialize(**args) update!(**args) end |
Instance Attribute Details
#egress_rate ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Corresponds to the JSON property egressRate
753 754 755 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 753 def egress_rate @egress_rate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
760 761 762 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 760 def update!(**args) @egress_rate = args[:egress_rate] if args.key?(:egress_rate) end |