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.



2288
2289
2290
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2288

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



2286
2287
2288
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2286

def egress_rate
  @egress_rate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2293
2294
2295
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2293

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