google-apis-servicecontrol_v1 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module ServicecontrolV1
18
+ # Version of the google-apis-servicecontrol_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 = "20201207"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,880 @@
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 ServicecontrolV1
24
+
25
+ class AllocateInfo
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AllocateQuotaRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AllocateQuotaResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AttributeValue
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Attributes
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AuditLog
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Auth
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class AuthenticationInfo
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class AuthorizationInfo
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CheckError
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class CheckInfo
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class CheckRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class CheckResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ConsumerInfo
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class Distribution
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class Exemplar
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ExplicitBuckets
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ExponentialBuckets
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class FirstPartyPrincipal
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class HttpRequest
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class LinearBuckets
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class LogEntry
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class LogEntryOperation
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class LogEntrySourceLocation
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class MetricValue
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class MetricValueSet
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class Money
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Operation
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Peer
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class QuotaError
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class QuotaInfo
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class QuotaOperation
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class QuotaProperties
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class ReportError
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ReportInfo
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ReportRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ReportResponse
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class Request
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class RequestMetadata
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class Resource
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ResourceInfo
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ResourceLocation
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ServiceAccountDelegationInfo
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class SpanContext
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class Status
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class ThirdPartyPrincipal
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class TraceSpan
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class TruncatableString
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class AllocateInfo
314
+ # @private
315
+ class Representation < Google::Apis::Core::JsonRepresentation
316
+ collection :unused_arguments, as: 'unusedArguments'
317
+ end
318
+ end
319
+
320
+ class AllocateQuotaRequest
321
+ # @private
322
+ class Representation < Google::Apis::Core::JsonRepresentation
323
+ property :allocate_operation, as: 'allocateOperation', class: Google::Apis::ServicecontrolV1::QuotaOperation, decorator: Google::Apis::ServicecontrolV1::QuotaOperation::Representation
324
+
325
+ property :service_config_id, as: 'serviceConfigId'
326
+ end
327
+ end
328
+
329
+ class AllocateQuotaResponse
330
+ # @private
331
+ class Representation < Google::Apis::Core::JsonRepresentation
332
+ collection :allocate_errors, as: 'allocateErrors', class: Google::Apis::ServicecontrolV1::QuotaError, decorator: Google::Apis::ServicecontrolV1::QuotaError::Representation
333
+
334
+ property :allocate_info, as: 'allocateInfo', class: Google::Apis::ServicecontrolV1::AllocateInfo, decorator: Google::Apis::ServicecontrolV1::AllocateInfo::Representation
335
+
336
+ property :operation_id, as: 'operationId'
337
+ collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation
338
+
339
+ property :service_config_id, as: 'serviceConfigId'
340
+ end
341
+ end
342
+
343
+ class AttributeValue
344
+ # @private
345
+ class Representation < Google::Apis::Core::JsonRepresentation
346
+ property :bool_value, as: 'boolValue'
347
+ property :int_value, :numeric_string => true, as: 'intValue'
348
+ property :string_value, as: 'stringValue', class: Google::Apis::ServicecontrolV1::TruncatableString, decorator: Google::Apis::ServicecontrolV1::TruncatableString::Representation
349
+
350
+ end
351
+ end
352
+
353
+ class Attributes
354
+ # @private
355
+ class Representation < Google::Apis::Core::JsonRepresentation
356
+ hash :attribute_map, as: 'attributeMap', class: Google::Apis::ServicecontrolV1::AttributeValue, decorator: Google::Apis::ServicecontrolV1::AttributeValue::Representation
357
+
358
+ property :dropped_attributes_count, as: 'droppedAttributesCount'
359
+ end
360
+ end
361
+
362
+ class AuditLog
363
+ # @private
364
+ class Representation < Google::Apis::Core::JsonRepresentation
365
+ property :authentication_info, as: 'authenticationInfo', class: Google::Apis::ServicecontrolV1::AuthenticationInfo, decorator: Google::Apis::ServicecontrolV1::AuthenticationInfo::Representation
366
+
367
+ collection :authorization_info, as: 'authorizationInfo', class: Google::Apis::ServicecontrolV1::AuthorizationInfo, decorator: Google::Apis::ServicecontrolV1::AuthorizationInfo::Representation
368
+
369
+ hash :metadata, as: 'metadata'
370
+ property :method_name, as: 'methodName'
371
+ property :num_response_items, :numeric_string => true, as: 'numResponseItems'
372
+ hash :request, as: 'request'
373
+ property :request_metadata, as: 'requestMetadata', class: Google::Apis::ServicecontrolV1::RequestMetadata, decorator: Google::Apis::ServicecontrolV1::RequestMetadata::Representation
374
+
375
+ property :resource_location, as: 'resourceLocation', class: Google::Apis::ServicecontrolV1::ResourceLocation, decorator: Google::Apis::ServicecontrolV1::ResourceLocation::Representation
376
+
377
+ property :resource_name, as: 'resourceName'
378
+ hash :resource_original_state, as: 'resourceOriginalState'
379
+ hash :response, as: 'response'
380
+ hash :service_data, as: 'serviceData'
381
+ property :service_name, as: 'serviceName'
382
+ property :status, as: 'status', class: Google::Apis::ServicecontrolV1::Status, decorator: Google::Apis::ServicecontrolV1::Status::Representation
383
+
384
+ end
385
+ end
386
+
387
+ class Auth
388
+ # @private
389
+ class Representation < Google::Apis::Core::JsonRepresentation
390
+ collection :access_levels, as: 'accessLevels'
391
+ collection :audiences, as: 'audiences'
392
+ hash :claims, as: 'claims'
393
+ property :presenter, as: 'presenter'
394
+ property :principal, as: 'principal'
395
+ end
396
+ end
397
+
398
+ class AuthenticationInfo
399
+ # @private
400
+ class Representation < Google::Apis::Core::JsonRepresentation
401
+ property :authority_selector, as: 'authoritySelector'
402
+ property :principal_email, as: 'principalEmail'
403
+ property :principal_subject, as: 'principalSubject'
404
+ collection :service_account_delegation_info, as: 'serviceAccountDelegationInfo', class: Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo, decorator: Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo::Representation
405
+
406
+ property :service_account_key_name, as: 'serviceAccountKeyName'
407
+ hash :third_party_principal, as: 'thirdPartyPrincipal'
408
+ end
409
+ end
410
+
411
+ class AuthorizationInfo
412
+ # @private
413
+ class Representation < Google::Apis::Core::JsonRepresentation
414
+ property :granted, as: 'granted'
415
+ property :permission, as: 'permission'
416
+ property :resource, as: 'resource'
417
+ property :resource_attributes, as: 'resourceAttributes', class: Google::Apis::ServicecontrolV1::Resource, decorator: Google::Apis::ServicecontrolV1::Resource::Representation
418
+
419
+ end
420
+ end
421
+
422
+ class CheckError
423
+ # @private
424
+ class Representation < Google::Apis::Core::JsonRepresentation
425
+ property :code, as: 'code'
426
+ property :detail, as: 'detail'
427
+ property :status, as: 'status', class: Google::Apis::ServicecontrolV1::Status, decorator: Google::Apis::ServicecontrolV1::Status::Representation
428
+
429
+ property :subject, as: 'subject'
430
+ end
431
+ end
432
+
433
+ class CheckInfo
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :consumer_info, as: 'consumerInfo', class: Google::Apis::ServicecontrolV1::ConsumerInfo, decorator: Google::Apis::ServicecontrolV1::ConsumerInfo::Representation
437
+
438
+ collection :unused_arguments, as: 'unusedArguments'
439
+ end
440
+ end
441
+
442
+ class CheckRequest
443
+ # @private
444
+ class Representation < Google::Apis::Core::JsonRepresentation
445
+ property :operation, as: 'operation', class: Google::Apis::ServicecontrolV1::Operation, decorator: Google::Apis::ServicecontrolV1::Operation::Representation
446
+
447
+ property :request_project_settings, as: 'requestProjectSettings'
448
+ property :service_config_id, as: 'serviceConfigId'
449
+ property :skip_activation_check, as: 'skipActivationCheck'
450
+ end
451
+ end
452
+
453
+ class CheckResponse
454
+ # @private
455
+ class Representation < Google::Apis::Core::JsonRepresentation
456
+ collection :check_errors, as: 'checkErrors', class: Google::Apis::ServicecontrolV1::CheckError, decorator: Google::Apis::ServicecontrolV1::CheckError::Representation
457
+
458
+ property :check_info, as: 'checkInfo', class: Google::Apis::ServicecontrolV1::CheckInfo, decorator: Google::Apis::ServicecontrolV1::CheckInfo::Representation
459
+
460
+ property :operation_id, as: 'operationId'
461
+ property :quota_info, as: 'quotaInfo', class: Google::Apis::ServicecontrolV1::QuotaInfo, decorator: Google::Apis::ServicecontrolV1::QuotaInfo::Representation
462
+
463
+ property :service_config_id, as: 'serviceConfigId'
464
+ property :service_rollout_id, as: 'serviceRolloutId'
465
+ end
466
+ end
467
+
468
+ class ConsumerInfo
469
+ # @private
470
+ class Representation < Google::Apis::Core::JsonRepresentation
471
+ property :consumer_number, :numeric_string => true, as: 'consumerNumber'
472
+ property :project_number, :numeric_string => true, as: 'projectNumber'
473
+ property :type, as: 'type'
474
+ end
475
+ end
476
+
477
+ class Distribution
478
+ # @private
479
+ class Representation < Google::Apis::Core::JsonRepresentation
480
+ collection :bucket_counts, as: 'bucketCounts'
481
+ property :count, :numeric_string => true, as: 'count'
482
+ collection :exemplars, as: 'exemplars', class: Google::Apis::ServicecontrolV1::Exemplar, decorator: Google::Apis::ServicecontrolV1::Exemplar::Representation
483
+
484
+ property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::ServicecontrolV1::ExplicitBuckets, decorator: Google::Apis::ServicecontrolV1::ExplicitBuckets::Representation
485
+
486
+ property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::ServicecontrolV1::ExponentialBuckets, decorator: Google::Apis::ServicecontrolV1::ExponentialBuckets::Representation
487
+
488
+ property :linear_buckets, as: 'linearBuckets', class: Google::Apis::ServicecontrolV1::LinearBuckets, decorator: Google::Apis::ServicecontrolV1::LinearBuckets::Representation
489
+
490
+ property :maximum, as: 'maximum'
491
+ property :mean, as: 'mean'
492
+ property :minimum, as: 'minimum'
493
+ property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation'
494
+ end
495
+ end
496
+
497
+ class Exemplar
498
+ # @private
499
+ class Representation < Google::Apis::Core::JsonRepresentation
500
+ collection :attachments, as: 'attachments'
501
+ property :timestamp, as: 'timestamp'
502
+ property :value, as: 'value'
503
+ end
504
+ end
505
+
506
+ class ExplicitBuckets
507
+ # @private
508
+ class Representation < Google::Apis::Core::JsonRepresentation
509
+ collection :bounds, as: 'bounds'
510
+ end
511
+ end
512
+
513
+ class ExponentialBuckets
514
+ # @private
515
+ class Representation < Google::Apis::Core::JsonRepresentation
516
+ property :growth_factor, as: 'growthFactor'
517
+ property :num_finite_buckets, as: 'numFiniteBuckets'
518
+ property :scale, as: 'scale'
519
+ end
520
+ end
521
+
522
+ class FirstPartyPrincipal
523
+ # @private
524
+ class Representation < Google::Apis::Core::JsonRepresentation
525
+ property :principal_email, as: 'principalEmail'
526
+ hash :service_metadata, as: 'serviceMetadata'
527
+ end
528
+ end
529
+
530
+ class HttpRequest
531
+ # @private
532
+ class Representation < Google::Apis::Core::JsonRepresentation
533
+ property :cache_fill_bytes, :numeric_string => true, as: 'cacheFillBytes'
534
+ property :cache_hit, as: 'cacheHit'
535
+ property :cache_lookup, as: 'cacheLookup'
536
+ property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer'
537
+ property :latency, as: 'latency'
538
+ property :protocol, as: 'protocol'
539
+ property :referer, as: 'referer'
540
+ property :remote_ip, as: 'remoteIp'
541
+ property :request_method, as: 'requestMethod'
542
+ property :request_size, :numeric_string => true, as: 'requestSize'
543
+ property :request_url, as: 'requestUrl'
544
+ property :response_size, :numeric_string => true, as: 'responseSize'
545
+ property :server_ip, as: 'serverIp'
546
+ property :status, as: 'status'
547
+ property :user_agent, as: 'userAgent'
548
+ end
549
+ end
550
+
551
+ class LinearBuckets
552
+ # @private
553
+ class Representation < Google::Apis::Core::JsonRepresentation
554
+ property :num_finite_buckets, as: 'numFiniteBuckets'
555
+ property :offset, as: 'offset'
556
+ property :width, as: 'width'
557
+ end
558
+ end
559
+
560
+ class LogEntry
561
+ # @private
562
+ class Representation < Google::Apis::Core::JsonRepresentation
563
+ property :http_request, as: 'httpRequest', class: Google::Apis::ServicecontrolV1::HttpRequest, decorator: Google::Apis::ServicecontrolV1::HttpRequest::Representation
564
+
565
+ property :insert_id, as: 'insertId'
566
+ hash :labels, as: 'labels'
567
+ property :name, as: 'name'
568
+ property :operation, as: 'operation', class: Google::Apis::ServicecontrolV1::LogEntryOperation, decorator: Google::Apis::ServicecontrolV1::LogEntryOperation::Representation
569
+
570
+ hash :proto_payload, as: 'protoPayload'
571
+ property :severity, as: 'severity'
572
+ property :source_location, as: 'sourceLocation', class: Google::Apis::ServicecontrolV1::LogEntrySourceLocation, decorator: Google::Apis::ServicecontrolV1::LogEntrySourceLocation::Representation
573
+
574
+ hash :struct_payload, as: 'structPayload'
575
+ property :text_payload, as: 'textPayload'
576
+ property :timestamp, as: 'timestamp'
577
+ property :trace, as: 'trace'
578
+ end
579
+ end
580
+
581
+ class LogEntryOperation
582
+ # @private
583
+ class Representation < Google::Apis::Core::JsonRepresentation
584
+ property :first, as: 'first'
585
+ property :id, as: 'id'
586
+ property :last, as: 'last'
587
+ property :producer, as: 'producer'
588
+ end
589
+ end
590
+
591
+ class LogEntrySourceLocation
592
+ # @private
593
+ class Representation < Google::Apis::Core::JsonRepresentation
594
+ property :file, as: 'file'
595
+ property :function, as: 'function'
596
+ property :line, :numeric_string => true, as: 'line'
597
+ end
598
+ end
599
+
600
+ class MetricValue
601
+ # @private
602
+ class Representation < Google::Apis::Core::JsonRepresentation
603
+ property :bool_value, as: 'boolValue'
604
+ property :distribution_value, as: 'distributionValue', class: Google::Apis::ServicecontrolV1::Distribution, decorator: Google::Apis::ServicecontrolV1::Distribution::Representation
605
+
606
+ property :double_value, as: 'doubleValue'
607
+ property :end_time, as: 'endTime'
608
+ property :int64_value, :numeric_string => true, as: 'int64Value'
609
+ hash :labels, as: 'labels'
610
+ property :money_value, as: 'moneyValue', class: Google::Apis::ServicecontrolV1::Money, decorator: Google::Apis::ServicecontrolV1::Money::Representation
611
+
612
+ property :start_time, as: 'startTime'
613
+ property :string_value, as: 'stringValue'
614
+ end
615
+ end
616
+
617
+ class MetricValueSet
618
+ # @private
619
+ class Representation < Google::Apis::Core::JsonRepresentation
620
+ property :metric_name, as: 'metricName'
621
+ collection :metric_values, as: 'metricValues', class: Google::Apis::ServicecontrolV1::MetricValue, decorator: Google::Apis::ServicecontrolV1::MetricValue::Representation
622
+
623
+ end
624
+ end
625
+
626
+ class Money
627
+ # @private
628
+ class Representation < Google::Apis::Core::JsonRepresentation
629
+ property :currency_code, as: 'currencyCode'
630
+ property :nanos, as: 'nanos'
631
+ property :units, :numeric_string => true, as: 'units'
632
+ end
633
+ end
634
+
635
+ class Operation
636
+ # @private
637
+ class Representation < Google::Apis::Core::JsonRepresentation
638
+ property :consumer_id, as: 'consumerId'
639
+ property :end_time, as: 'endTime'
640
+ collection :extensions, as: 'extensions'
641
+ property :importance, as: 'importance'
642
+ hash :labels, as: 'labels'
643
+ collection :log_entries, as: 'logEntries', class: Google::Apis::ServicecontrolV1::LogEntry, decorator: Google::Apis::ServicecontrolV1::LogEntry::Representation
644
+
645
+ collection :metric_value_sets, as: 'metricValueSets', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation
646
+
647
+ property :operation_id, as: 'operationId'
648
+ property :operation_name, as: 'operationName'
649
+ property :quota_properties, as: 'quotaProperties', class: Google::Apis::ServicecontrolV1::QuotaProperties, decorator: Google::Apis::ServicecontrolV1::QuotaProperties::Representation
650
+
651
+ collection :resources, as: 'resources', class: Google::Apis::ServicecontrolV1::ResourceInfo, decorator: Google::Apis::ServicecontrolV1::ResourceInfo::Representation
652
+
653
+ property :start_time, as: 'startTime'
654
+ collection :trace_spans, as: 'traceSpans', class: Google::Apis::ServicecontrolV1::TraceSpan, decorator: Google::Apis::ServicecontrolV1::TraceSpan::Representation
655
+
656
+ hash :user_labels, as: 'userLabels'
657
+ end
658
+ end
659
+
660
+ class Peer
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ property :ip, as: 'ip'
664
+ hash :labels, as: 'labels'
665
+ property :port, :numeric_string => true, as: 'port'
666
+ property :principal, as: 'principal'
667
+ property :region_code, as: 'regionCode'
668
+ end
669
+ end
670
+
671
+ class QuotaError
672
+ # @private
673
+ class Representation < Google::Apis::Core::JsonRepresentation
674
+ property :code, as: 'code'
675
+ property :description, as: 'description'
676
+ property :status, as: 'status', class: Google::Apis::ServicecontrolV1::Status, decorator: Google::Apis::ServicecontrolV1::Status::Representation
677
+
678
+ property :subject, as: 'subject'
679
+ end
680
+ end
681
+
682
+ class QuotaInfo
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ collection :limit_exceeded, as: 'limitExceeded'
686
+ hash :quota_consumed, as: 'quotaConsumed'
687
+ collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation
688
+
689
+ end
690
+ end
691
+
692
+ class QuotaOperation
693
+ # @private
694
+ class Representation < Google::Apis::Core::JsonRepresentation
695
+ property :consumer_id, as: 'consumerId'
696
+ hash :labels, as: 'labels'
697
+ property :method_name, as: 'methodName'
698
+ property :operation_id, as: 'operationId'
699
+ collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation
700
+
701
+ property :quota_mode, as: 'quotaMode'
702
+ end
703
+ end
704
+
705
+ class QuotaProperties
706
+ # @private
707
+ class Representation < Google::Apis::Core::JsonRepresentation
708
+ property :quota_mode, as: 'quotaMode'
709
+ end
710
+ end
711
+
712
+ class ReportError
713
+ # @private
714
+ class Representation < Google::Apis::Core::JsonRepresentation
715
+ property :operation_id, as: 'operationId'
716
+ property :status, as: 'status', class: Google::Apis::ServicecontrolV1::Status, decorator: Google::Apis::ServicecontrolV1::Status::Representation
717
+
718
+ end
719
+ end
720
+
721
+ class ReportInfo
722
+ # @private
723
+ class Representation < Google::Apis::Core::JsonRepresentation
724
+ property :operation_id, as: 'operationId'
725
+ property :quota_info, as: 'quotaInfo', class: Google::Apis::ServicecontrolV1::QuotaInfo, decorator: Google::Apis::ServicecontrolV1::QuotaInfo::Representation
726
+
727
+ end
728
+ end
729
+
730
+ class ReportRequest
731
+ # @private
732
+ class Representation < Google::Apis::Core::JsonRepresentation
733
+ collection :operations, as: 'operations', class: Google::Apis::ServicecontrolV1::Operation, decorator: Google::Apis::ServicecontrolV1::Operation::Representation
734
+
735
+ property :service_config_id, as: 'serviceConfigId'
736
+ end
737
+ end
738
+
739
+ class ReportResponse
740
+ # @private
741
+ class Representation < Google::Apis::Core::JsonRepresentation
742
+ collection :report_errors, as: 'reportErrors', class: Google::Apis::ServicecontrolV1::ReportError, decorator: Google::Apis::ServicecontrolV1::ReportError::Representation
743
+
744
+ collection :report_infos, as: 'reportInfos', class: Google::Apis::ServicecontrolV1::ReportInfo, decorator: Google::Apis::ServicecontrolV1::ReportInfo::Representation
745
+
746
+ property :service_config_id, as: 'serviceConfigId'
747
+ property :service_rollout_id, as: 'serviceRolloutId'
748
+ end
749
+ end
750
+
751
+ class Request
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :auth, as: 'auth', class: Google::Apis::ServicecontrolV1::Auth, decorator: Google::Apis::ServicecontrolV1::Auth::Representation
755
+
756
+ hash :headers, as: 'headers'
757
+ property :host, as: 'host'
758
+ property :id, as: 'id'
759
+ property :method_prop, as: 'method'
760
+ property :path, as: 'path'
761
+ property :protocol, as: 'protocol'
762
+ property :query, as: 'query'
763
+ property :reason, as: 'reason'
764
+ property :scheme, as: 'scheme'
765
+ property :size, :numeric_string => true, as: 'size'
766
+ property :time, as: 'time'
767
+ end
768
+ end
769
+
770
+ class RequestMetadata
771
+ # @private
772
+ class Representation < Google::Apis::Core::JsonRepresentation
773
+ property :caller_ip, as: 'callerIp'
774
+ property :caller_network, as: 'callerNetwork'
775
+ property :caller_supplied_user_agent, as: 'callerSuppliedUserAgent'
776
+ property :destination_attributes, as: 'destinationAttributes', class: Google::Apis::ServicecontrolV1::Peer, decorator: Google::Apis::ServicecontrolV1::Peer::Representation
777
+
778
+ property :request_attributes, as: 'requestAttributes', class: Google::Apis::ServicecontrolV1::Request, decorator: Google::Apis::ServicecontrolV1::Request::Representation
779
+
780
+ end
781
+ end
782
+
783
+ class Resource
784
+ # @private
785
+ class Representation < Google::Apis::Core::JsonRepresentation
786
+ hash :annotations, as: 'annotations'
787
+ property :create_time, as: 'createTime'
788
+ property :delete_time, as: 'deleteTime'
789
+ property :display_name, as: 'displayName'
790
+ property :etag, as: 'etag'
791
+ hash :labels, as: 'labels'
792
+ property :name, as: 'name'
793
+ property :service, as: 'service'
794
+ property :type, as: 'type'
795
+ property :uid, as: 'uid'
796
+ property :update_time, as: 'updateTime'
797
+ end
798
+ end
799
+
800
+ class ResourceInfo
801
+ # @private
802
+ class Representation < Google::Apis::Core::JsonRepresentation
803
+ property :resource_container, as: 'resourceContainer'
804
+ property :resource_location, as: 'resourceLocation'
805
+ property :resource_name, as: 'resourceName'
806
+ end
807
+ end
808
+
809
+ class ResourceLocation
810
+ # @private
811
+ class Representation < Google::Apis::Core::JsonRepresentation
812
+ collection :current_locations, as: 'currentLocations'
813
+ collection :original_locations, as: 'originalLocations'
814
+ end
815
+ end
816
+
817
+ class ServiceAccountDelegationInfo
818
+ # @private
819
+ class Representation < Google::Apis::Core::JsonRepresentation
820
+ property :first_party_principal, as: 'firstPartyPrincipal', class: Google::Apis::ServicecontrolV1::FirstPartyPrincipal, decorator: Google::Apis::ServicecontrolV1::FirstPartyPrincipal::Representation
821
+
822
+ property :principal_subject, as: 'principalSubject'
823
+ property :third_party_principal, as: 'thirdPartyPrincipal', class: Google::Apis::ServicecontrolV1::ThirdPartyPrincipal, decorator: Google::Apis::ServicecontrolV1::ThirdPartyPrincipal::Representation
824
+
825
+ end
826
+ end
827
+
828
+ class SpanContext
829
+ # @private
830
+ class Representation < Google::Apis::Core::JsonRepresentation
831
+ property :span_name, as: 'spanName'
832
+ end
833
+ end
834
+
835
+ class Status
836
+ # @private
837
+ class Representation < Google::Apis::Core::JsonRepresentation
838
+ property :code, as: 'code'
839
+ collection :details, as: 'details'
840
+ property :message, as: 'message'
841
+ end
842
+ end
843
+
844
+ class ThirdPartyPrincipal
845
+ # @private
846
+ class Representation < Google::Apis::Core::JsonRepresentation
847
+ hash :third_party_claims, as: 'thirdPartyClaims'
848
+ end
849
+ end
850
+
851
+ class TraceSpan
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ property :attributes, as: 'attributes', class: Google::Apis::ServicecontrolV1::Attributes, decorator: Google::Apis::ServicecontrolV1::Attributes::Representation
855
+
856
+ property :child_span_count, as: 'childSpanCount'
857
+ property :display_name, as: 'displayName', class: Google::Apis::ServicecontrolV1::TruncatableString, decorator: Google::Apis::ServicecontrolV1::TruncatableString::Representation
858
+
859
+ property :end_time, as: 'endTime'
860
+ property :name, as: 'name'
861
+ property :parent_span_id, as: 'parentSpanId'
862
+ property :same_process_as_parent_span, as: 'sameProcessAsParentSpan'
863
+ property :span_id, as: 'spanId'
864
+ property :span_kind, as: 'spanKind'
865
+ property :start_time, as: 'startTime'
866
+ property :status, as: 'status', class: Google::Apis::ServicecontrolV1::Status, decorator: Google::Apis::ServicecontrolV1::Status::Representation
867
+
868
+ end
869
+ end
870
+
871
+ class TruncatableString
872
+ # @private
873
+ class Representation < Google::Apis::Core::JsonRepresentation
874
+ property :truncated_byte_count, as: 'truncatedByteCount'
875
+ property :value, as: 'value'
876
+ end
877
+ end
878
+ end
879
+ end
880
+ end