Class: Google::Apis::CloudbillingV1beta::CloudStorageEgressWorkload
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::CloudStorageEgressWorkload
- 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. * If transferring data between two regions, the source and
destination fields are set to different values. For example: source_continent
= "SOURCE_CONTINENT_ASIA_PACIFIC", destination_continent
= "
SOURCE_CONTINENT_SOUTH_AMERICA". * If transferring data within one region, the
source and destination fields are set to the same value. For example:
source_continent
= "SOURCE_CONTINENT_ASIA_PACIFIC", destination_continent
=
"SOURCE_CONTINENT_ASIA_PACIFIC". Some examples for the Network data transfer
traffic type on the pricing page. * Data moves between different locations on
the same continent. source_continent
= "SOURCE_CONTINENT_ASIA_PACIFIC",
destination_continent
= "SOURCE_CONTINENT_ASIA_PACIFIC". * Data moves between
different continents and neither is Australia. source_continent
= "
SOURCE_CONTINENT_NORTH_AMERICA", destination_continent
= "
SOURCE_CONTINENT_ASIA_PACIFIC". * Data moves between different continents and
one is Australia. source_continent
= "SOURCE_CONTINENT_NORTH_AMERICA",
destination_continent
= "SOURCE_CONTINENT_AUSTRALIA".
Instance Attribute Summary collapse
-
#destination_continent ⇒ String
Where the data is sent to.
-
#egress_rate ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
-
#source_continent ⇒ String
Where the data comes from.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudStorageEgressWorkload
constructor
A new instance of CloudStorageEgressWorkload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudStorageEgressWorkload
Returns a new instance of CloudStorageEgressWorkload.
215 216 217 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 215 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_continent ⇒ String
Where the data is sent to.
Corresponds to the JSON property destinationContinent
203 204 205 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 203 def destination_continent @destination_continent end |
#egress_rate ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Corresponds to the JSON property egressRate
208 209 210 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 208 def egress_rate @egress_rate end |
#source_continent ⇒ String
Where the data comes from.
Corresponds to the JSON property sourceContinent
213 214 215 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 213 def source_continent @source_continent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
220 221 222 223 224 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 220 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 |