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 Data Transfer.
-
#cloud_cdn_workload ⇒ Google::Apis::CloudbillingV1beta::CloudCdnWorkload
Specifies usage for Cloud CDN resources.
-
#cloud_interconnect_egress_workload ⇒ Google::Apis::CloudbillingV1beta::CloudInterconnectEgressWorkload
Includes the estimate for Interconnect Data Transfer only.
-
#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 a Premium Tier Internet Data Transfer networking workload.
-
#standard_tier_egress_workload ⇒ Google::Apis::CloudbillingV1beta::StandardTierEgressWorkload
Specify Standard Tier Internet Data Transfer.
-
#vm_to_vm_egress_workload ⇒ Google::Apis::CloudbillingV1beta::VmToVmEgressWorkload
Specify VM to VM data transfer.
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.
3042 3043 3044 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3042 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_cdn_egress_workload ⇒ Google::Apis::CloudbillingV1beta::CloudCdnEgressWorkload
Specifies usage for Cloud CDN Data Transfer.
Corresponds to the JSON property cloudCdnEgressWorkload
2983 2984 2985 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2983 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
2988 2989 2990 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2988 def cloud_cdn_workload @cloud_cdn_workload end |
#cloud_interconnect_egress_workload ⇒ Google::Apis::CloudbillingV1beta::CloudInterconnectEgressWorkload
Includes the estimate for Interconnect Data Transfer only. To specify usage
for data transfer between VMs and internet end-points, use the Standard Tier
Internet Data Transfer interface.
Corresponds to the JSON property cloudInterconnectEgressWorkload
2995 2996 2997 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2995 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
3000 3001 3002 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3000 def cloud_interconnect_workload @cloud_interconnect_workload end |
#cloud_storage_egress_workload ⇒ Google::Apis::CloudbillingV1beta::CloudStorageEgressWorkload
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.
Corresponds to the JSON property cloudStorageEgressWorkload
3009 3010 3011 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3009 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
3014 3015 3016 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3014 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
3019 3020 3021 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3019 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
3025 3026 3027 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3025 def name @name end |
#premium_tier_egress_workload ⇒ Google::Apis::CloudbillingV1beta::PremiumTierEgressWorkload
Specify a Premium Tier Internet Data Transfer networking workload.
Corresponds to the JSON property premiumTierEgressWorkload
3030 3031 3032 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3030 def premium_tier_egress_workload @premium_tier_egress_workload end |
#standard_tier_egress_workload ⇒ Google::Apis::CloudbillingV1beta::StandardTierEgressWorkload
Specify Standard Tier Internet Data Transfer.
Corresponds to the JSON property standardTierEgressWorkload
3035 3036 3037 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3035 def standard_tier_egress_workload @standard_tier_egress_workload end |
#vm_to_vm_egress_workload ⇒ Google::Apis::CloudbillingV1beta::VmToVmEgressWorkload
Specify VM to VM data transfer.
Corresponds to the JSON property vmToVmEgressWorkload
3040 3041 3042 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3040 def vm_to_vm_egress_workload @vm_to_vm_egress_workload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3047 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) @vm_to_vm_egress_workload = args[:vm_to_vm_egress_workload] if args.key?(:vm_to_vm_egress_workload) end |