Class: Google::Apis::CloudbillingV1beta::CloudStorageEgressWorkload

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

Specification of a network type. Network data transfer within Google Cloud applies when you move or copy data from one Cloud Storage bucket to another or when another Google Cloud service accesses data in your Cloud Storage bucket. This includes the network data transfer within Google Cloud and the general network usage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudStorageEgressWorkload

Returns a new instance of CloudStorageEgressWorkload.



201
202
203
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 201

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)


189
190
191
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 189

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



194
195
196
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 194

def egress_rate
  @egress_rate
end

#source_continentString

Where the data comes from. Corresponds to the JSON property sourceContinent

Returns:

  • (String)


199
200
201
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 199

def source_continent
  @source_continent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



206
207
208
209
210
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 206

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