google-apis-serviceusage_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 ServiceusageV1
18
+ # Version of the google-apis-serviceusage_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201208"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,1328 @@
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 ServiceusageV1
24
+
25
+ class AdminQuotaPolicy
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Api
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AuthProvider
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AuthRequirement
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Authentication
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AuthenticationRule
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Backend
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class BackendRule
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class BatchCreateAdminOverridesResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class BatchCreateConsumerOverridesResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class BatchEnableServicesRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class BatchEnableServicesResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class BatchGetServicesResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class Billing
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class BillingDestination
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class CancelOperationRequest
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class Context
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ContextRule
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Control
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class CustomError
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class CustomErrorRule
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class CustomHttpPattern
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class DisableServiceRequest
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class DisableServiceResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class Documentation
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class DocumentationRule
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class Empty
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class EnableFailure
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class EnableServiceRequest
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class EnableServiceResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class Endpoint
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Enum
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class EnumValue
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Field
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GetServiceIdentityResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleApiService
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleApiServiceusageV1OperationMetadata
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleApiServiceusageV1Service
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleApiServiceusageV1ServiceConfig
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleApiServiceusageV1beta1GetServiceIdentityResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleApiServiceusageV1beta1ServiceIdentity
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class Http
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class HttpRule
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class ImportAdminOverridesResponse
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class ImportAdminQuotaPoliciesResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class ImportConsumerOverridesResponse
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class JwtLocation
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class LabelDescriptor
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class ListOperationsResponse
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class ListServicesResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class LogDescriptor
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class Logging
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class LoggingDestination
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class MethodProp
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class MetricDescriptor
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class MetricDescriptorMetadata
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class MetricRule
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class Mixin
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class MonitoredResourceDescriptor
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class Monitoring
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class MonitoringDestination
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class OAuthRequirements
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class Operation
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class OperationMetadata
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class Option
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class Page
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class Quota
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class QuotaLimit
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class QuotaOverride
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class ServiceIdentity
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class SourceContext
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class SourceInfo
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class Status
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class SystemParameter
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class SystemParameterRule
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class SystemParameters
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class Type
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class Usage
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class UsageRule
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class AdminQuotaPolicy
500
+ # @private
501
+ class Representation < Google::Apis::Core::JsonRepresentation
502
+ property :container, as: 'container'
503
+ hash :dimensions, as: 'dimensions'
504
+ property :metric, as: 'metric'
505
+ property :name, as: 'name'
506
+ property :policy_value, :numeric_string => true, as: 'policyValue'
507
+ property :unit, as: 'unit'
508
+ end
509
+ end
510
+
511
+ class Api
512
+ # @private
513
+ class Representation < Google::Apis::Core::JsonRepresentation
514
+ collection :methods_prop, as: 'methods', class: Google::Apis::ServiceusageV1::MethodProp, decorator: Google::Apis::ServiceusageV1::MethodProp::Representation
515
+
516
+ collection :mixins, as: 'mixins', class: Google::Apis::ServiceusageV1::Mixin, decorator: Google::Apis::ServiceusageV1::Mixin::Representation
517
+
518
+ property :name, as: 'name'
519
+ collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation
520
+
521
+ property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1::SourceContext, decorator: Google::Apis::ServiceusageV1::SourceContext::Representation
522
+
523
+ property :syntax, as: 'syntax'
524
+ property :version, as: 'version'
525
+ end
526
+ end
527
+
528
+ class AuthProvider
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ property :audiences, as: 'audiences'
532
+ property :authorization_url, as: 'authorizationUrl'
533
+ property :id, as: 'id'
534
+ property :issuer, as: 'issuer'
535
+ property :jwks_uri, as: 'jwksUri'
536
+ collection :jwt_locations, as: 'jwtLocations', class: Google::Apis::ServiceusageV1::JwtLocation, decorator: Google::Apis::ServiceusageV1::JwtLocation::Representation
537
+
538
+ end
539
+ end
540
+
541
+ class AuthRequirement
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :audiences, as: 'audiences'
545
+ property :provider_id, as: 'providerId'
546
+ end
547
+ end
548
+
549
+ class Authentication
550
+ # @private
551
+ class Representation < Google::Apis::Core::JsonRepresentation
552
+ collection :providers, as: 'providers', class: Google::Apis::ServiceusageV1::AuthProvider, decorator: Google::Apis::ServiceusageV1::AuthProvider::Representation
553
+
554
+ collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::AuthenticationRule, decorator: Google::Apis::ServiceusageV1::AuthenticationRule::Representation
555
+
556
+ end
557
+ end
558
+
559
+ class AuthenticationRule
560
+ # @private
561
+ class Representation < Google::Apis::Core::JsonRepresentation
562
+ property :allow_without_credential, as: 'allowWithoutCredential'
563
+ property :oauth, as: 'oauth', class: Google::Apis::ServiceusageV1::OAuthRequirements, decorator: Google::Apis::ServiceusageV1::OAuthRequirements::Representation
564
+
565
+ collection :requirements, as: 'requirements', class: Google::Apis::ServiceusageV1::AuthRequirement, decorator: Google::Apis::ServiceusageV1::AuthRequirement::Representation
566
+
567
+ property :selector, as: 'selector'
568
+ end
569
+ end
570
+
571
+ class Backend
572
+ # @private
573
+ class Representation < Google::Apis::Core::JsonRepresentation
574
+ collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::BackendRule, decorator: Google::Apis::ServiceusageV1::BackendRule::Representation
575
+
576
+ end
577
+ end
578
+
579
+ class BackendRule
580
+ # @private
581
+ class Representation < Google::Apis::Core::JsonRepresentation
582
+ property :address, as: 'address'
583
+ property :deadline, as: 'deadline'
584
+ property :disable_auth, as: 'disableAuth'
585
+ property :jwt_audience, as: 'jwtAudience'
586
+ property :min_deadline, as: 'minDeadline'
587
+ property :operation_deadline, as: 'operationDeadline'
588
+ property :path_translation, as: 'pathTranslation'
589
+ property :protocol, as: 'protocol'
590
+ property :selector, as: 'selector'
591
+ end
592
+ end
593
+
594
+ class BatchCreateAdminOverridesResponse
595
+ # @private
596
+ class Representation < Google::Apis::Core::JsonRepresentation
597
+ collection :overrides, as: 'overrides', class: Google::Apis::ServiceusageV1::QuotaOverride, decorator: Google::Apis::ServiceusageV1::QuotaOverride::Representation
598
+
599
+ end
600
+ end
601
+
602
+ class BatchCreateConsumerOverridesResponse
603
+ # @private
604
+ class Representation < Google::Apis::Core::JsonRepresentation
605
+ collection :overrides, as: 'overrides', class: Google::Apis::ServiceusageV1::QuotaOverride, decorator: Google::Apis::ServiceusageV1::QuotaOverride::Representation
606
+
607
+ end
608
+ end
609
+
610
+ class BatchEnableServicesRequest
611
+ # @private
612
+ class Representation < Google::Apis::Core::JsonRepresentation
613
+ collection :service_ids, as: 'serviceIds'
614
+ end
615
+ end
616
+
617
+ class BatchEnableServicesResponse
618
+ # @private
619
+ class Representation < Google::Apis::Core::JsonRepresentation
620
+ collection :failures, as: 'failures', class: Google::Apis::ServiceusageV1::EnableFailure, decorator: Google::Apis::ServiceusageV1::EnableFailure::Representation
621
+
622
+ collection :services, as: 'services', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service::Representation
623
+
624
+ end
625
+ end
626
+
627
+ class BatchGetServicesResponse
628
+ # @private
629
+ class Representation < Google::Apis::Core::JsonRepresentation
630
+ collection :services, as: 'services', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service::Representation
631
+
632
+ end
633
+ end
634
+
635
+ class Billing
636
+ # @private
637
+ class Representation < Google::Apis::Core::JsonRepresentation
638
+ collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1::BillingDestination, decorator: Google::Apis::ServiceusageV1::BillingDestination::Representation
639
+
640
+ end
641
+ end
642
+
643
+ class BillingDestination
644
+ # @private
645
+ class Representation < Google::Apis::Core::JsonRepresentation
646
+ collection :metrics, as: 'metrics'
647
+ property :monitored_resource, as: 'monitoredResource'
648
+ end
649
+ end
650
+
651
+ class CancelOperationRequest
652
+ # @private
653
+ class Representation < Google::Apis::Core::JsonRepresentation
654
+ end
655
+ end
656
+
657
+ class Context
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::ContextRule, decorator: Google::Apis::ServiceusageV1::ContextRule::Representation
661
+
662
+ end
663
+ end
664
+
665
+ class ContextRule
666
+ # @private
667
+ class Representation < Google::Apis::Core::JsonRepresentation
668
+ collection :allowed_request_extensions, as: 'allowedRequestExtensions'
669
+ collection :allowed_response_extensions, as: 'allowedResponseExtensions'
670
+ collection :provided, as: 'provided'
671
+ collection :requested, as: 'requested'
672
+ property :selector, as: 'selector'
673
+ end
674
+ end
675
+
676
+ class Control
677
+ # @private
678
+ class Representation < Google::Apis::Core::JsonRepresentation
679
+ property :environment, as: 'environment'
680
+ end
681
+ end
682
+
683
+ class CustomError
684
+ # @private
685
+ class Representation < Google::Apis::Core::JsonRepresentation
686
+ collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::CustomErrorRule, decorator: Google::Apis::ServiceusageV1::CustomErrorRule::Representation
687
+
688
+ collection :types, as: 'types'
689
+ end
690
+ end
691
+
692
+ class CustomErrorRule
693
+ # @private
694
+ class Representation < Google::Apis::Core::JsonRepresentation
695
+ property :is_error_type, as: 'isErrorType'
696
+ property :selector, as: 'selector'
697
+ end
698
+ end
699
+
700
+ class CustomHttpPattern
701
+ # @private
702
+ class Representation < Google::Apis::Core::JsonRepresentation
703
+ property :kind, as: 'kind'
704
+ property :path, as: 'path'
705
+ end
706
+ end
707
+
708
+ class DisableServiceRequest
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :check_if_service_has_usage, as: 'checkIfServiceHasUsage'
712
+ property :disable_dependent_services, as: 'disableDependentServices'
713
+ end
714
+ end
715
+
716
+ class DisableServiceResponse
717
+ # @private
718
+ class Representation < Google::Apis::Core::JsonRepresentation
719
+ property :service, as: 'service', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service::Representation
720
+
721
+ end
722
+ end
723
+
724
+ class Documentation
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :documentation_root_url, as: 'documentationRootUrl'
728
+ property :overview, as: 'overview'
729
+ collection :pages, as: 'pages', class: Google::Apis::ServiceusageV1::Page, decorator: Google::Apis::ServiceusageV1::Page::Representation
730
+
731
+ collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::DocumentationRule, decorator: Google::Apis::ServiceusageV1::DocumentationRule::Representation
732
+
733
+ property :service_root_url, as: 'serviceRootUrl'
734
+ property :summary, as: 'summary'
735
+ end
736
+ end
737
+
738
+ class DocumentationRule
739
+ # @private
740
+ class Representation < Google::Apis::Core::JsonRepresentation
741
+ property :deprecation_description, as: 'deprecationDescription'
742
+ property :description, as: 'description'
743
+ property :selector, as: 'selector'
744
+ end
745
+ end
746
+
747
+ class Empty
748
+ # @private
749
+ class Representation < Google::Apis::Core::JsonRepresentation
750
+ end
751
+ end
752
+
753
+ class EnableFailure
754
+ # @private
755
+ class Representation < Google::Apis::Core::JsonRepresentation
756
+ property :error_message, as: 'errorMessage'
757
+ property :service_id, as: 'serviceId'
758
+ end
759
+ end
760
+
761
+ class EnableServiceRequest
762
+ # @private
763
+ class Representation < Google::Apis::Core::JsonRepresentation
764
+ end
765
+ end
766
+
767
+ class EnableServiceResponse
768
+ # @private
769
+ class Representation < Google::Apis::Core::JsonRepresentation
770
+ property :service, as: 'service', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service::Representation
771
+
772
+ end
773
+ end
774
+
775
+ class Endpoint
776
+ # @private
777
+ class Representation < Google::Apis::Core::JsonRepresentation
778
+ collection :aliases, as: 'aliases'
779
+ property :allow_cors, as: 'allowCors'
780
+ property :name, as: 'name'
781
+ property :target, as: 'target'
782
+ end
783
+ end
784
+
785
+ class Enum
786
+ # @private
787
+ class Representation < Google::Apis::Core::JsonRepresentation
788
+ collection :enumvalue, as: 'enumvalue', class: Google::Apis::ServiceusageV1::EnumValue, decorator: Google::Apis::ServiceusageV1::EnumValue::Representation
789
+
790
+ property :name, as: 'name'
791
+ collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation
792
+
793
+ property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1::SourceContext, decorator: Google::Apis::ServiceusageV1::SourceContext::Representation
794
+
795
+ property :syntax, as: 'syntax'
796
+ end
797
+ end
798
+
799
+ class EnumValue
800
+ # @private
801
+ class Representation < Google::Apis::Core::JsonRepresentation
802
+ property :name, as: 'name'
803
+ property :number, as: 'number'
804
+ collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation
805
+
806
+ end
807
+ end
808
+
809
+ class Field
810
+ # @private
811
+ class Representation < Google::Apis::Core::JsonRepresentation
812
+ property :cardinality, as: 'cardinality'
813
+ property :default_value, as: 'defaultValue'
814
+ property :json_name, as: 'jsonName'
815
+ property :kind, as: 'kind'
816
+ property :name, as: 'name'
817
+ property :number, as: 'number'
818
+ property :oneof_index, as: 'oneofIndex'
819
+ collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation
820
+
821
+ property :packed, as: 'packed'
822
+ property :type_url, as: 'typeUrl'
823
+ end
824
+ end
825
+
826
+ class GetServiceIdentityResponse
827
+ # @private
828
+ class Representation < Google::Apis::Core::JsonRepresentation
829
+ property :identity, as: 'identity', class: Google::Apis::ServiceusageV1::ServiceIdentity, decorator: Google::Apis::ServiceusageV1::ServiceIdentity::Representation
830
+
831
+ property :state, as: 'state'
832
+ end
833
+ end
834
+
835
+ class GoogleApiService
836
+ # @private
837
+ class Representation < Google::Apis::Core::JsonRepresentation
838
+ collection :apis, as: 'apis', class: Google::Apis::ServiceusageV1::Api, decorator: Google::Apis::ServiceusageV1::Api::Representation
839
+
840
+ property :authentication, as: 'authentication', class: Google::Apis::ServiceusageV1::Authentication, decorator: Google::Apis::ServiceusageV1::Authentication::Representation
841
+
842
+ property :backend, as: 'backend', class: Google::Apis::ServiceusageV1::Backend, decorator: Google::Apis::ServiceusageV1::Backend::Representation
843
+
844
+ property :billing, as: 'billing', class: Google::Apis::ServiceusageV1::Billing, decorator: Google::Apis::ServiceusageV1::Billing::Representation
845
+
846
+ property :config_version, as: 'configVersion'
847
+ property :context, as: 'context', class: Google::Apis::ServiceusageV1::Context, decorator: Google::Apis::ServiceusageV1::Context::Representation
848
+
849
+ property :control, as: 'control', class: Google::Apis::ServiceusageV1::Control, decorator: Google::Apis::ServiceusageV1::Control::Representation
850
+
851
+ property :custom_error, as: 'customError', class: Google::Apis::ServiceusageV1::CustomError, decorator: Google::Apis::ServiceusageV1::CustomError::Representation
852
+
853
+ property :documentation, as: 'documentation', class: Google::Apis::ServiceusageV1::Documentation, decorator: Google::Apis::ServiceusageV1::Documentation::Representation
854
+
855
+ collection :endpoints, as: 'endpoints', class: Google::Apis::ServiceusageV1::Endpoint, decorator: Google::Apis::ServiceusageV1::Endpoint::Representation
856
+
857
+ collection :enums, as: 'enums', class: Google::Apis::ServiceusageV1::Enum, decorator: Google::Apis::ServiceusageV1::Enum::Representation
858
+
859
+ property :http, as: 'http', class: Google::Apis::ServiceusageV1::Http, decorator: Google::Apis::ServiceusageV1::Http::Representation
860
+
861
+ property :id, as: 'id'
862
+ property :logging, as: 'logging', class: Google::Apis::ServiceusageV1::Logging, decorator: Google::Apis::ServiceusageV1::Logging::Representation
863
+
864
+ collection :logs, as: 'logs', class: Google::Apis::ServiceusageV1::LogDescriptor, decorator: Google::Apis::ServiceusageV1::LogDescriptor::Representation
865
+
866
+ collection :metrics, as: 'metrics', class: Google::Apis::ServiceusageV1::MetricDescriptor, decorator: Google::Apis::ServiceusageV1::MetricDescriptor::Representation
867
+
868
+ collection :monitored_resources, as: 'monitoredResources', class: Google::Apis::ServiceusageV1::MonitoredResourceDescriptor, decorator: Google::Apis::ServiceusageV1::MonitoredResourceDescriptor::Representation
869
+
870
+ property :monitoring, as: 'monitoring', class: Google::Apis::ServiceusageV1::Monitoring, decorator: Google::Apis::ServiceusageV1::Monitoring::Representation
871
+
872
+ property :name, as: 'name'
873
+ property :producer_project_id, as: 'producerProjectId'
874
+ property :quota, as: 'quota', class: Google::Apis::ServiceusageV1::Quota, decorator: Google::Apis::ServiceusageV1::Quota::Representation
875
+
876
+ property :source_info, as: 'sourceInfo', class: Google::Apis::ServiceusageV1::SourceInfo, decorator: Google::Apis::ServiceusageV1::SourceInfo::Representation
877
+
878
+ property :system_parameters, as: 'systemParameters', class: Google::Apis::ServiceusageV1::SystemParameters, decorator: Google::Apis::ServiceusageV1::SystemParameters::Representation
879
+
880
+ collection :system_types, as: 'systemTypes', class: Google::Apis::ServiceusageV1::Type, decorator: Google::Apis::ServiceusageV1::Type::Representation
881
+
882
+ property :title, as: 'title'
883
+ collection :types, as: 'types', class: Google::Apis::ServiceusageV1::Type, decorator: Google::Apis::ServiceusageV1::Type::Representation
884
+
885
+ property :usage, as: 'usage', class: Google::Apis::ServiceusageV1::Usage, decorator: Google::Apis::ServiceusageV1::Usage::Representation
886
+
887
+ end
888
+ end
889
+
890
+ class GoogleApiServiceusageV1OperationMetadata
891
+ # @private
892
+ class Representation < Google::Apis::Core::JsonRepresentation
893
+ collection :resource_names, as: 'resourceNames'
894
+ end
895
+ end
896
+
897
+ class GoogleApiServiceusageV1Service
898
+ # @private
899
+ class Representation < Google::Apis::Core::JsonRepresentation
900
+ property :config, as: 'config', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1ServiceConfig, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1ServiceConfig::Representation
901
+
902
+ property :name, as: 'name'
903
+ property :parent, as: 'parent'
904
+ property :state, as: 'state'
905
+ end
906
+ end
907
+
908
+ class GoogleApiServiceusageV1ServiceConfig
909
+ # @private
910
+ class Representation < Google::Apis::Core::JsonRepresentation
911
+ collection :apis, as: 'apis', class: Google::Apis::ServiceusageV1::Api, decorator: Google::Apis::ServiceusageV1::Api::Representation
912
+
913
+ property :authentication, as: 'authentication', class: Google::Apis::ServiceusageV1::Authentication, decorator: Google::Apis::ServiceusageV1::Authentication::Representation
914
+
915
+ property :documentation, as: 'documentation', class: Google::Apis::ServiceusageV1::Documentation, decorator: Google::Apis::ServiceusageV1::Documentation::Representation
916
+
917
+ collection :endpoints, as: 'endpoints', class: Google::Apis::ServiceusageV1::Endpoint, decorator: Google::Apis::ServiceusageV1::Endpoint::Representation
918
+
919
+ collection :monitored_resources, as: 'monitoredResources', class: Google::Apis::ServiceusageV1::MonitoredResourceDescriptor, decorator: Google::Apis::ServiceusageV1::MonitoredResourceDescriptor::Representation
920
+
921
+ property :monitoring, as: 'monitoring', class: Google::Apis::ServiceusageV1::Monitoring, decorator: Google::Apis::ServiceusageV1::Monitoring::Representation
922
+
923
+ property :name, as: 'name'
924
+ property :quota, as: 'quota', class: Google::Apis::ServiceusageV1::Quota, decorator: Google::Apis::ServiceusageV1::Quota::Representation
925
+
926
+ property :title, as: 'title'
927
+ property :usage, as: 'usage', class: Google::Apis::ServiceusageV1::Usage, decorator: Google::Apis::ServiceusageV1::Usage::Representation
928
+
929
+ end
930
+ end
931
+
932
+ class GoogleApiServiceusageV1beta1GetServiceIdentityResponse
933
+ # @private
934
+ class Representation < Google::Apis::Core::JsonRepresentation
935
+ property :identity, as: 'identity', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1beta1ServiceIdentity, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1beta1ServiceIdentity::Representation
936
+
937
+ property :state, as: 'state'
938
+ end
939
+ end
940
+
941
+ class GoogleApiServiceusageV1beta1ServiceIdentity
942
+ # @private
943
+ class Representation < Google::Apis::Core::JsonRepresentation
944
+ property :email, as: 'email'
945
+ property :unique_id, as: 'uniqueId'
946
+ end
947
+ end
948
+
949
+ class Http
950
+ # @private
951
+ class Representation < Google::Apis::Core::JsonRepresentation
952
+ property :fully_decode_reserved_expansion, as: 'fullyDecodeReservedExpansion'
953
+ collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::HttpRule, decorator: Google::Apis::ServiceusageV1::HttpRule::Representation
954
+
955
+ end
956
+ end
957
+
958
+ class HttpRule
959
+ # @private
960
+ class Representation < Google::Apis::Core::JsonRepresentation
961
+ collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceusageV1::HttpRule, decorator: Google::Apis::ServiceusageV1::HttpRule::Representation
962
+
963
+ property :body, as: 'body'
964
+ property :custom, as: 'custom', class: Google::Apis::ServiceusageV1::CustomHttpPattern, decorator: Google::Apis::ServiceusageV1::CustomHttpPattern::Representation
965
+
966
+ property :delete, as: 'delete'
967
+ property :get, as: 'get'
968
+ property :patch, as: 'patch'
969
+ property :post, as: 'post'
970
+ property :put, as: 'put'
971
+ property :response_body, as: 'responseBody'
972
+ property :selector, as: 'selector'
973
+ end
974
+ end
975
+
976
+ class ImportAdminOverridesResponse
977
+ # @private
978
+ class Representation < Google::Apis::Core::JsonRepresentation
979
+ collection :overrides, as: 'overrides', class: Google::Apis::ServiceusageV1::QuotaOverride, decorator: Google::Apis::ServiceusageV1::QuotaOverride::Representation
980
+
981
+ end
982
+ end
983
+
984
+ class ImportAdminQuotaPoliciesResponse
985
+ # @private
986
+ class Representation < Google::Apis::Core::JsonRepresentation
987
+ collection :policies, as: 'policies', class: Google::Apis::ServiceusageV1::AdminQuotaPolicy, decorator: Google::Apis::ServiceusageV1::AdminQuotaPolicy::Representation
988
+
989
+ end
990
+ end
991
+
992
+ class ImportConsumerOverridesResponse
993
+ # @private
994
+ class Representation < Google::Apis::Core::JsonRepresentation
995
+ collection :overrides, as: 'overrides', class: Google::Apis::ServiceusageV1::QuotaOverride, decorator: Google::Apis::ServiceusageV1::QuotaOverride::Representation
996
+
997
+ end
998
+ end
999
+
1000
+ class JwtLocation
1001
+ # @private
1002
+ class Representation < Google::Apis::Core::JsonRepresentation
1003
+ property :header, as: 'header'
1004
+ property :query, as: 'query'
1005
+ property :value_prefix, as: 'valuePrefix'
1006
+ end
1007
+ end
1008
+
1009
+ class LabelDescriptor
1010
+ # @private
1011
+ class Representation < Google::Apis::Core::JsonRepresentation
1012
+ property :description, as: 'description'
1013
+ property :key, as: 'key'
1014
+ property :value_type, as: 'valueType'
1015
+ end
1016
+ end
1017
+
1018
+ class ListOperationsResponse
1019
+ # @private
1020
+ class Representation < Google::Apis::Core::JsonRepresentation
1021
+ property :next_page_token, as: 'nextPageToken'
1022
+ collection :operations, as: 'operations', class: Google::Apis::ServiceusageV1::Operation, decorator: Google::Apis::ServiceusageV1::Operation::Representation
1023
+
1024
+ end
1025
+ end
1026
+
1027
+ class ListServicesResponse
1028
+ # @private
1029
+ class Representation < Google::Apis::Core::JsonRepresentation
1030
+ property :next_page_token, as: 'nextPageToken'
1031
+ collection :services, as: 'services', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service::Representation
1032
+
1033
+ end
1034
+ end
1035
+
1036
+ class LogDescriptor
1037
+ # @private
1038
+ class Representation < Google::Apis::Core::JsonRepresentation
1039
+ property :description, as: 'description'
1040
+ property :display_name, as: 'displayName'
1041
+ collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1::LabelDescriptor::Representation
1042
+
1043
+ property :name, as: 'name'
1044
+ end
1045
+ end
1046
+
1047
+ class Logging
1048
+ # @private
1049
+ class Representation < Google::Apis::Core::JsonRepresentation
1050
+ collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1::LoggingDestination, decorator: Google::Apis::ServiceusageV1::LoggingDestination::Representation
1051
+
1052
+ collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceusageV1::LoggingDestination, decorator: Google::Apis::ServiceusageV1::LoggingDestination::Representation
1053
+
1054
+ end
1055
+ end
1056
+
1057
+ class LoggingDestination
1058
+ # @private
1059
+ class Representation < Google::Apis::Core::JsonRepresentation
1060
+ collection :logs, as: 'logs'
1061
+ property :monitored_resource, as: 'monitoredResource'
1062
+ end
1063
+ end
1064
+
1065
+ class MethodProp
1066
+ # @private
1067
+ class Representation < Google::Apis::Core::JsonRepresentation
1068
+ property :name, as: 'name'
1069
+ collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation
1070
+
1071
+ property :request_streaming, as: 'requestStreaming'
1072
+ property :request_type_url, as: 'requestTypeUrl'
1073
+ property :response_streaming, as: 'responseStreaming'
1074
+ property :response_type_url, as: 'responseTypeUrl'
1075
+ property :syntax, as: 'syntax'
1076
+ end
1077
+ end
1078
+
1079
+ class MetricDescriptor
1080
+ # @private
1081
+ class Representation < Google::Apis::Core::JsonRepresentation
1082
+ property :description, as: 'description'
1083
+ property :display_name, as: 'displayName'
1084
+ collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1::LabelDescriptor::Representation
1085
+
1086
+ property :launch_stage, as: 'launchStage'
1087
+ property :metadata, as: 'metadata', class: Google::Apis::ServiceusageV1::MetricDescriptorMetadata, decorator: Google::Apis::ServiceusageV1::MetricDescriptorMetadata::Representation
1088
+
1089
+ property :metric_kind, as: 'metricKind'
1090
+ collection :monitored_resource_types, as: 'monitoredResourceTypes'
1091
+ property :name, as: 'name'
1092
+ property :type, as: 'type'
1093
+ property :unit, as: 'unit'
1094
+ property :value_type, as: 'valueType'
1095
+ end
1096
+ end
1097
+
1098
+ class MetricDescriptorMetadata
1099
+ # @private
1100
+ class Representation < Google::Apis::Core::JsonRepresentation
1101
+ property :ingest_delay, as: 'ingestDelay'
1102
+ property :launch_stage, as: 'launchStage'
1103
+ property :sample_period, as: 'samplePeriod'
1104
+ end
1105
+ end
1106
+
1107
+ class MetricRule
1108
+ # @private
1109
+ class Representation < Google::Apis::Core::JsonRepresentation
1110
+ hash :metric_costs, as: 'metricCosts'
1111
+ property :selector, as: 'selector'
1112
+ end
1113
+ end
1114
+
1115
+ class Mixin
1116
+ # @private
1117
+ class Representation < Google::Apis::Core::JsonRepresentation
1118
+ property :name, as: 'name'
1119
+ property :root, as: 'root'
1120
+ end
1121
+ end
1122
+
1123
+ class MonitoredResourceDescriptor
1124
+ # @private
1125
+ class Representation < Google::Apis::Core::JsonRepresentation
1126
+ property :description, as: 'description'
1127
+ property :display_name, as: 'displayName'
1128
+ collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1::LabelDescriptor::Representation
1129
+
1130
+ property :launch_stage, as: 'launchStage'
1131
+ property :name, as: 'name'
1132
+ property :type, as: 'type'
1133
+ end
1134
+ end
1135
+
1136
+ class Monitoring
1137
+ # @private
1138
+ class Representation < Google::Apis::Core::JsonRepresentation
1139
+ collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1::MonitoringDestination, decorator: Google::Apis::ServiceusageV1::MonitoringDestination::Representation
1140
+
1141
+ collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceusageV1::MonitoringDestination, decorator: Google::Apis::ServiceusageV1::MonitoringDestination::Representation
1142
+
1143
+ end
1144
+ end
1145
+
1146
+ class MonitoringDestination
1147
+ # @private
1148
+ class Representation < Google::Apis::Core::JsonRepresentation
1149
+ collection :metrics, as: 'metrics'
1150
+ property :monitored_resource, as: 'monitoredResource'
1151
+ end
1152
+ end
1153
+
1154
+ class OAuthRequirements
1155
+ # @private
1156
+ class Representation < Google::Apis::Core::JsonRepresentation
1157
+ property :canonical_scopes, as: 'canonicalScopes'
1158
+ end
1159
+ end
1160
+
1161
+ class Operation
1162
+ # @private
1163
+ class Representation < Google::Apis::Core::JsonRepresentation
1164
+ property :done, as: 'done'
1165
+ property :error, as: 'error', class: Google::Apis::ServiceusageV1::Status, decorator: Google::Apis::ServiceusageV1::Status::Representation
1166
+
1167
+ hash :metadata, as: 'metadata'
1168
+ property :name, as: 'name'
1169
+ hash :response, as: 'response'
1170
+ end
1171
+ end
1172
+
1173
+ class OperationMetadata
1174
+ # @private
1175
+ class Representation < Google::Apis::Core::JsonRepresentation
1176
+ collection :resource_names, as: 'resourceNames'
1177
+ end
1178
+ end
1179
+
1180
+ class Option
1181
+ # @private
1182
+ class Representation < Google::Apis::Core::JsonRepresentation
1183
+ property :name, as: 'name'
1184
+ hash :value, as: 'value'
1185
+ end
1186
+ end
1187
+
1188
+ class Page
1189
+ # @private
1190
+ class Representation < Google::Apis::Core::JsonRepresentation
1191
+ property :content, as: 'content'
1192
+ property :name, as: 'name'
1193
+ collection :subpages, as: 'subpages', class: Google::Apis::ServiceusageV1::Page, decorator: Google::Apis::ServiceusageV1::Page::Representation
1194
+
1195
+ end
1196
+ end
1197
+
1198
+ class Quota
1199
+ # @private
1200
+ class Representation < Google::Apis::Core::JsonRepresentation
1201
+ collection :limits, as: 'limits', class: Google::Apis::ServiceusageV1::QuotaLimit, decorator: Google::Apis::ServiceusageV1::QuotaLimit::Representation
1202
+
1203
+ collection :metric_rules, as: 'metricRules', class: Google::Apis::ServiceusageV1::MetricRule, decorator: Google::Apis::ServiceusageV1::MetricRule::Representation
1204
+
1205
+ end
1206
+ end
1207
+
1208
+ class QuotaLimit
1209
+ # @private
1210
+ class Representation < Google::Apis::Core::JsonRepresentation
1211
+ property :default_limit, :numeric_string => true, as: 'defaultLimit'
1212
+ property :description, as: 'description'
1213
+ property :display_name, as: 'displayName'
1214
+ property :duration, as: 'duration'
1215
+ property :free_tier, :numeric_string => true, as: 'freeTier'
1216
+ property :max_limit, :numeric_string => true, as: 'maxLimit'
1217
+ property :metric, as: 'metric'
1218
+ property :name, as: 'name'
1219
+ property :unit, as: 'unit'
1220
+ hash :values, as: 'values'
1221
+ end
1222
+ end
1223
+
1224
+ class QuotaOverride
1225
+ # @private
1226
+ class Representation < Google::Apis::Core::JsonRepresentation
1227
+ property :admin_override_ancestor, as: 'adminOverrideAncestor'
1228
+ hash :dimensions, as: 'dimensions'
1229
+ property :metric, as: 'metric'
1230
+ property :name, as: 'name'
1231
+ property :override_value, :numeric_string => true, as: 'overrideValue'
1232
+ property :unit, as: 'unit'
1233
+ end
1234
+ end
1235
+
1236
+ class ServiceIdentity
1237
+ # @private
1238
+ class Representation < Google::Apis::Core::JsonRepresentation
1239
+ property :email, as: 'email'
1240
+ property :unique_id, as: 'uniqueId'
1241
+ end
1242
+ end
1243
+
1244
+ class SourceContext
1245
+ # @private
1246
+ class Representation < Google::Apis::Core::JsonRepresentation
1247
+ property :file_name, as: 'fileName'
1248
+ end
1249
+ end
1250
+
1251
+ class SourceInfo
1252
+ # @private
1253
+ class Representation < Google::Apis::Core::JsonRepresentation
1254
+ collection :source_files, as: 'sourceFiles'
1255
+ end
1256
+ end
1257
+
1258
+ class Status
1259
+ # @private
1260
+ class Representation < Google::Apis::Core::JsonRepresentation
1261
+ property :code, as: 'code'
1262
+ collection :details, as: 'details'
1263
+ property :message, as: 'message'
1264
+ end
1265
+ end
1266
+
1267
+ class SystemParameter
1268
+ # @private
1269
+ class Representation < Google::Apis::Core::JsonRepresentation
1270
+ property :http_header, as: 'httpHeader'
1271
+ property :name, as: 'name'
1272
+ property :url_query_parameter, as: 'urlQueryParameter'
1273
+ end
1274
+ end
1275
+
1276
+ class SystemParameterRule
1277
+ # @private
1278
+ class Representation < Google::Apis::Core::JsonRepresentation
1279
+ collection :parameters, as: 'parameters', class: Google::Apis::ServiceusageV1::SystemParameter, decorator: Google::Apis::ServiceusageV1::SystemParameter::Representation
1280
+
1281
+ property :selector, as: 'selector'
1282
+ end
1283
+ end
1284
+
1285
+ class SystemParameters
1286
+ # @private
1287
+ class Representation < Google::Apis::Core::JsonRepresentation
1288
+ collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::SystemParameterRule, decorator: Google::Apis::ServiceusageV1::SystemParameterRule::Representation
1289
+
1290
+ end
1291
+ end
1292
+
1293
+ class Type
1294
+ # @private
1295
+ class Representation < Google::Apis::Core::JsonRepresentation
1296
+ collection :fields, as: 'fields', class: Google::Apis::ServiceusageV1::Field, decorator: Google::Apis::ServiceusageV1::Field::Representation
1297
+
1298
+ property :name, as: 'name'
1299
+ collection :oneofs, as: 'oneofs'
1300
+ collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation
1301
+
1302
+ property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1::SourceContext, decorator: Google::Apis::ServiceusageV1::SourceContext::Representation
1303
+
1304
+ property :syntax, as: 'syntax'
1305
+ end
1306
+ end
1307
+
1308
+ class Usage
1309
+ # @private
1310
+ class Representation < Google::Apis::Core::JsonRepresentation
1311
+ property :producer_notification_channel, as: 'producerNotificationChannel'
1312
+ collection :requirements, as: 'requirements'
1313
+ collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::UsageRule, decorator: Google::Apis::ServiceusageV1::UsageRule::Representation
1314
+
1315
+ end
1316
+ end
1317
+
1318
+ class UsageRule
1319
+ # @private
1320
+ class Representation < Google::Apis::Core::JsonRepresentation
1321
+ property :allow_unregistered_calls, as: 'allowUnregisteredCalls'
1322
+ property :selector, as: 'selector'
1323
+ property :skip_service_control, as: 'skipServiceControl'
1324
+ end
1325
+ end
1326
+ end
1327
+ end
1328
+ end