google-apis-cloudbilling_v1beta 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module CloudbillingV1beta
18
+ # Version of the google-apis-cloudbilling_v1beta gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.10.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20220908"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,588 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module CloudbillingV1beta
24
+
25
+ class CloudStorageWorkload
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Commitment
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class CommitmentCostEstimate
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class ComputeVmWorkload
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class CostEstimate
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CostEstimationResult
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class CostScenario
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CreditEstimate
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CustomMachineType
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class DualRegional
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class EstimateCostScenarioForBillingAccountRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class EstimateCostScenarioForBillingAccountResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class EstimateCostScenarioWithListPriceRequest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class EstimateCostScenarioWithListPriceResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class EstimationTimePoint
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GuestAccelerator
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class MachineType
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Money
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class MultiRegional
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class PersistentDisk
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class PredefinedMachineType
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class Price
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Rate
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class RateTier
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class Regional
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class ScenarioConfig
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class SegmentCostEstimate
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Sku
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class SkuCostEstimate
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class Usage
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class UsageRateTimeline
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class UsageRateTimelineEntry
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class VmResourceBasedCud
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Workload
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class WorkloadCostEstimate
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class CloudStorageWorkload
236
+ # @private
237
+ class Representation < Google::Apis::Core::JsonRepresentation
238
+ property :data_retrieval, as: 'dataRetrieval', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
239
+
240
+ property :data_stored, as: 'dataStored', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
241
+
242
+ property :dual_region, as: 'dualRegion', class: Google::Apis::CloudbillingV1beta::DualRegional, decorator: Google::Apis::CloudbillingV1beta::DualRegional::Representation
243
+
244
+ property :multi_region, as: 'multiRegion', class: Google::Apis::CloudbillingV1beta::MultiRegional, decorator: Google::Apis::CloudbillingV1beta::MultiRegional::Representation
245
+
246
+ property :operation_a, as: 'operationA', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
247
+
248
+ property :operation_b, as: 'operationB', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
249
+
250
+ property :region, as: 'region', class: Google::Apis::CloudbillingV1beta::Regional, decorator: Google::Apis::CloudbillingV1beta::Regional::Representation
251
+
252
+ property :storage_class, as: 'storageClass'
253
+ end
254
+ end
255
+
256
+ class Commitment
257
+ # @private
258
+ class Representation < Google::Apis::Core::JsonRepresentation
259
+ property :name, as: 'name'
260
+ property :vm_resource_based_cud, as: 'vmResourceBasedCud', class: Google::Apis::CloudbillingV1beta::VmResourceBasedCud, decorator: Google::Apis::CloudbillingV1beta::VmResourceBasedCud::Representation
261
+
262
+ end
263
+ end
264
+
265
+ class CommitmentCostEstimate
266
+ # @private
267
+ class Representation < Google::Apis::Core::JsonRepresentation
268
+ property :commitment_total_cost_estimate, as: 'commitmentTotalCostEstimate', class: Google::Apis::CloudbillingV1beta::CostEstimate, decorator: Google::Apis::CloudbillingV1beta::CostEstimate::Representation
269
+
270
+ property :name, as: 'name'
271
+ collection :sku_cost_estimates, as: 'skuCostEstimates', class: Google::Apis::CloudbillingV1beta::SkuCostEstimate, decorator: Google::Apis::CloudbillingV1beta::SkuCostEstimate::Representation
272
+
273
+ end
274
+ end
275
+
276
+ class ComputeVmWorkload
277
+ # @private
278
+ class Representation < Google::Apis::Core::JsonRepresentation
279
+ property :enable_confidential_compute, as: 'enableConfidentialCompute'
280
+ property :guest_accelerator, as: 'guestAccelerator', class: Google::Apis::CloudbillingV1beta::GuestAccelerator, decorator: Google::Apis::CloudbillingV1beta::GuestAccelerator::Representation
281
+
282
+ property :instances_running, as: 'instancesRunning', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
283
+
284
+ collection :licenses, as: 'licenses'
285
+ property :machine_type, as: 'machineType', class: Google::Apis::CloudbillingV1beta::MachineType, decorator: Google::Apis::CloudbillingV1beta::MachineType::Representation
286
+
287
+ collection :persistent_disks, as: 'persistentDisks', class: Google::Apis::CloudbillingV1beta::PersistentDisk, decorator: Google::Apis::CloudbillingV1beta::PersistentDisk::Representation
288
+
289
+ property :preemptible, as: 'preemptible'
290
+ property :region, as: 'region'
291
+ end
292
+ end
293
+
294
+ class CostEstimate
295
+ # @private
296
+ class Representation < Google::Apis::Core::JsonRepresentation
297
+ collection :credit_estimates, as: 'creditEstimates', class: Google::Apis::CloudbillingV1beta::CreditEstimate, decorator: Google::Apis::CloudbillingV1beta::CreditEstimate::Representation
298
+
299
+ property :net_cost_estimate, as: 'netCostEstimate', class: Google::Apis::CloudbillingV1beta::Money, decorator: Google::Apis::CloudbillingV1beta::Money::Representation
300
+
301
+ property :pre_credit_cost_estimate, as: 'preCreditCostEstimate', class: Google::Apis::CloudbillingV1beta::Money, decorator: Google::Apis::CloudbillingV1beta::Money::Representation
302
+
303
+ end
304
+ end
305
+
306
+ class CostEstimationResult
307
+ # @private
308
+ class Representation < Google::Apis::Core::JsonRepresentation
309
+ property :currency_code, as: 'currencyCode'
310
+ collection :segment_cost_estimates, as: 'segmentCostEstimates', class: Google::Apis::CloudbillingV1beta::SegmentCostEstimate, decorator: Google::Apis::CloudbillingV1beta::SegmentCostEstimate::Representation
311
+
312
+ collection :skus, as: 'skus', class: Google::Apis::CloudbillingV1beta::Sku, decorator: Google::Apis::CloudbillingV1beta::Sku::Representation
313
+
314
+ end
315
+ end
316
+
317
+ class CostScenario
318
+ # @private
319
+ class Representation < Google::Apis::Core::JsonRepresentation
320
+ collection :commitments, as: 'commitments', class: Google::Apis::CloudbillingV1beta::Commitment, decorator: Google::Apis::CloudbillingV1beta::Commitment::Representation
321
+
322
+ property :scenario_config, as: 'scenarioConfig', class: Google::Apis::CloudbillingV1beta::ScenarioConfig, decorator: Google::Apis::CloudbillingV1beta::ScenarioConfig::Representation
323
+
324
+ collection :workloads, as: 'workloads', class: Google::Apis::CloudbillingV1beta::Workload, decorator: Google::Apis::CloudbillingV1beta::Workload::Representation
325
+
326
+ end
327
+ end
328
+
329
+ class CreditEstimate
330
+ # @private
331
+ class Representation < Google::Apis::Core::JsonRepresentation
332
+ property :credit_amount, as: 'creditAmount', class: Google::Apis::CloudbillingV1beta::Money, decorator: Google::Apis::CloudbillingV1beta::Money::Representation
333
+
334
+ property :credit_description, as: 'creditDescription'
335
+ property :credit_type, as: 'creditType'
336
+ end
337
+ end
338
+
339
+ class CustomMachineType
340
+ # @private
341
+ class Representation < Google::Apis::Core::JsonRepresentation
342
+ property :machine_series, as: 'machineSeries'
343
+ property :memory_size_gb, as: 'memorySizeGb'
344
+ property :virtual_cpu_count, :numeric_string => true, as: 'virtualCpuCount'
345
+ end
346
+ end
347
+
348
+ class DualRegional
349
+ # @private
350
+ class Representation < Google::Apis::Core::JsonRepresentation
351
+ property :name, as: 'name'
352
+ end
353
+ end
354
+
355
+ class EstimateCostScenarioForBillingAccountRequest
356
+ # @private
357
+ class Representation < Google::Apis::Core::JsonRepresentation
358
+ property :cost_scenario, as: 'costScenario', class: Google::Apis::CloudbillingV1beta::CostScenario, decorator: Google::Apis::CloudbillingV1beta::CostScenario::Representation
359
+
360
+ end
361
+ end
362
+
363
+ class EstimateCostScenarioForBillingAccountResponse
364
+ # @private
365
+ class Representation < Google::Apis::Core::JsonRepresentation
366
+ property :cost_estimation_result, as: 'costEstimationResult', class: Google::Apis::CloudbillingV1beta::CostEstimationResult, decorator: Google::Apis::CloudbillingV1beta::CostEstimationResult::Representation
367
+
368
+ end
369
+ end
370
+
371
+ class EstimateCostScenarioWithListPriceRequest
372
+ # @private
373
+ class Representation < Google::Apis::Core::JsonRepresentation
374
+ property :cost_scenario, as: 'costScenario', class: Google::Apis::CloudbillingV1beta::CostScenario, decorator: Google::Apis::CloudbillingV1beta::CostScenario::Representation
375
+
376
+ end
377
+ end
378
+
379
+ class EstimateCostScenarioWithListPriceResponse
380
+ # @private
381
+ class Representation < Google::Apis::Core::JsonRepresentation
382
+ property :cost_estimation_result, as: 'costEstimationResult', class: Google::Apis::CloudbillingV1beta::CostEstimationResult, decorator: Google::Apis::CloudbillingV1beta::CostEstimationResult::Representation
383
+
384
+ end
385
+ end
386
+
387
+ class EstimationTimePoint
388
+ # @private
389
+ class Representation < Google::Apis::Core::JsonRepresentation
390
+ property :estimation_time_frame_offset, as: 'estimationTimeFrameOffset'
391
+ end
392
+ end
393
+
394
+ class GuestAccelerator
395
+ # @private
396
+ class Representation < Google::Apis::Core::JsonRepresentation
397
+ property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
398
+ property :accelerator_type, as: 'acceleratorType'
399
+ end
400
+ end
401
+
402
+ class MachineType
403
+ # @private
404
+ class Representation < Google::Apis::Core::JsonRepresentation
405
+ property :custom_machine_type, as: 'customMachineType', class: Google::Apis::CloudbillingV1beta::CustomMachineType, decorator: Google::Apis::CloudbillingV1beta::CustomMachineType::Representation
406
+
407
+ property :predefined_machine_type, as: 'predefinedMachineType', class: Google::Apis::CloudbillingV1beta::PredefinedMachineType, decorator: Google::Apis::CloudbillingV1beta::PredefinedMachineType::Representation
408
+
409
+ end
410
+ end
411
+
412
+ class Money
413
+ # @private
414
+ class Representation < Google::Apis::Core::JsonRepresentation
415
+ property :currency_code, as: 'currencyCode'
416
+ property :nanos, as: 'nanos'
417
+ property :units, :numeric_string => true, as: 'units'
418
+ end
419
+ end
420
+
421
+ class MultiRegional
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :name, as: 'name'
425
+ end
426
+ end
427
+
428
+ class PersistentDisk
429
+ # @private
430
+ class Representation < Google::Apis::Core::JsonRepresentation
431
+ property :disk_size, as: 'diskSize', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
432
+
433
+ property :disk_type, as: 'diskType'
434
+ property :provisioned_iops, as: 'provisionedIops', class: Google::Apis::CloudbillingV1beta::Usage, decorator: Google::Apis::CloudbillingV1beta::Usage::Representation
435
+
436
+ property :scope, as: 'scope'
437
+ end
438
+ end
439
+
440
+ class PredefinedMachineType
441
+ # @private
442
+ class Representation < Google::Apis::Core::JsonRepresentation
443
+ property :machine_type, as: 'machineType'
444
+ end
445
+ end
446
+
447
+ class Price
448
+ # @private
449
+ class Representation < Google::Apis::Core::JsonRepresentation
450
+ property :effective_time, as: 'effectiveTime', class: Google::Apis::CloudbillingV1beta::EstimationTimePoint, decorator: Google::Apis::CloudbillingV1beta::EstimationTimePoint::Representation
451
+
452
+ property :price_type, as: 'priceType'
453
+ property :rate, as: 'rate', class: Google::Apis::CloudbillingV1beta::Rate, decorator: Google::Apis::CloudbillingV1beta::Rate::Representation
454
+
455
+ end
456
+ end
457
+
458
+ class Rate
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ collection :tiers, as: 'tiers', class: Google::Apis::CloudbillingV1beta::RateTier, decorator: Google::Apis::CloudbillingV1beta::RateTier::Representation
462
+
463
+ property :unit, as: 'unit'
464
+ property :unit_count, as: 'unitCount'
465
+ end
466
+ end
467
+
468
+ class RateTier
469
+ # @private
470
+ class Representation < Google::Apis::Core::JsonRepresentation
471
+ property :price, as: 'price', class: Google::Apis::CloudbillingV1beta::Money, decorator: Google::Apis::CloudbillingV1beta::Money::Representation
472
+
473
+ property :start_amount, as: 'startAmount'
474
+ end
475
+ end
476
+
477
+ class Regional
478
+ # @private
479
+ class Representation < Google::Apis::Core::JsonRepresentation
480
+ property :name, as: 'name'
481
+ end
482
+ end
483
+
484
+ class ScenarioConfig
485
+ # @private
486
+ class Representation < Google::Apis::Core::JsonRepresentation
487
+ property :estimate_duration, as: 'estimateDuration'
488
+ end
489
+ end
490
+
491
+ class SegmentCostEstimate
492
+ # @private
493
+ class Representation < Google::Apis::Core::JsonRepresentation
494
+ collection :commitment_cost_estimates, as: 'commitmentCostEstimates', class: Google::Apis::CloudbillingV1beta::CommitmentCostEstimate, decorator: Google::Apis::CloudbillingV1beta::CommitmentCostEstimate::Representation
495
+
496
+ property :segment_start_time, as: 'segmentStartTime', class: Google::Apis::CloudbillingV1beta::EstimationTimePoint, decorator: Google::Apis::CloudbillingV1beta::EstimationTimePoint::Representation
497
+
498
+ property :segment_total_cost_estimate, as: 'segmentTotalCostEstimate', class: Google::Apis::CloudbillingV1beta::CostEstimate, decorator: Google::Apis::CloudbillingV1beta::CostEstimate::Representation
499
+
500
+ collection :workload_cost_estimates, as: 'workloadCostEstimates', class: Google::Apis::CloudbillingV1beta::WorkloadCostEstimate, decorator: Google::Apis::CloudbillingV1beta::WorkloadCostEstimate::Representation
501
+
502
+ end
503
+ end
504
+
505
+ class Sku
506
+ # @private
507
+ class Representation < Google::Apis::Core::JsonRepresentation
508
+ property :display_name, as: 'displayName'
509
+ collection :prices, as: 'prices', class: Google::Apis::CloudbillingV1beta::Price, decorator: Google::Apis::CloudbillingV1beta::Price::Representation
510
+
511
+ property :sku, as: 'sku'
512
+ end
513
+ end
514
+
515
+ class SkuCostEstimate
516
+ # @private
517
+ class Representation < Google::Apis::Core::JsonRepresentation
518
+ property :cost_estimate, as: 'costEstimate', class: Google::Apis::CloudbillingV1beta::CostEstimate, decorator: Google::Apis::CloudbillingV1beta::CostEstimate::Representation
519
+
520
+ property :sku, as: 'sku'
521
+ property :usage_amount, as: 'usageAmount'
522
+ property :usage_unit, as: 'usageUnit'
523
+ end
524
+ end
525
+
526
+ class Usage
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ property :usage_rate_timeline, as: 'usageRateTimeline', class: Google::Apis::CloudbillingV1beta::UsageRateTimeline, decorator: Google::Apis::CloudbillingV1beta::UsageRateTimeline::Representation
530
+
531
+ end
532
+ end
533
+
534
+ class UsageRateTimeline
535
+ # @private
536
+ class Representation < Google::Apis::Core::JsonRepresentation
537
+ property :unit, as: 'unit'
538
+ collection :usage_rate_timeline_entries, as: 'usageRateTimelineEntries', class: Google::Apis::CloudbillingV1beta::UsageRateTimelineEntry, decorator: Google::Apis::CloudbillingV1beta::UsageRateTimelineEntry::Representation
539
+
540
+ end
541
+ end
542
+
543
+ class UsageRateTimelineEntry
544
+ # @private
545
+ class Representation < Google::Apis::Core::JsonRepresentation
546
+ property :effective_time, as: 'effectiveTime', class: Google::Apis::CloudbillingV1beta::EstimationTimePoint, decorator: Google::Apis::CloudbillingV1beta::EstimationTimePoint::Representation
547
+
548
+ property :usage_rate, as: 'usageRate'
549
+ end
550
+ end
551
+
552
+ class VmResourceBasedCud
553
+ # @private
554
+ class Representation < Google::Apis::Core::JsonRepresentation
555
+ property :guest_accelerator, as: 'guestAccelerator', class: Google::Apis::CloudbillingV1beta::GuestAccelerator, decorator: Google::Apis::CloudbillingV1beta::GuestAccelerator::Representation
556
+
557
+ property :machine_series, as: 'machineSeries'
558
+ property :memory_size_gb, as: 'memorySizeGb'
559
+ property :plan, as: 'plan'
560
+ property :region, as: 'region'
561
+ property :virtual_cpu_count, :numeric_string => true, as: 'virtualCpuCount'
562
+ end
563
+ end
564
+
565
+ class Workload
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :cloud_storage_workload, as: 'cloudStorageWorkload', class: Google::Apis::CloudbillingV1beta::CloudStorageWorkload, decorator: Google::Apis::CloudbillingV1beta::CloudStorageWorkload::Representation
569
+
570
+ property :compute_vm_workload, as: 'computeVmWorkload', class: Google::Apis::CloudbillingV1beta::ComputeVmWorkload, decorator: Google::Apis::CloudbillingV1beta::ComputeVmWorkload::Representation
571
+
572
+ property :name, as: 'name'
573
+ end
574
+ end
575
+
576
+ class WorkloadCostEstimate
577
+ # @private
578
+ class Representation < Google::Apis::Core::JsonRepresentation
579
+ property :name, as: 'name'
580
+ collection :sku_cost_estimates, as: 'skuCostEstimates', class: Google::Apis::CloudbillingV1beta::SkuCostEstimate, decorator: Google::Apis::CloudbillingV1beta::SkuCostEstimate::Representation
581
+
582
+ property :workload_total_cost_estimate, as: 'workloadTotalCostEstimate', class: Google::Apis::CloudbillingV1beta::CostEstimate, decorator: Google::Apis::CloudbillingV1beta::CostEstimate::Representation
583
+
584
+ end
585
+ end
586
+ end
587
+ end
588
+ end