Class: Google::Apis::CloudbillingV1beta::CloudInterconnectEgressWorkload
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::CloudInterconnectEgressWorkload
- 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
The interconnect egress only includes the Interconnect Egress. Please use the standard egress traffic interface to specify your standard egress usage.
Instance Attribute Summary collapse
-
#egress_rate ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
-
#interconnect_connection_location ⇒ String
Locations in the Interconnect connection location table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudInterconnectEgressWorkload
constructor
A new instance of CloudInterconnectEgressWorkload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudInterconnectEgressWorkload
Returns a new instance of CloudInterconnectEgressWorkload.
129 130 131 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 129 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
120 121 122 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 120 def egress_rate @egress_rate end |
#interconnect_connection_location ⇒ String
Locations in the Interconnect connection location table. This is the interconnect egress
charges.
Corresponds to the JSON property interconnectConnectionLocation
127 128 129 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 127 def interconnect_connection_location @interconnect_connection_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
134 135 136 137 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 134 def update!(**args) @egress_rate = args[:egress_rate] if args.key?(:egress_rate) @interconnect_connection_location = args[:interconnect_connection_location] if args.key?(:interconnect_connection_location) end |