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
Includes the estimate for Interconnect Data Transfer only. To specify usage for data transfer between VMs and internet end-points, use the Standard Tier Internet Data Transfer interface.
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.
130 131 132 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 130 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
121 122 123 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 121 def egress_rate @egress_rate end |
#interconnect_connection_location ⇒ String
Locations in the Interconnect connection location table. These are the Interconnect Data
Transfer charges.
Corresponds to the JSON property interconnectConnectionLocation
128 129 130 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 128 def interconnect_connection_location @interconnect_connection_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
135 136 137 138 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 135 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 |