Class: Google::Apis::CloudbillingV1beta::Workload
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::Workload
- 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
Specifies usage on a single Google Cloud product over a time frame. Each Google Cloud product has its own message, containing specific product configuration parameters of the product usage amounts along each dimension in which the product is billed.
Instance Attribute Summary collapse
-
#cloud_cdn_egress_workload ⇒ Google::Apis::CloudbillingV1beta::CloudCdnEgressWorkload
Specifies usage for Cloud CDN egress.
-
#cloud_cdn_workload ⇒ Google::Apis::CloudbillingV1beta::CloudCdnWorkload
Specifies usage for Cloud CDN resources.
-
#cloud_interconnect_egress_workload ⇒ Google::Apis::CloudbillingV1beta::CloudInterconnectEgressWorkload
The interconnect egress only includes the Interconnect Egress.
-
#cloud_interconnect_workload ⇒ Google::Apis::CloudbillingV1beta::CloudInterconnectWorkload
Specifies usage for Cloud Interconnect resources.
-
#cloud_storage_egress_workload ⇒ Google::Apis::CloudbillingV1beta::CloudStorageEgressWorkload
Specification of a network type.
-
#cloud_storage_workload ⇒ Google::Apis::CloudbillingV1beta::CloudStorageWorkload
Specifies usage of Cloud Storage resources.
-
#compute_vm_workload ⇒ Google::Apis::CloudbillingV1beta::ComputeVmWorkload
Specificies usage of a set of identical compute VM instances.
-
#name ⇒ String
Required.
-
#premium_tier_egress_workload ⇒ Google::Apis::CloudbillingV1beta::PremiumTierEgressWorkload
Specify Premium Tier Internet egress networking.
-
#standard_tier_egress_workload ⇒ Google::Apis::CloudbillingV1beta::StandardTierEgressWorkload
Specify Standard Tier Internet egress networking.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Workload
constructor
A new instance of Workload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Workload
Returns a new instance of Workload.
1404 1405 1406 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1404 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_cdn_egress_workload ⇒ Google::Apis::CloudbillingV1beta::CloudCdnEgressWorkload
Specifies usage for Cloud CDN egress.
Corresponds to the JSON property cloudCdnEgressWorkload
1352 1353 1354 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1352 def cloud_cdn_egress_workload @cloud_cdn_egress_workload end |
#cloud_cdn_workload ⇒ Google::Apis::CloudbillingV1beta::CloudCdnWorkload
Specifies usage for Cloud CDN resources.
Corresponds to the JSON property cloudCdnWorkload
1357 1358 1359 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1357 def cloud_cdn_workload @cloud_cdn_workload end |
#cloud_interconnect_egress_workload ⇒ Google::Apis::CloudbillingV1beta::CloudInterconnectEgressWorkload
The interconnect egress only includes the Interconnect Egress. Please use the
standard egress traffic interface to specify your standard egress usage.
Corresponds to the JSON property cloudInterconnectEgressWorkload
1363 1364 1365 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1363 def cloud_interconnect_egress_workload @cloud_interconnect_egress_workload end |
#cloud_interconnect_workload ⇒ Google::Apis::CloudbillingV1beta::CloudInterconnectWorkload
Specifies usage for Cloud Interconnect resources.
Corresponds to the JSON property cloudInterconnectWorkload
1368 1369 1370 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1368 def cloud_interconnect_workload @cloud_interconnect_workload end |
#cloud_storage_egress_workload ⇒ Google::Apis::CloudbillingV1beta::CloudStorageEgressWorkload
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.
Corresponds to the JSON property cloudStorageEgressWorkload
1376 1377 1378 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1376 def cloud_storage_egress_workload @cloud_storage_egress_workload end |
#cloud_storage_workload ⇒ Google::Apis::CloudbillingV1beta::CloudStorageWorkload
Specifies usage of Cloud Storage resources.
Corresponds to the JSON property cloudStorageWorkload
1381 1382 1383 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1381 def cloud_storage_workload @cloud_storage_workload end |
#compute_vm_workload ⇒ Google::Apis::CloudbillingV1beta::ComputeVmWorkload
Specificies usage of a set of identical compute VM instances.
Corresponds to the JSON property computeVmWorkload
1386 1387 1388 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1386 def compute_vm_workload @compute_vm_workload end |
#name ⇒ String
Required. A name for this workload. All workloads in a CostScenario must
have a unique name. Each name may be at most 128 characters long.
Corresponds to the JSON property name
1392 1393 1394 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1392 def name @name end |
#premium_tier_egress_workload ⇒ Google::Apis::CloudbillingV1beta::PremiumTierEgressWorkload
Specify Premium Tier Internet egress networking.
Corresponds to the JSON property premiumTierEgressWorkload
1397 1398 1399 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1397 def premium_tier_egress_workload @premium_tier_egress_workload end |
#standard_tier_egress_workload ⇒ Google::Apis::CloudbillingV1beta::StandardTierEgressWorkload
Specify Standard Tier Internet egress networking.
Corresponds to the JSON property standardTierEgressWorkload
1402 1403 1404 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1402 def standard_tier_egress_workload @standard_tier_egress_workload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1409 def update!(**args) @cloud_cdn_egress_workload = args[:cloud_cdn_egress_workload] if args.key?(:cloud_cdn_egress_workload) @cloud_cdn_workload = args[:cloud_cdn_workload] if args.key?(:cloud_cdn_workload) @cloud_interconnect_egress_workload = args[:cloud_interconnect_egress_workload] if args.key?(:cloud_interconnect_egress_workload) @cloud_interconnect_workload = args[:cloud_interconnect_workload] if args.key?(:cloud_interconnect_workload) @cloud_storage_egress_workload = args[:cloud_storage_egress_workload] if args.key?(:cloud_storage_egress_workload) @cloud_storage_workload = args[:cloud_storage_workload] if args.key?(:cloud_storage_workload) @compute_vm_workload = args[:compute_vm_workload] if args.key?(:compute_vm_workload) @name = args[:name] if args.key?(:name) @premium_tier_egress_workload = args[:premium_tier_egress_workload] if args.key?(:premium_tier_egress_workload) @standard_tier_egress_workload = args[:standard_tier_egress_workload] if args.key?(:standard_tier_egress_workload) end |