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.
-
#vm_to_vm_egress_workload ⇒ Google::Apis::CloudbillingV1beta::VmToVmEgressWorkload
Specify VM to VM egress.
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.
3023 3024 3025 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3023 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
2966 2967 2968 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2966 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
2971 2972 2973 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2971 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
2977 2978 2979 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2977 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
2982 2983 2984 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2982 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
2990 2991 2992 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2990 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
2995 2996 2997 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2995 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
3000 3001 3002 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3000 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
3006 3007 3008 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3006 def name @name end |
#premium_tier_egress_workload ⇒ Google::Apis::CloudbillingV1beta::PremiumTierEgressWorkload
Specify Premium Tier Internet egress networking.
Corresponds to the JSON property premiumTierEgressWorkload
3011 3012 3013 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3011 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
3016 3017 3018 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3016 def standard_tier_egress_workload @standard_tier_egress_workload end |
#vm_to_vm_egress_workload ⇒ Google::Apis::CloudbillingV1beta::VmToVmEgressWorkload
Specify VM to VM egress.
Corresponds to the JSON property vmToVmEgressWorkload
3021 3022 3023 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3021 def vm_to_vm_egress_workload @vm_to_vm_egress_workload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 3028 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 |