Class: Google::Apis::CloudbillingV1beta::CloudInterconnectEgressWorkload

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

Includes the estimate for Interconnect Data Transfer only. To specify usage for data transfer between VMs and internet end-points, use the Standard Tier Internet Data Transfer interface.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudInterconnectEgressWorkload

Returns a new instance of CloudInterconnectEgressWorkload.



130
131
132
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 130

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



121
122
123
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 121

def egress_rate
  @egress_rate
end

#interconnect_connection_locationString

Locations in the Interconnect connection location table. These are the Interconnect Data Transfer charges. Corresponds to the JSON property interconnectConnectionLocation

Returns:

  • (String)


128
129
130
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 128

def interconnect_connection_location
  @interconnect_connection_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



135
136
137
138
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 135

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