Class: Google::Apis::CloudbillingV1beta::IntraRegionEgress

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IntraRegionEgress

Returns a new instance of IntraRegionEgress.



2251
2252
2253
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2251

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#egress_rateGoogle::Apis::CloudbillingV1beta::Usage

An amount of usage over a time frame. Corresponds to the JSON property egressRate



2249
2250
2251
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2249

def egress_rate
  @egress_rate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2256
2257
2258
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2256

def update!(**args)
  @egress_rate = args[:egress_rate] if args.key?(:egress_rate)
end