Class: Google::Apis::CloudbillingV1beta::StandardTierEgressWorkload

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

Specify Standard Tier Internet Data Transfer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StandardTierEgressWorkload

Returns a new instance of StandardTierEgressWorkload.



2747
2748
2749
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2747

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



2739
2740
2741
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2739

def egress_rate
  @egress_rate
end

#source_regionString

Which region the data is transferred from. Corresponds to the JSON property sourceRegion

Returns:

  • (String)


2745
2746
2747
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2745

def source_region
  @source_region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2752
2753
2754
2755
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2752

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