google-apis-cloudbilling_v1beta 0.23.0 → 0.25.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/cloudbilling_v1beta/classes.rb +894 -0
- data/lib/google/apis/cloudbilling_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/cloudbilling_v1beta/representations.rb +376 -0
- data/lib/google/apis/cloudbilling_v1beta/service.rb +31 -0
- metadata +3 -3
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module CloudbillingV1beta
|
|
18
18
|
# Version of the google-apis-cloudbilling_v1beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.25.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260320"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -22,12 +22,72 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module CloudbillingV1beta
|
|
24
24
|
|
|
25
|
+
class AgenticQueryInfo
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class Array
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class BillingData
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
class BillingDataResource
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class ColumnInfo
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
class DataSet
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
class Datetime
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
25
67
|
class Decimal
|
|
26
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
69
|
|
|
28
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
29
71
|
end
|
|
30
72
|
|
|
73
|
+
class FinalResult
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class GenerateInsightsRequest
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class GenerateInsightsResponse
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
31
91
|
class GoogleCloudBillingBillingaccountpricesV1betaAggregationInfo
|
|
32
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
93
|
|
|
@@ -346,12 +406,150 @@ module Google
|
|
|
346
406
|
include Google::Apis::Core::JsonObjectSupport
|
|
347
407
|
end
|
|
348
408
|
|
|
409
|
+
class Insight
|
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
411
|
+
|
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
class InteropLink
|
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
417
|
+
|
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
class Map
|
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
|
+
|
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
class MapEntry
|
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
429
|
+
|
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
431
|
+
end
|
|
432
|
+
|
|
349
433
|
class Money
|
|
350
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
351
435
|
|
|
352
436
|
include Google::Apis::Core::JsonObjectSupport
|
|
353
437
|
end
|
|
354
438
|
|
|
439
|
+
class Range
|
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
441
|
+
|
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
class Rejection
|
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
|
+
|
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
class Row
|
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
|
+
|
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
455
|
+
end
|
|
456
|
+
|
|
457
|
+
class Struct
|
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
459
|
+
|
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
461
|
+
end
|
|
462
|
+
|
|
463
|
+
class SuggestedChart
|
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
465
|
+
|
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
class SuggestedQuery
|
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
471
|
+
|
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
class UserContext
|
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
477
|
+
|
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
class ValueProto
|
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
483
|
+
|
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
485
|
+
end
|
|
486
|
+
|
|
487
|
+
class AgenticQueryInfo
|
|
488
|
+
# @private
|
|
489
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
490
|
+
property :columns, as: 'columns'
|
|
491
|
+
property :filter, as: 'filter'
|
|
492
|
+
property :group_by, as: 'groupBy'
|
|
493
|
+
property :limit, as: 'limit'
|
|
494
|
+
property :order_by, as: 'orderBy'
|
|
495
|
+
collection :parents, as: 'parents'
|
|
496
|
+
property :view, as: 'view'
|
|
497
|
+
end
|
|
498
|
+
end
|
|
499
|
+
|
|
500
|
+
class Array
|
|
501
|
+
# @private
|
|
502
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
503
|
+
collection :element, as: 'element', class: Google::Apis::CloudbillingV1beta::ValueProto, decorator: Google::Apis::CloudbillingV1beta::ValueProto::Representation
|
|
504
|
+
|
|
505
|
+
end
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
class BillingData
|
|
509
|
+
# @private
|
|
510
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
511
|
+
collection :column_info, as: 'columnInfo', class: Google::Apis::CloudbillingV1beta::ColumnInfo, decorator: Google::Apis::CloudbillingV1beta::ColumnInfo::Representation
|
|
512
|
+
|
|
513
|
+
collection :rows, as: 'rows', class: Google::Apis::CloudbillingV1beta::Row, decorator: Google::Apis::CloudbillingV1beta::Row::Representation
|
|
514
|
+
|
|
515
|
+
end
|
|
516
|
+
end
|
|
517
|
+
|
|
518
|
+
class BillingDataResource
|
|
519
|
+
# @private
|
|
520
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
521
|
+
property :billing_account, as: 'billingAccount'
|
|
522
|
+
property :resource, as: 'resource'
|
|
523
|
+
end
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
class ColumnInfo
|
|
527
|
+
# @private
|
|
528
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
529
|
+
property :column, as: 'column'
|
|
530
|
+
end
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
class DataSet
|
|
534
|
+
# @private
|
|
535
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
536
|
+
property :billing_data, as: 'billingData', class: Google::Apis::CloudbillingV1beta::BillingData, decorator: Google::Apis::CloudbillingV1beta::BillingData::Representation
|
|
537
|
+
|
|
538
|
+
property :query_info, as: 'queryInfo', class: Google::Apis::CloudbillingV1beta::AgenticQueryInfo, decorator: Google::Apis::CloudbillingV1beta::AgenticQueryInfo::Representation
|
|
539
|
+
|
|
540
|
+
property :suggested_chart, as: 'suggestedChart', class: Google::Apis::CloudbillingV1beta::SuggestedChart, decorator: Google::Apis::CloudbillingV1beta::SuggestedChart::Representation
|
|
541
|
+
|
|
542
|
+
end
|
|
543
|
+
end
|
|
544
|
+
|
|
545
|
+
class Datetime
|
|
546
|
+
# @private
|
|
547
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
548
|
+
property :bit_field_datetime_seconds, :numeric_string => true, as: 'bitFieldDatetimeSeconds'
|
|
549
|
+
property :nanos, as: 'nanos'
|
|
550
|
+
end
|
|
551
|
+
end
|
|
552
|
+
|
|
355
553
|
class Decimal
|
|
356
554
|
# @private
|
|
357
555
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -359,6 +557,47 @@ module Google
|
|
|
359
557
|
end
|
|
360
558
|
end
|
|
361
559
|
|
|
560
|
+
class FinalResult
|
|
561
|
+
# @private
|
|
562
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
563
|
+
collection :data_sets, as: 'dataSets', class: Google::Apis::CloudbillingV1beta::DataSet, decorator: Google::Apis::CloudbillingV1beta::DataSet::Representation
|
|
564
|
+
|
|
565
|
+
property :full_analysis, as: 'fullAnalysis'
|
|
566
|
+
collection :insights, as: 'insights', class: Google::Apis::CloudbillingV1beta::Insight, decorator: Google::Apis::CloudbillingV1beta::Insight::Representation
|
|
567
|
+
|
|
568
|
+
collection :interop_links, as: 'interopLinks', class: Google::Apis::CloudbillingV1beta::InteropLink, decorator: Google::Apis::CloudbillingV1beta::InteropLink::Representation
|
|
569
|
+
|
|
570
|
+
collection :suggested_queries, as: 'suggestedQueries', class: Google::Apis::CloudbillingV1beta::SuggestedQuery, decorator: Google::Apis::CloudbillingV1beta::SuggestedQuery::Representation
|
|
571
|
+
|
|
572
|
+
property :summary, as: 'summary'
|
|
573
|
+
end
|
|
574
|
+
end
|
|
575
|
+
|
|
576
|
+
class GenerateInsightsRequest
|
|
577
|
+
# @private
|
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
579
|
+
property :filter, as: 'filter'
|
|
580
|
+
property :overridden_max_iteration_counts, as: 'overriddenMaxIterationCounts'
|
|
581
|
+
collection :parents, as: 'parents', class: Google::Apis::CloudbillingV1beta::BillingDataResource, decorator: Google::Apis::CloudbillingV1beta::BillingDataResource::Representation
|
|
582
|
+
|
|
583
|
+
property :prompt, as: 'prompt'
|
|
584
|
+
property :user_context, as: 'userContext', class: Google::Apis::CloudbillingV1beta::UserContext, decorator: Google::Apis::CloudbillingV1beta::UserContext::Representation
|
|
585
|
+
|
|
586
|
+
end
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
class GenerateInsightsResponse
|
|
590
|
+
# @private
|
|
591
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
592
|
+
property :final_result, as: 'finalResult', class: Google::Apis::CloudbillingV1beta::FinalResult, decorator: Google::Apis::CloudbillingV1beta::FinalResult::Representation
|
|
593
|
+
|
|
594
|
+
property :rejection, as: 'rejection', class: Google::Apis::CloudbillingV1beta::Rejection, decorator: Google::Apis::CloudbillingV1beta::Rejection::Representation
|
|
595
|
+
|
|
596
|
+
property :summary_chunk, as: 'summaryChunk'
|
|
597
|
+
property :thought_chunk, as: 'thoughtChunk'
|
|
598
|
+
end
|
|
599
|
+
end
|
|
600
|
+
|
|
362
601
|
class GoogleCloudBillingBillingaccountpricesV1betaAggregationInfo
|
|
363
602
|
# @private
|
|
364
603
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -850,6 +1089,42 @@ module Google
|
|
|
850
1089
|
end
|
|
851
1090
|
end
|
|
852
1091
|
|
|
1092
|
+
class Insight
|
|
1093
|
+
# @private
|
|
1094
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1095
|
+
property :description, as: 'description'
|
|
1096
|
+
property :severity, as: 'severity'
|
|
1097
|
+
property :title, as: 'title'
|
|
1098
|
+
end
|
|
1099
|
+
end
|
|
1100
|
+
|
|
1101
|
+
class InteropLink
|
|
1102
|
+
# @private
|
|
1103
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1104
|
+
property :label, as: 'label'
|
|
1105
|
+
property :link_type, as: 'linkType'
|
|
1106
|
+
property :url, as: 'url'
|
|
1107
|
+
end
|
|
1108
|
+
end
|
|
1109
|
+
|
|
1110
|
+
class Map
|
|
1111
|
+
# @private
|
|
1112
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1113
|
+
collection :entry, as: 'entry', class: Google::Apis::CloudbillingV1beta::MapEntry, decorator: Google::Apis::CloudbillingV1beta::MapEntry::Representation
|
|
1114
|
+
|
|
1115
|
+
end
|
|
1116
|
+
end
|
|
1117
|
+
|
|
1118
|
+
class MapEntry
|
|
1119
|
+
# @private
|
|
1120
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1121
|
+
property :key, as: 'key', class: Google::Apis::CloudbillingV1beta::ValueProto, decorator: Google::Apis::CloudbillingV1beta::ValueProto::Representation
|
|
1122
|
+
|
|
1123
|
+
property :value, as: 'value', class: Google::Apis::CloudbillingV1beta::ValueProto, decorator: Google::Apis::CloudbillingV1beta::ValueProto::Representation
|
|
1124
|
+
|
|
1125
|
+
end
|
|
1126
|
+
end
|
|
1127
|
+
|
|
853
1128
|
class Money
|
|
854
1129
|
# @private
|
|
855
1130
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -858,6 +1133,107 @@ module Google
|
|
|
858
1133
|
property :units, :numeric_string => true, as: 'units'
|
|
859
1134
|
end
|
|
860
1135
|
end
|
|
1136
|
+
|
|
1137
|
+
class Range
|
|
1138
|
+
# @private
|
|
1139
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1140
|
+
property :end, as: 'end', class: Google::Apis::CloudbillingV1beta::ValueProto, decorator: Google::Apis::CloudbillingV1beta::ValueProto::Representation
|
|
1141
|
+
|
|
1142
|
+
property :start, as: 'start', class: Google::Apis::CloudbillingV1beta::ValueProto, decorator: Google::Apis::CloudbillingV1beta::ValueProto::Representation
|
|
1143
|
+
|
|
1144
|
+
end
|
|
1145
|
+
end
|
|
1146
|
+
|
|
1147
|
+
class Rejection
|
|
1148
|
+
# @private
|
|
1149
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1150
|
+
property :display_message, as: 'displayMessage'
|
|
1151
|
+
property :reason, as: 'reason'
|
|
1152
|
+
end
|
|
1153
|
+
end
|
|
1154
|
+
|
|
1155
|
+
class Row
|
|
1156
|
+
# @private
|
|
1157
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1158
|
+
collection :values, as: 'values', class: Google::Apis::CloudbillingV1beta::ValueProto, decorator: Google::Apis::CloudbillingV1beta::ValueProto::Representation
|
|
1159
|
+
|
|
1160
|
+
end
|
|
1161
|
+
end
|
|
1162
|
+
|
|
1163
|
+
class Struct
|
|
1164
|
+
# @private
|
|
1165
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1166
|
+
collection :field, as: 'field', class: Google::Apis::CloudbillingV1beta::ValueProto, decorator: Google::Apis::CloudbillingV1beta::ValueProto::Representation
|
|
1167
|
+
|
|
1168
|
+
end
|
|
1169
|
+
end
|
|
1170
|
+
|
|
1171
|
+
class SuggestedChart
|
|
1172
|
+
# @private
|
|
1173
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1174
|
+
property :chart_title, as: 'chartTitle'
|
|
1175
|
+
property :chart_type, as: 'chartType'
|
|
1176
|
+
property :series_field, as: 'seriesField'
|
|
1177
|
+
property :x_axis_field, as: 'xAxisField'
|
|
1178
|
+
property :x_axis_label, as: 'xAxisLabel'
|
|
1179
|
+
property :y_axis_field, as: 'yAxisField'
|
|
1180
|
+
property :y_axis_label, as: 'yAxisLabel'
|
|
1181
|
+
end
|
|
1182
|
+
end
|
|
1183
|
+
|
|
1184
|
+
class SuggestedQuery
|
|
1185
|
+
# @private
|
|
1186
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1187
|
+
property :query, as: 'query'
|
|
1188
|
+
end
|
|
1189
|
+
end
|
|
1190
|
+
|
|
1191
|
+
class UserContext
|
|
1192
|
+
# @private
|
|
1193
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1194
|
+
property :persona, as: 'persona'
|
|
1195
|
+
property :role, as: 'role'
|
|
1196
|
+
end
|
|
1197
|
+
end
|
|
1198
|
+
|
|
1199
|
+
class ValueProto
|
|
1200
|
+
# @private
|
|
1201
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1202
|
+
property :value_proto_switch_must_have_a_default, as: 'ValueProtoSwitchMustHaveADefault'
|
|
1203
|
+
property :array_value, as: 'arrayValue', class: Google::Apis::CloudbillingV1beta::Array, decorator: Google::Apis::CloudbillingV1beta::Array::Representation
|
|
1204
|
+
|
|
1205
|
+
property :bignumeric_value, :base64 => true, as: 'bignumericValue'
|
|
1206
|
+
property :bool_value, as: 'boolValue'
|
|
1207
|
+
property :bytes_value, :base64 => true, as: 'bytesValue'
|
|
1208
|
+
property :date_value, as: 'dateValue'
|
|
1209
|
+
property :datetime_value, as: 'datetimeValue', class: Google::Apis::CloudbillingV1beta::Datetime, decorator: Google::Apis::CloudbillingV1beta::Datetime::Representation
|
|
1210
|
+
|
|
1211
|
+
property :double_value, as: 'doubleValue'
|
|
1212
|
+
property :enum_value, as: 'enumValue'
|
|
1213
|
+
property :float_value, as: 'floatValue'
|
|
1214
|
+
property :geography_value, :base64 => true, as: 'geographyValue'
|
|
1215
|
+
property :int32_value, as: 'int32Value'
|
|
1216
|
+
property :int64_value, :numeric_string => true, as: 'int64Value'
|
|
1217
|
+
property :interval_value, :base64 => true, as: 'intervalValue'
|
|
1218
|
+
property :json_value, as: 'jsonValue'
|
|
1219
|
+
property :map_value, as: 'mapValue', class: Google::Apis::CloudbillingV1beta::Map, decorator: Google::Apis::CloudbillingV1beta::Map::Representation
|
|
1220
|
+
|
|
1221
|
+
property :numeric_value, :base64 => true, as: 'numericValue'
|
|
1222
|
+
property :proto_value, :base64 => true, as: 'protoValue'
|
|
1223
|
+
property :range_value, as: 'rangeValue', class: Google::Apis::CloudbillingV1beta::Range, decorator: Google::Apis::CloudbillingV1beta::Range::Representation
|
|
1224
|
+
|
|
1225
|
+
property :string_value, as: 'stringValue'
|
|
1226
|
+
property :struct_value, as: 'structValue', class: Google::Apis::CloudbillingV1beta::Struct, decorator: Google::Apis::CloudbillingV1beta::Struct::Representation
|
|
1227
|
+
|
|
1228
|
+
property :time_value, :numeric_string => true, as: 'timeValue'
|
|
1229
|
+
property :timestamp_pico_value, :base64 => true, as: 'timestampPicoValue'
|
|
1230
|
+
property :timestamp_value, as: 'timestampValue'
|
|
1231
|
+
property :tokenlist_value, :base64 => true, as: 'tokenlistValue'
|
|
1232
|
+
property :uint32_value, as: 'uint32Value'
|
|
1233
|
+
property :uint64_value, :numeric_string => true, as: 'uint64Value'
|
|
1234
|
+
property :uuid_value, :base64 => true, as: 'uuidValue'
|
|
1235
|
+
end
|
|
1236
|
+
end
|
|
861
1237
|
end
|
|
862
1238
|
end
|
|
863
1239
|
end
|
|
@@ -632,6 +632,37 @@ module Google
|
|
|
632
632
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
633
633
|
execute_or_queue_command(command, &block)
|
|
634
634
|
end
|
|
635
|
+
|
|
636
|
+
# Analyzes cost data for a billing account and/or specific projects. Returns a
|
|
637
|
+
# natural language summary and supporting datasets.
|
|
638
|
+
# @param [Google::Apis::CloudbillingV1beta::GenerateInsightsRequest] generate_insights_request_object
|
|
639
|
+
# @param [String] fields
|
|
640
|
+
# Selector specifying which fields to include in a partial response.
|
|
641
|
+
# @param [String] quota_user
|
|
642
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
643
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
644
|
+
# @param [Google::Apis::RequestOptions] options
|
|
645
|
+
# Request-specific options
|
|
646
|
+
#
|
|
647
|
+
# @yield [result, err] Result & error if block supplied
|
|
648
|
+
# @yieldparam result [Google::Apis::CloudbillingV1beta::GenerateInsightsResponse] parsed result object
|
|
649
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
650
|
+
#
|
|
651
|
+
# @return [Google::Apis::CloudbillingV1beta::GenerateInsightsResponse]
|
|
652
|
+
#
|
|
653
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
654
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
655
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
656
|
+
def generate_insights(generate_insights_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
657
|
+
command = make_simple_command(:post, 'v1beta:generateInsights', options)
|
|
658
|
+
command.request_representation = Google::Apis::CloudbillingV1beta::GenerateInsightsRequest::Representation
|
|
659
|
+
command.request_object = generate_insights_request_object
|
|
660
|
+
command.response_representation = Google::Apis::CloudbillingV1beta::GenerateInsightsResponse::Representation
|
|
661
|
+
command.response_class = Google::Apis::CloudbillingV1beta::GenerateInsightsResponse
|
|
662
|
+
command.query['fields'] = fields unless fields.nil?
|
|
663
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
664
|
+
execute_or_queue_command(command, &block)
|
|
665
|
+
end
|
|
635
666
|
|
|
636
667
|
protected
|
|
637
668
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-cloudbilling_v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.25.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbilling_v1beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbilling_v1beta/v0.25.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbilling_v1beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|