gcp-lite-rs 0.1.1

Lightweight HTTP client for Google Cloud Platform APIs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
# Recommender API — Full Reference Manifest
# Auto-generated by reference.py — DO NOT HAND-EDIT
# This file contains EVERY schema and operation from the discovery doc.
# Use it as a reference when extending codegen/manifests/recommender.toml
#
# Schemas: 27 total, 13 in manifest
# Operations: 48 total, 1 in manifest
#
# Legend:
#   [IN MANIFEST] = already in the curated manifest
#   format: byte  = needs format = "bytes" override
#   RESERVED_WORD = needs rust_name + serde_rename override

# ======================================================================
# SCHEMAS (27 total)
# ======================================================================

# --- GoogleCloudRecommenderV1CostProjection (3 fields) [IN MANIFEST] ---
# Contains metadata about how much money a recommendation can save or incur.
# [[types]]
# schema = "GoogleCloudRecommenderV1CostProjection"
# include_fields = ["cost", "costInLocalCurrency", "duration"]
#
#   cost: $ref: GoogleTypeMoney
#   costInLocalCurrency: $ref: GoogleTypeMoney
#   duration: string, format: google-duration

# --- GoogleCloudRecommenderV1Impact (7 fields) [IN MANIFEST] ---
# Contains the impact a recommendation can have for a given category.
# [[types]]
# schema = "GoogleCloudRecommenderV1Impact"
# include_fields = ["category", "costProjection", "impactComponents", "reliabilityProjection", "securityProjection", "service", "sustainabilityProjection"]
#
#   category: string, enum: [CATEGORY_UNSPECIFIED, COST, SECURITY, PERFORMANCE, ... +3]
#   costProjection: $ref: GoogleCloudRecommenderV1CostProjection
#   impactComponents: array<GoogleCloudRecommenderV1Impact>
#   reliabilityProjection: $ref: GoogleCloudRecommenderV1ReliabilityProjection
#   securityProjection: $ref: GoogleCloudRecommenderV1SecurityProjection
#   service: string
#   sustainabilityProjection: $ref: GoogleCloudRecommenderV1SustainabilityProjection
#
# [types.field_overrides]
# # category = { enum_type = "GoogleCloudRecommenderV1ImpactCategory" }

# --- GoogleCloudRecommenderV1Insight (12 fields) ---
# An insight along with the information used to derive the insight. The insight may have associated re
# [[types]]
# schema = "GoogleCloudRecommenderV1Insight"
# include_fields = ["associatedRecommendations", "category", "content", "description", "etag", "insightSubtype", "lastRefreshTime", "name", "observationPeriod", "severity", "stateInfo", "targetResources"]
#
#   associatedRecommendations: array<GoogleCloudRecommenderV1InsightRecommendationReference>
#   category: string, enum: [CATEGORY_UNSPECIFIED, COST, SECURITY, PERFORMANCE, ... +3]
#   content: map<string, any>
#   description: string
#   etag: string
#   insightSubtype: string
#   lastRefreshTime: string, format: google-datetime
#   name: string
#   observationPeriod: string, format: google-duration
#   severity: string, enum: [SEVERITY_UNSPECIFIED, LOW, MEDIUM, HIGH, CRITICAL]
#   stateInfo: $ref: GoogleCloudRecommenderV1InsightStateInfo
#   targetResources: array<string>
#
# [types.field_overrides]
# name = { required = true }
# # category = { enum_type = "GoogleCloudRecommenderV1InsightCategory" }
# # severity = { enum_type = "GoogleCloudRecommenderV1InsightSeverity" }

# --- GoogleCloudRecommenderV1InsightRecommendationReference (1 fields) ---
# Reference to an associated recommendation.
# [[types]]
# schema = "GoogleCloudRecommenderV1InsightRecommendationReference"
# include_fields = ["recommendation"]
#
#   recommendation: string

# --- GoogleCloudRecommenderV1InsightStateInfo (2 fields) ---
# Information related to insight state.
# [[types]]
# schema = "GoogleCloudRecommenderV1InsightStateInfo"
# include_fields = ["state", "stateMetadata"]
#
#   state: string, enum: [STATE_UNSPECIFIED, ACTIVE, ACCEPTED, DISMISSED]
#   stateMetadata: map<string, string>
#
# [types.field_overrides]
# # state = { enum_type = "GoogleCloudRecommenderV1InsightStateInfoState" }

# --- GoogleCloudRecommenderV1InsightTypeConfig (7 fields) ---
# Configuration for an InsightType.
# [[types]]
# schema = "GoogleCloudRecommenderV1InsightTypeConfig"
# include_fields = ["annotations", "displayName", "etag", "insightTypeGenerationConfig", "name", "revisionId", "updateTime"]
#
#   annotations: map<string, string>
#   displayName: string
#   etag: string
#   insightTypeGenerationConfig: $ref: GoogleCloudRecommenderV1InsightTypeGenerationConfig
#   name: string
#   revisionId: string, readOnly
#   updateTime: string, format: google-datetime
#
# [types.field_overrides]
# name = { required = true }

# --- GoogleCloudRecommenderV1InsightTypeGenerationConfig (1 fields) ---
# A configuration to customize the generation of insights. Eg, customizing the lookback period conside
# [[types]]
# schema = "GoogleCloudRecommenderV1InsightTypeGenerationConfig"
# include_fields = ["params"]
#
#   params: map<string, any>

# --- GoogleCloudRecommenderV1ListInsightsResponse (2 fields) ---
# Response to the `ListInsights` method.
# [[types]]
# schema = "GoogleCloudRecommenderV1ListInsightsResponse"
# include_fields = ["insights", "nextPageToken"]
#
#   insights: array<GoogleCloudRecommenderV1Insight>
#   nextPageToken: string

# --- GoogleCloudRecommenderV1ListRecommendationsResponse (2 fields) [IN MANIFEST] ---
# Response to the `ListRecommendations` method.
# [[types]]
# schema = "GoogleCloudRecommenderV1ListRecommendationsResponse"
# include_fields = ["nextPageToken", "recommendations"]
#
#   nextPageToken: string
#   recommendations: array<GoogleCloudRecommenderV1Recommendation>

# --- GoogleCloudRecommenderV1MarkInsightAcceptedRequest (2 fields) ---
# Request for the `MarkInsightAccepted` method.
# [[types]]
# schema = "GoogleCloudRecommenderV1MarkInsightAcceptedRequest"
# include_fields = ["etag", "stateMetadata"]
#
#   etag: string
#   stateMetadata: map<string, string>

# --- GoogleCloudRecommenderV1MarkRecommendationClaimedRequest (2 fields) ---
# Request for the `MarkRecommendationClaimed` Method.
# [[types]]
# schema = "GoogleCloudRecommenderV1MarkRecommendationClaimedRequest"
# include_fields = ["etag", "stateMetadata"]
#
#   etag: string
#   stateMetadata: map<string, string>

# --- GoogleCloudRecommenderV1MarkRecommendationDismissedRequest (1 fields) ---
# Request for the `MarkRecommendationDismissed` Method.
# [[types]]
# schema = "GoogleCloudRecommenderV1MarkRecommendationDismissedRequest"
# include_fields = ["etag"]
#
#   etag: string

# --- GoogleCloudRecommenderV1MarkRecommendationFailedRequest (2 fields) ---
# Request for the `MarkRecommendationFailed` Method.
# [[types]]
# schema = "GoogleCloudRecommenderV1MarkRecommendationFailedRequest"
# include_fields = ["etag", "stateMetadata"]
#
#   etag: string
#   stateMetadata: map<string, string>

# --- GoogleCloudRecommenderV1MarkRecommendationSucceededRequest (2 fields) ---
# Request for the `MarkRecommendationSucceeded` Method.
# [[types]]
# schema = "GoogleCloudRecommenderV1MarkRecommendationSucceededRequest"
# include_fields = ["etag", "stateMetadata"]
#
#   etag: string
#   stateMetadata: map<string, string>

# --- GoogleCloudRecommenderV1Operation (10 fields) [IN MANIFEST] ---
# Contains an operation for a resource loosely based on the JSON-PATCH format with support for: * Cust
# [[types]]
# schema = "GoogleCloudRecommenderV1Operation"
# include_fields = ["action", "path", "pathFilters", "pathValueMatchers", "resource", "resourceType", "sourcePath", "sourceResource", "value", "valueMatcher"]
#
#   action: string
#   path: string
#   pathFilters: map<string, any>
#   pathValueMatchers: map<string, GoogleCloudRecommenderV1ValueMatcher>
#   resource: string
#   resourceType: string
#   sourcePath: string
#   sourceResource: string
#   value: any
#   valueMatcher: $ref: GoogleCloudRecommenderV1ValueMatcher

# --- GoogleCloudRecommenderV1OperationGroup (1 fields) [IN MANIFEST] ---
# Group of operations that need to be performed atomically.
# [[types]]
# schema = "GoogleCloudRecommenderV1OperationGroup"
# include_fields = ["operations"]
#
#   operations: array<GoogleCloudRecommenderV1Operation>

# --- GoogleCloudRecommenderV1Recommendation (13 fields) [IN MANIFEST] ---
# A recommendation along with a suggested action. E.g., a rightsizing recommendation for an underutili
# [[types]]
# schema = "GoogleCloudRecommenderV1Recommendation"
# include_fields = ["additionalImpact", "associatedInsights", "content", "description", "etag", "lastRefreshTime", "name", "primaryImpact", "priority", "recommenderSubtype", "stateInfo", "targetResources", "xorGroupId"]
#
#   additionalImpact: array<GoogleCloudRecommenderV1Impact>
#   associatedInsights: array<GoogleCloudRecommenderV1RecommendationInsightReference>
#   content: $ref: GoogleCloudRecommenderV1RecommendationContent
#   description: string
#   etag: string
#   lastRefreshTime: string, format: google-datetime
#   name: string
#   primaryImpact: $ref: GoogleCloudRecommenderV1Impact
#   priority: string, enum: [PRIORITY_UNSPECIFIED, P4, P3, P2, P1]
#   recommenderSubtype: string
#   stateInfo: $ref: GoogleCloudRecommenderV1RecommendationStateInfo
#   targetResources: array<string>
#   xorGroupId: string
#
# [types.field_overrides]
# name = { required = true }
# # priority = { enum_type = "GoogleCloudRecommenderV1RecommendationPriority" }

# --- GoogleCloudRecommenderV1RecommendationContent (2 fields) [IN MANIFEST] ---
# Contains what resources are changing and how they are changing.
# [[types]]
# schema = "GoogleCloudRecommenderV1RecommendationContent"
# include_fields = ["operationGroups", "overview"]
#
#   operationGroups: array<GoogleCloudRecommenderV1OperationGroup>
#   overview: map<string, any>

# --- GoogleCloudRecommenderV1RecommendationInsightReference (1 fields) [IN MANIFEST] ---
# Reference to an associated insight.
# [[types]]
# schema = "GoogleCloudRecommenderV1RecommendationInsightReference"
# include_fields = ["insight"]
#
#   insight: string

# --- GoogleCloudRecommenderV1RecommendationStateInfo (2 fields) [IN MANIFEST] ---
# Information for state. Contains state and metadata.
# [[types]]
# schema = "GoogleCloudRecommenderV1RecommendationStateInfo"
# include_fields = ["state", "stateMetadata"]
#
#   state: string, enum: [STATE_UNSPECIFIED, ACTIVE, CLAIMED, SUCCEEDED, ... +2]
#   stateMetadata: map<string, string>
#
# [types.field_overrides]
# # state = { enum_type = "GoogleCloudRecommenderV1RecommendationStateInfoState" }

# --- GoogleCloudRecommenderV1RecommenderConfig (7 fields) ---
# Configuration for a Recommender.
# [[types]]
# schema = "GoogleCloudRecommenderV1RecommenderConfig"
# include_fields = ["annotations", "displayName", "etag", "name", "recommenderGenerationConfig", "revisionId", "updateTime"]
#
#   annotations: map<string, string>
#   displayName: string
#   etag: string
#   name: string
#   recommenderGenerationConfig: $ref: GoogleCloudRecommenderV1RecommenderGenerationConfig
#   revisionId: string, readOnly
#   updateTime: string, format: google-datetime
#
# [types.field_overrides]
# name = { required = true }

# --- GoogleCloudRecommenderV1RecommenderGenerationConfig (1 fields) ---
# A Configuration to customize the generation of recommendations. Eg, customizing the lookback period 
# [[types]]
# schema = "GoogleCloudRecommenderV1RecommenderGenerationConfig"
# include_fields = ["params"]
#
#   params: map<string, any>

# --- GoogleCloudRecommenderV1ReliabilityProjection (2 fields) [IN MANIFEST] ---
# Contains information on the impact of a reliability recommendation.
# [[types]]
# schema = "GoogleCloudRecommenderV1ReliabilityProjection"
# include_fields = ["details", "risks"]
#
#   details: map<string, any>
#   risks: array<string>

# --- GoogleCloudRecommenderV1SecurityProjection (1 fields) [IN MANIFEST] ---
# Contains various ways of describing the impact on Security.
# [[types]]
# schema = "GoogleCloudRecommenderV1SecurityProjection"
# include_fields = ["details"]
#
#   details: map<string, any>

# --- GoogleCloudRecommenderV1SustainabilityProjection (2 fields) [IN MANIFEST] ---
# Contains metadata about how much sustainability a recommendation can save or incur.
# [[types]]
# schema = "GoogleCloudRecommenderV1SustainabilityProjection"
# include_fields = ["duration", "kgCO2e"]
#
#   duration: string, format: google-duration
#   kgCO2e: number, format: double

# --- GoogleCloudRecommenderV1ValueMatcher (1 fields) ---
# Contains various matching options for values for a GCP resource field.
# [[types]]
# schema = "GoogleCloudRecommenderV1ValueMatcher"
# include_fields = ["matchesPattern"]
#
#   matchesPattern: string

# --- GoogleTypeMoney (3 fields) [IN MANIFEST] ---
# Represents an amount of money with its currency type.
# [[types]]
# schema = "GoogleTypeMoney"
# include_fields = ["currencyCode", "nanos", "units"]
#
#   currencyCode: string
#   nanos: integer, format: int32
#   units: string, format: int64

# ======================================================================
# OPERATIONS (48 total)
# ======================================================================

# --- folders.locations.recommenders.recommendations.markDismissed ---
# POST v1/{+name}:markDismissed
# Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender
# Request: GoogleCloudRecommenderV1MarkRecommendationDismissedRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "folders.locations.recommenders.recommendations.markDismissed"
# rust_name = "markDismissed_folders.locations.recommenders.recommendation"

# --- folders.locations.recommenders.recommendations.markFailed ---
# POST v1/{+name}:markFailed
# Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender A
# Request: GoogleCloudRecommenderV1MarkRecommendationFailedRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "folders.locations.recommenders.recommendations.markFailed"
# rust_name = "markFailed_folders.locations.recommenders.recommendation"

# --- folders.locations.recommenders.recommendations.get ---
# GET v1/{+name}
# Gets the requested recommendation. Requires the recommender.*.get IAM permission for the specified r
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "folders.locations.recommenders.recommendations.get"
# rust_name = "get_folders.locations.recommenders.recommendation"

# --- folders.locations.recommenders.recommendations.list ---
# GET v1/{+parent}/recommendations
# Lists recommendations for the specified Cloud Resource. Requires the recommender.*.list IAM permissi
# Response: GoogleCloudRecommenderV1ListRecommendationsResponse
# Query params: filter, pageSize, pageToken
# [[operations]]
# discovery_method = "folders.locations.recommenders.recommendations.list"
# rust_name = "list_folders.locations.recommenders.recommendations"
# list_response = { type_name = "GoogleCloudRecommenderV1ListRecommendationsResponse", items_field = "recommendations", item_type = "GoogleCloudRecommenderV1Recommendation" }
# query_params = ["filter", "pageSize", "pageToken"]

# --- folders.locations.recommenders.recommendations.markSucceeded ---
# POST v1/{+name}:markSucceeded
# Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommende
# Request: GoogleCloudRecommenderV1MarkRecommendationSucceededRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "folders.locations.recommenders.recommendations.markSucceeded"
# rust_name = "markSucceeded_folders.locations.recommenders.recommendation"

# --- folders.locations.recommenders.recommendations.markClaimed ---
# POST v1/{+name}:markClaimed
# Marks the Recommendation State as Claimed. Users can use this method to indicate to the Recommender 
# Request: GoogleCloudRecommenderV1MarkRecommendationClaimedRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "folders.locations.recommenders.recommendations.markClaimed"
# rust_name = "markClaimed_folders.locations.recommenders.recommendation"

# --- folders.locations.insightTypes.insights.list ---
# GET v1/{+parent}/insights
# Lists insights for the specified Cloud Resource. Requires the recommender.*.list IAM permission for 
# Response: GoogleCloudRecommenderV1ListInsightsResponse
# Query params: filter, pageSize, pageToken
# [[operations]]
# discovery_method = "folders.locations.insightTypes.insights.list"
# rust_name = "list_folders.locations.insight_types.insights"
# list_response = { type_name = "GoogleCloudRecommenderV1ListInsightsResponse", items_field = "insights", item_type = "GoogleCloudRecommenderV1Insight" }
# query_params = ["filter", "pageSize", "pageToken"]

# --- folders.locations.insightTypes.insights.get ---
# GET v1/{+name}
# Gets the requested insight. Requires the recommender.*.get IAM permission for the specified insight 
# Response: GoogleCloudRecommenderV1Insight
# [[operations]]
# discovery_method = "folders.locations.insightTypes.insights.get"
# rust_name = "get_folders.locations.insight_types.insight"

# --- folders.locations.insightTypes.insights.markAccepted ---
# POST v1/{+name}:markAccepted
# Marks the Insight State as Accepted. Users can use this method to indicate to the Recommender API th
# Request: GoogleCloudRecommenderV1MarkInsightAcceptedRequest
# Response: GoogleCloudRecommenderV1Insight
# [[operations]]
# discovery_method = "folders.locations.insightTypes.insights.markAccepted"
# rust_name = "markAccepted_folders.locations.insight_types.insight"

# --- projects.locations.recommenders.getConfig ---
# GET v1/{+name}
# Gets the requested Recommender Config. There is only one instance of the config for each Recommender
# Response: GoogleCloudRecommenderV1RecommenderConfig
# [[operations]]
# discovery_method = "projects.locations.recommenders.getConfig"
# rust_name = "getConfig_projects.locations.recommender"

# --- projects.locations.recommenders.updateConfig ---
# PATCH v1/{+name}
# Updates a Recommender Config. This will create a new revision of the config.
# Request: GoogleCloudRecommenderV1RecommenderConfig
# Response: GoogleCloudRecommenderV1RecommenderConfig
# Query params: updateMask, validateOnly
# [[operations]]
# discovery_method = "projects.locations.recommenders.updateConfig"
# rust_name = "updateConfig_projects.locations.recommender"
# query_params = ["updateMask", "validateOnly"]

# --- projects.locations.recommenders.recommendations.markFailed ---
# POST v1/{+name}:markFailed
# Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender A
# Request: GoogleCloudRecommenderV1MarkRecommendationFailedRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "projects.locations.recommenders.recommendations.markFailed"
# rust_name = "markFailed_projects.locations.recommenders.recommendation"

# --- projects.locations.recommenders.recommendations.list [IN MANIFEST] ---
# GET v1/{+parent}/recommendations
# Lists recommendations for the specified Cloud Resource. Requires the recommender.*.list IAM permissi
# Response: GoogleCloudRecommenderV1ListRecommendationsResponse
# Query params: filter, pageSize, pageToken
# [[operations]]
# discovery_method = "projects.locations.recommenders.recommendations.list"
# rust_name = "list_projects.locations.recommenders.recommendations"
# list_response = { type_name = "GoogleCloudRecommenderV1ListRecommendationsResponse", items_field = "recommendations", item_type = "GoogleCloudRecommenderV1Recommendation" }
# query_params = ["filter", "pageSize", "pageToken"]

# --- projects.locations.recommenders.recommendations.markClaimed ---
# POST v1/{+name}:markClaimed
# Marks the Recommendation State as Claimed. Users can use this method to indicate to the Recommender 
# Request: GoogleCloudRecommenderV1MarkRecommendationClaimedRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "projects.locations.recommenders.recommendations.markClaimed"
# rust_name = "markClaimed_projects.locations.recommenders.recommendation"

# --- projects.locations.recommenders.recommendations.markSucceeded ---
# POST v1/{+name}:markSucceeded
# Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommende
# Request: GoogleCloudRecommenderV1MarkRecommendationSucceededRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "projects.locations.recommenders.recommendations.markSucceeded"
# rust_name = "markSucceeded_projects.locations.recommenders.recommendation"

# --- projects.locations.recommenders.recommendations.markDismissed ---
# POST v1/{+name}:markDismissed
# Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender
# Request: GoogleCloudRecommenderV1MarkRecommendationDismissedRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "projects.locations.recommenders.recommendations.markDismissed"
# rust_name = "markDismissed_projects.locations.recommenders.recommendation"

# --- projects.locations.recommenders.recommendations.get ---
# GET v1/{+name}
# Gets the requested recommendation. Requires the recommender.*.get IAM permission for the specified r
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "projects.locations.recommenders.recommendations.get"
# rust_name = "get_projects.locations.recommenders.recommendation"

# --- projects.locations.insightTypes.updateConfig ---
# PATCH v1/{+name}
# Updates an InsightTypeConfig change. This will create a new revision of the config.
# Request: GoogleCloudRecommenderV1InsightTypeConfig
# Response: GoogleCloudRecommenderV1InsightTypeConfig
# Query params: updateMask, validateOnly
# [[operations]]
# discovery_method = "projects.locations.insightTypes.updateConfig"
# rust_name = "updateConfig_projects.locations.insight_type"
# query_params = ["updateMask", "validateOnly"]

# --- projects.locations.insightTypes.getConfig ---
# GET v1/{+name}
# Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType.
# Response: GoogleCloudRecommenderV1InsightTypeConfig
# [[operations]]
# discovery_method = "projects.locations.insightTypes.getConfig"
# rust_name = "getConfig_projects.locations.insight_type"

# --- projects.locations.insightTypes.insights.get ---
# GET v1/{+name}
# Gets the requested insight. Requires the recommender.*.get IAM permission for the specified insight 
# Response: GoogleCloudRecommenderV1Insight
# [[operations]]
# discovery_method = "projects.locations.insightTypes.insights.get"
# rust_name = "get_projects.locations.insight_types.insight"

# --- projects.locations.insightTypes.insights.markAccepted ---
# POST v1/{+name}:markAccepted
# Marks the Insight State as Accepted. Users can use this method to indicate to the Recommender API th
# Request: GoogleCloudRecommenderV1MarkInsightAcceptedRequest
# Response: GoogleCloudRecommenderV1Insight
# [[operations]]
# discovery_method = "projects.locations.insightTypes.insights.markAccepted"
# rust_name = "markAccepted_projects.locations.insight_types.insight"

# --- projects.locations.insightTypes.insights.list ---
# GET v1/{+parent}/insights
# Lists insights for the specified Cloud Resource. Requires the recommender.*.list IAM permission for 
# Response: GoogleCloudRecommenderV1ListInsightsResponse
# Query params: filter, pageSize, pageToken
# [[operations]]
# discovery_method = "projects.locations.insightTypes.insights.list"
# rust_name = "list_projects.locations.insight_types.insights"
# list_response = { type_name = "GoogleCloudRecommenderV1ListInsightsResponse", items_field = "insights", item_type = "GoogleCloudRecommenderV1Insight" }
# query_params = ["filter", "pageSize", "pageToken"]

# --- billingAccounts.locations.insightTypes.getConfig ---
# GET v1/{+name}
# Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType.
# Response: GoogleCloudRecommenderV1InsightTypeConfig
# [[operations]]
# discovery_method = "billingAccounts.locations.insightTypes.getConfig"
# rust_name = "getConfig_billing_accounts.locations.insight_type"

# --- billingAccounts.locations.insightTypes.updateConfig ---
# PATCH v1/{+name}
# Updates an InsightTypeConfig change. This will create a new revision of the config.
# Request: GoogleCloudRecommenderV1InsightTypeConfig
# Response: GoogleCloudRecommenderV1InsightTypeConfig
# Query params: updateMask, validateOnly
# [[operations]]
# discovery_method = "billingAccounts.locations.insightTypes.updateConfig"
# rust_name = "updateConfig_billing_accounts.locations.insight_type"
# query_params = ["updateMask", "validateOnly"]

# --- billingAccounts.locations.insightTypes.insights.get ---
# GET v1/{+name}
# Gets the requested insight. Requires the recommender.*.get IAM permission for the specified insight 
# Response: GoogleCloudRecommenderV1Insight
# [[operations]]
# discovery_method = "billingAccounts.locations.insightTypes.insights.get"
# rust_name = "get_billing_accounts.locations.insight_types.insight"

# --- billingAccounts.locations.insightTypes.insights.list ---
# GET v1/{+parent}/insights
# Lists insights for the specified Cloud Resource. Requires the recommender.*.list IAM permission for 
# Response: GoogleCloudRecommenderV1ListInsightsResponse
# Query params: filter, pageSize, pageToken
# [[operations]]
# discovery_method = "billingAccounts.locations.insightTypes.insights.list"
# rust_name = "list_billing_accounts.locations.insight_types.insights"
# list_response = { type_name = "GoogleCloudRecommenderV1ListInsightsResponse", items_field = "insights", item_type = "GoogleCloudRecommenderV1Insight" }
# query_params = ["filter", "pageSize", "pageToken"]

# --- billingAccounts.locations.insightTypes.insights.markAccepted ---
# POST v1/{+name}:markAccepted
# Marks the Insight State as Accepted. Users can use this method to indicate to the Recommender API th
# Request: GoogleCloudRecommenderV1MarkInsightAcceptedRequest
# Response: GoogleCloudRecommenderV1Insight
# [[operations]]
# discovery_method = "billingAccounts.locations.insightTypes.insights.markAccepted"
# rust_name = "markAccepted_billing_accounts.locations.insight_types.insight"

# --- billingAccounts.locations.recommenders.getConfig ---
# GET v1/{+name}
# Gets the requested Recommender Config. There is only one instance of the config for each Recommender
# Response: GoogleCloudRecommenderV1RecommenderConfig
# [[operations]]
# discovery_method = "billingAccounts.locations.recommenders.getConfig"
# rust_name = "getConfig_billing_accounts.locations.recommender"

# --- billingAccounts.locations.recommenders.updateConfig ---
# PATCH v1/{+name}
# Updates a Recommender Config. This will create a new revision of the config.
# Request: GoogleCloudRecommenderV1RecommenderConfig
# Response: GoogleCloudRecommenderV1RecommenderConfig
# Query params: updateMask, validateOnly
# [[operations]]
# discovery_method = "billingAccounts.locations.recommenders.updateConfig"
# rust_name = "updateConfig_billing_accounts.locations.recommender"
# query_params = ["updateMask", "validateOnly"]

# --- billingAccounts.locations.recommenders.recommendations.get ---
# GET v1/{+name}
# Gets the requested recommendation. Requires the recommender.*.get IAM permission for the specified r
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "billingAccounts.locations.recommenders.recommendations.get"
# rust_name = "get_billing_accounts.locations.recommenders.recommendation"

# --- billingAccounts.locations.recommenders.recommendations.markSucceeded ---
# POST v1/{+name}:markSucceeded
# Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommende
# Request: GoogleCloudRecommenderV1MarkRecommendationSucceededRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "billingAccounts.locations.recommenders.recommendations.markSucceeded"
# rust_name = "markSucceeded_billing_accounts.locations.recommenders.recommendation"

# --- billingAccounts.locations.recommenders.recommendations.markDismissed ---
# POST v1/{+name}:markDismissed
# Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender
# Request: GoogleCloudRecommenderV1MarkRecommendationDismissedRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "billingAccounts.locations.recommenders.recommendations.markDismissed"
# rust_name = "markDismissed_billing_accounts.locations.recommenders.recommendation"

# --- billingAccounts.locations.recommenders.recommendations.list ---
# GET v1/{+parent}/recommendations
# Lists recommendations for the specified Cloud Resource. Requires the recommender.*.list IAM permissi
# Response: GoogleCloudRecommenderV1ListRecommendationsResponse
# Query params: filter, pageSize, pageToken
# [[operations]]
# discovery_method = "billingAccounts.locations.recommenders.recommendations.list"
# rust_name = "list_billing_accounts.locations.recommenders.recommendations"
# list_response = { type_name = "GoogleCloudRecommenderV1ListRecommendationsResponse", items_field = "recommendations", item_type = "GoogleCloudRecommenderV1Recommendation" }
# query_params = ["filter", "pageSize", "pageToken"]

# --- billingAccounts.locations.recommenders.recommendations.markClaimed ---
# POST v1/{+name}:markClaimed
# Marks the Recommendation State as Claimed. Users can use this method to indicate to the Recommender 
# Request: GoogleCloudRecommenderV1MarkRecommendationClaimedRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "billingAccounts.locations.recommenders.recommendations.markClaimed"
# rust_name = "markClaimed_billing_accounts.locations.recommenders.recommendation"

# --- billingAccounts.locations.recommenders.recommendations.markFailed ---
# POST v1/{+name}:markFailed
# Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender A
# Request: GoogleCloudRecommenderV1MarkRecommendationFailedRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "billingAccounts.locations.recommenders.recommendations.markFailed"
# rust_name = "markFailed_billing_accounts.locations.recommenders.recommendation"

# --- organizations.locations.insightTypes.getConfig ---
# GET v1/{+name}
# Gets the requested InsightTypeConfig. There is only one instance of the config for each InsightType.
# Response: GoogleCloudRecommenderV1InsightTypeConfig
# [[operations]]
# discovery_method = "organizations.locations.insightTypes.getConfig"
# rust_name = "getConfig_organizations.locations.insight_type"

# --- organizations.locations.insightTypes.updateConfig ---
# PATCH v1/{+name}
# Updates an InsightTypeConfig change. This will create a new revision of the config.
# Request: GoogleCloudRecommenderV1InsightTypeConfig
# Response: GoogleCloudRecommenderV1InsightTypeConfig
# Query params: updateMask, validateOnly
# [[operations]]
# discovery_method = "organizations.locations.insightTypes.updateConfig"
# rust_name = "updateConfig_organizations.locations.insight_type"
# query_params = ["updateMask", "validateOnly"]

# --- organizations.locations.insightTypes.insights.list ---
# GET v1/{+parent}/insights
# Lists insights for the specified Cloud Resource. Requires the recommender.*.list IAM permission for 
# Response: GoogleCloudRecommenderV1ListInsightsResponse
# Query params: filter, pageSize, pageToken
# [[operations]]
# discovery_method = "organizations.locations.insightTypes.insights.list"
# rust_name = "list_organizations.locations.insight_types.insights"
# list_response = { type_name = "GoogleCloudRecommenderV1ListInsightsResponse", items_field = "insights", item_type = "GoogleCloudRecommenderV1Insight" }
# query_params = ["filter", "pageSize", "pageToken"]

# --- organizations.locations.insightTypes.insights.get ---
# GET v1/{+name}
# Gets the requested insight. Requires the recommender.*.get IAM permission for the specified insight 
# Response: GoogleCloudRecommenderV1Insight
# [[operations]]
# discovery_method = "organizations.locations.insightTypes.insights.get"
# rust_name = "get_organizations.locations.insight_types.insight"

# --- organizations.locations.insightTypes.insights.markAccepted ---
# POST v1/{+name}:markAccepted
# Marks the Insight State as Accepted. Users can use this method to indicate to the Recommender API th
# Request: GoogleCloudRecommenderV1MarkInsightAcceptedRequest
# Response: GoogleCloudRecommenderV1Insight
# [[operations]]
# discovery_method = "organizations.locations.insightTypes.insights.markAccepted"
# rust_name = "markAccepted_organizations.locations.insight_types.insight"

# --- organizations.locations.recommenders.updateConfig ---
# PATCH v1/{+name}
# Updates a Recommender Config. This will create a new revision of the config.
# Request: GoogleCloudRecommenderV1RecommenderConfig
# Response: GoogleCloudRecommenderV1RecommenderConfig
# Query params: updateMask, validateOnly
# [[operations]]
# discovery_method = "organizations.locations.recommenders.updateConfig"
# rust_name = "updateConfig_organizations.locations.recommender"
# query_params = ["updateMask", "validateOnly"]

# --- organizations.locations.recommenders.getConfig ---
# GET v1/{+name}
# Gets the requested Recommender Config. There is only one instance of the config for each Recommender
# Response: GoogleCloudRecommenderV1RecommenderConfig
# [[operations]]
# discovery_method = "organizations.locations.recommenders.getConfig"
# rust_name = "getConfig_organizations.locations.recommender"

# --- organizations.locations.recommenders.recommendations.markDismissed ---
# POST v1/{+name}:markDismissed
# Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender
# Request: GoogleCloudRecommenderV1MarkRecommendationDismissedRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "organizations.locations.recommenders.recommendations.markDismissed"
# rust_name = "markDismissed_organizations.locations.recommenders.recommendation"

# --- organizations.locations.recommenders.recommendations.markSucceeded ---
# POST v1/{+name}:markSucceeded
# Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommende
# Request: GoogleCloudRecommenderV1MarkRecommendationSucceededRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "organizations.locations.recommenders.recommendations.markSucceeded"
# rust_name = "markSucceeded_organizations.locations.recommenders.recommendation"

# --- organizations.locations.recommenders.recommendations.markClaimed ---
# POST v1/{+name}:markClaimed
# Marks the Recommendation State as Claimed. Users can use this method to indicate to the Recommender 
# Request: GoogleCloudRecommenderV1MarkRecommendationClaimedRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "organizations.locations.recommenders.recommendations.markClaimed"
# rust_name = "markClaimed_organizations.locations.recommenders.recommendation"

# --- organizations.locations.recommenders.recommendations.get ---
# GET v1/{+name}
# Gets the requested recommendation. Requires the recommender.*.get IAM permission for the specified r
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "organizations.locations.recommenders.recommendations.get"
# rust_name = "get_organizations.locations.recommenders.recommendation"

# --- organizations.locations.recommenders.recommendations.list ---
# GET v1/{+parent}/recommendations
# Lists recommendations for the specified Cloud Resource. Requires the recommender.*.list IAM permissi
# Response: GoogleCloudRecommenderV1ListRecommendationsResponse
# Query params: filter, pageSize, pageToken
# [[operations]]
# discovery_method = "organizations.locations.recommenders.recommendations.list"
# rust_name = "list_organizations.locations.recommenders.recommendations"
# list_response = { type_name = "GoogleCloudRecommenderV1ListRecommendationsResponse", items_field = "recommendations", item_type = "GoogleCloudRecommenderV1Recommendation" }
# query_params = ["filter", "pageSize", "pageToken"]

# --- organizations.locations.recommenders.recommendations.markFailed ---
# POST v1/{+name}:markFailed
# Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender A
# Request: GoogleCloudRecommenderV1MarkRecommendationFailedRequest
# Response: GoogleCloudRecommenderV1Recommendation
# [[operations]]
# discovery_method = "organizations.locations.recommenders.recommendations.markFailed"
# rust_name = "markFailed_organizations.locations.recommenders.recommendation"

# ======================================================================
# COVERAGE SUMMARY
# ======================================================================
# Schemas in discovery: 27
# Schemas in manifest:  13
# Coverage: 13/27 (48%)
#
# Operations in discovery: 48
# Operations in manifest:  1
# Coverage: 1/48 (2%)