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 egress 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 egress within Google Cloud and the general network usage.
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.
199 200 201 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 199 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_continent ⇒ String
Where the data is sent to.
Corresponds to the JSON property destinationContinent
187 188 189 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 187 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
192 193 194 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 192 def egress_rate @egress_rate end |
#source_continent ⇒ String
Where the data comes from.
Corresponds to the JSON property sourceContinent
197 198 199 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 197 def source_continent @source_continent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
204 205 206 207 208 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 204 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 |