Class: Google::Apis::CloudbillingV1beta::PremiumTierEgressWorkload

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 a Premium Tier Internet Data Transfer networking workload.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PremiumTierEgressWorkload

Returns a new instance of PremiumTierEgressWorkload.



2474
2475
2476
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2474

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#destination_continentString

Where the data is sent to. Corresponds to the JSON property destinationContinent

Returns:

  • (String)


2461
2462
2463
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2461

def destination_continent
  @destination_continent
end

#egress_rateGoogle::Apis::CloudbillingV1beta::Usage

An amount of usage over a time frame. Corresponds to the JSON property egressRate



2466
2467
2468
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2466

def egress_rate
  @egress_rate
end

#source_regionString

Which region the data comes from. Corresponds to the JSON property sourceRegion

Returns:

  • (String)


2472
2473
2474
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2472

def source_region
  @source_region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2479
2480
2481
2482
2483
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2479

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