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.
2986 2987 2988 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2986 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
2929 2930 2931 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2929 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
2934 2935 2936 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2934 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
2940 2941 2942 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2940 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
2945 2946 2947 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2945 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
2953 2954 2955 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2953 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
2958 2959 2960 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2958 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
2963 2964 2965 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2963 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
2969 2970 2971 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2969 def name @name end |
#premium_tier_egress_workload ⇒ Google::Apis::CloudbillingV1beta::PremiumTierEgressWorkload
Specify Premium Tier Internet egress networking.
Corresponds to the JSON property premiumTierEgressWorkload
2974 2975 2976 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2974 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
2979 2980 2981 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2979 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
2984 2985 2986 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2984 def vm_to_vm_egress_workload @vm_to_vm_egress_workload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2991 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 |