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

The interconnect egress only includes the Interconnect Egress. Please use the standard egress traffic interface to specify your standard egress usage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudInterconnectEgressWorkload

Returns a new instance of CloudInterconnectEgressWorkload.



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

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



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

def egress_rate
  @egress_rate
end

#interconnect_connection_locationString

Locations in the Interconnect connection location table. This is the interconnect egress charges. Corresponds to the JSON property interconnectConnectionLocation

Returns:

  • (String)


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

def interconnect_connection_location
  @interconnect_connection_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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