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.



2305
2306
2307
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2305

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



2303
2304
2305
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2303

def egress_rate
  @egress_rate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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