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

Data transfer within the same region. When the source region and destination region are in the same zone, using internal IP addresses, there isn't any charge for data transfer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IntraRegionEgress

Returns a new instance of IntraRegionEgress.



2311
2312
2313
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2311

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



2309
2310
2311
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2309

def egress_rate
  @egress_rate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2316
2317
2318
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2316

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