Class: Google::Apis::CloudbillingV1beta::StandardTierEgressWorkload
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::StandardTierEgressWorkload
- 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 Standard Tier Internet egress networking.
Instance Attribute Summary collapse
-
#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) ⇒ StandardTierEgressWorkload
constructor
A new instance of StandardTierEgressWorkload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StandardTierEgressWorkload
Returns a new instance of StandardTierEgressWorkload.
1143 1144 1145 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1143 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
1135 1136 1137 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1135 def egress_rate @egress_rate end |
#source_region ⇒ String
Which region the egress
data comes from.
Corresponds to the JSON property sourceRegion
1141 1142 1143 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1141 def source_region @source_region end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1148 1149 1150 1151 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1148 def update!(**args) @egress_rate = args[:egress_rate] if args.key?(:egress_rate) @source_region = args[:source_region] if args.key?(:source_region) end |