google-apis-networkconnectivity_v1alpha1 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 NetworkconnectivityV1alpha1
18
+ # Version of the google-apis-networkconnectivity_v1alpha1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.2"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20210129"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,742 @@
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 NetworkconnectivityV1alpha1
24
+
25
+ class AttributeValue
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Attributes
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AuditConfig
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AuditLogConfig
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class BillingView
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Binding
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Distribution
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Empty
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Exemplar
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ExplicitBuckets
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ExponentialBuckets
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class Expr
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleLongrunningCancelOperationRequest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleLongrunningListOperationsResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleLongrunningOperation
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleRpcStatus
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class HttpRequest
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Hub
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class LinearBuckets
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListHubsResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ListLocationsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ListSpokesResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Location
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class LogEntry
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class LogEntryOperation
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class LogEntrySourceLocation
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class MetricValue
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class MetricValueSet
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Money
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class Operation
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class OperationMetadata
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Policy
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 ReportRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ResourceInfo
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class RouterApplianceInstance
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class SetIamPolicyRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class Spoke
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class TestIamPermissionsRequest
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class TestIamPermissionsResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class TraceSpan
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class TruncatableString
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class AttributeValue
278
+ # @private
279
+ class Representation < Google::Apis::Core::JsonRepresentation
280
+ property :bool_value, as: 'boolValue'
281
+ property :int_value, :numeric_string => true, as: 'intValue'
282
+ property :string_value, as: 'stringValue', class: Google::Apis::NetworkconnectivityV1alpha1::TruncatableString, decorator: Google::Apis::NetworkconnectivityV1alpha1::TruncatableString::Representation
283
+
284
+ end
285
+ end
286
+
287
+ class Attributes
288
+ # @private
289
+ class Representation < Google::Apis::Core::JsonRepresentation
290
+ hash :attribute_map, as: 'attributeMap', class: Google::Apis::NetworkconnectivityV1alpha1::AttributeValue, decorator: Google::Apis::NetworkconnectivityV1alpha1::AttributeValue::Representation
291
+
292
+ property :dropped_attributes_count, as: 'droppedAttributesCount'
293
+ end
294
+ end
295
+
296
+ class AuditConfig
297
+ # @private
298
+ class Representation < Google::Apis::Core::JsonRepresentation
299
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::NetworkconnectivityV1alpha1::AuditLogConfig, decorator: Google::Apis::NetworkconnectivityV1alpha1::AuditLogConfig::Representation
300
+
301
+ property :service, as: 'service'
302
+ end
303
+ end
304
+
305
+ class AuditLogConfig
306
+ # @private
307
+ class Representation < Google::Apis::Core::JsonRepresentation
308
+ collection :exempted_members, as: 'exemptedMembers'
309
+ property :log_type, as: 'logType'
310
+ end
311
+ end
312
+
313
+ class BillingView
314
+ # @private
315
+ class Representation < Google::Apis::Core::JsonRepresentation
316
+ collection :report_requests, as: 'reportRequests', class: Google::Apis::NetworkconnectivityV1alpha1::ReportRequest, decorator: Google::Apis::NetworkconnectivityV1alpha1::ReportRequest::Representation
317
+
318
+ end
319
+ end
320
+
321
+ class Binding
322
+ # @private
323
+ class Representation < Google::Apis::Core::JsonRepresentation
324
+ property :condition, as: 'condition', class: Google::Apis::NetworkconnectivityV1alpha1::Expr, decorator: Google::Apis::NetworkconnectivityV1alpha1::Expr::Representation
325
+
326
+ collection :members, as: 'members'
327
+ property :role, as: 'role'
328
+ end
329
+ end
330
+
331
+ class Distribution
332
+ # @private
333
+ class Representation < Google::Apis::Core::JsonRepresentation
334
+ collection :bucket_counts, as: 'bucketCounts'
335
+ property :count, :numeric_string => true, as: 'count'
336
+ collection :exemplars, as: 'exemplars', class: Google::Apis::NetworkconnectivityV1alpha1::Exemplar, decorator: Google::Apis::NetworkconnectivityV1alpha1::Exemplar::Representation
337
+
338
+ property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::NetworkconnectivityV1alpha1::ExplicitBuckets, decorator: Google::Apis::NetworkconnectivityV1alpha1::ExplicitBuckets::Representation
339
+
340
+ property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::NetworkconnectivityV1alpha1::ExponentialBuckets, decorator: Google::Apis::NetworkconnectivityV1alpha1::ExponentialBuckets::Representation
341
+
342
+ property :linear_buckets, as: 'linearBuckets', class: Google::Apis::NetworkconnectivityV1alpha1::LinearBuckets, decorator: Google::Apis::NetworkconnectivityV1alpha1::LinearBuckets::Representation
343
+
344
+ property :maximum, as: 'maximum'
345
+ property :mean, as: 'mean'
346
+ property :minimum, as: 'minimum'
347
+ property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation'
348
+ end
349
+ end
350
+
351
+ class Empty
352
+ # @private
353
+ class Representation < Google::Apis::Core::JsonRepresentation
354
+ end
355
+ end
356
+
357
+ class Exemplar
358
+ # @private
359
+ class Representation < Google::Apis::Core::JsonRepresentation
360
+ collection :attachments, as: 'attachments'
361
+ property :timestamp, as: 'timestamp'
362
+ property :value, as: 'value'
363
+ end
364
+ end
365
+
366
+ class ExplicitBuckets
367
+ # @private
368
+ class Representation < Google::Apis::Core::JsonRepresentation
369
+ collection :bounds, as: 'bounds'
370
+ end
371
+ end
372
+
373
+ class ExponentialBuckets
374
+ # @private
375
+ class Representation < Google::Apis::Core::JsonRepresentation
376
+ property :growth_factor, as: 'growthFactor'
377
+ property :num_finite_buckets, as: 'numFiniteBuckets'
378
+ property :scale, as: 'scale'
379
+ end
380
+ end
381
+
382
+ class Expr
383
+ # @private
384
+ class Representation < Google::Apis::Core::JsonRepresentation
385
+ property :description, as: 'description'
386
+ property :expression, as: 'expression'
387
+ property :location, as: 'location'
388
+ property :title, as: 'title'
389
+ end
390
+ end
391
+
392
+ class GoogleLongrunningCancelOperationRequest
393
+ # @private
394
+ class Representation < Google::Apis::Core::JsonRepresentation
395
+ end
396
+ end
397
+
398
+ class GoogleLongrunningListOperationsResponse
399
+ # @private
400
+ class Representation < Google::Apis::Core::JsonRepresentation
401
+ property :next_page_token, as: 'nextPageToken'
402
+ collection :operations, as: 'operations', class: Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation, decorator: Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation::Representation
403
+
404
+ end
405
+ end
406
+
407
+ class GoogleLongrunningOperation
408
+ # @private
409
+ class Representation < Google::Apis::Core::JsonRepresentation
410
+ property :done, as: 'done'
411
+ property :error, as: 'error', class: Google::Apis::NetworkconnectivityV1alpha1::GoogleRpcStatus, decorator: Google::Apis::NetworkconnectivityV1alpha1::GoogleRpcStatus::Representation
412
+
413
+ hash :metadata, as: 'metadata'
414
+ property :name, as: 'name'
415
+ hash :response, as: 'response'
416
+ end
417
+ end
418
+
419
+ class GoogleRpcStatus
420
+ # @private
421
+ class Representation < Google::Apis::Core::JsonRepresentation
422
+ property :code, as: 'code'
423
+ collection :details, as: 'details'
424
+ property :message, as: 'message'
425
+ end
426
+ end
427
+
428
+ class HttpRequest
429
+ # @private
430
+ class Representation < Google::Apis::Core::JsonRepresentation
431
+ property :cache_fill_bytes, :numeric_string => true, as: 'cacheFillBytes'
432
+ property :cache_hit, as: 'cacheHit'
433
+ property :cache_lookup, as: 'cacheLookup'
434
+ property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer'
435
+ property :latency, as: 'latency'
436
+ property :protocol, as: 'protocol'
437
+ property :referer, as: 'referer'
438
+ property :remote_ip, as: 'remoteIp'
439
+ property :request_method, as: 'requestMethod'
440
+ property :request_size, :numeric_string => true, as: 'requestSize'
441
+ property :request_url, as: 'requestUrl'
442
+ property :response_size, :numeric_string => true, as: 'responseSize'
443
+ property :server_ip, as: 'serverIp'
444
+ property :status, as: 'status'
445
+ property :user_agent, as: 'userAgent'
446
+ end
447
+ end
448
+
449
+ class Hub
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ property :create_time, as: 'createTime'
453
+ property :description, as: 'description'
454
+ hash :labels, as: 'labels'
455
+ property :name, as: 'name'
456
+ collection :spokes, as: 'spokes'
457
+ property :state, as: 'state'
458
+ property :unique_id, as: 'uniqueId'
459
+ property :update_time, as: 'updateTime'
460
+ end
461
+ end
462
+
463
+ class LinearBuckets
464
+ # @private
465
+ class Representation < Google::Apis::Core::JsonRepresentation
466
+ property :num_finite_buckets, as: 'numFiniteBuckets'
467
+ property :offset, as: 'offset'
468
+ property :width, as: 'width'
469
+ end
470
+ end
471
+
472
+ class ListHubsResponse
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ collection :hubs, as: 'hubs', class: Google::Apis::NetworkconnectivityV1alpha1::Hub, decorator: Google::Apis::NetworkconnectivityV1alpha1::Hub::Representation
476
+
477
+ property :next_page_token, as: 'nextPageToken'
478
+ collection :unreachable, as: 'unreachable'
479
+ end
480
+ end
481
+
482
+ class ListLocationsResponse
483
+ # @private
484
+ class Representation < Google::Apis::Core::JsonRepresentation
485
+ collection :locations, as: 'locations', class: Google::Apis::NetworkconnectivityV1alpha1::Location, decorator: Google::Apis::NetworkconnectivityV1alpha1::Location::Representation
486
+
487
+ property :next_page_token, as: 'nextPageToken'
488
+ end
489
+ end
490
+
491
+ class ListSpokesResponse
492
+ # @private
493
+ class Representation < Google::Apis::Core::JsonRepresentation
494
+ property :next_page_token, as: 'nextPageToken'
495
+ collection :spokes, as: 'spokes', class: Google::Apis::NetworkconnectivityV1alpha1::Spoke, decorator: Google::Apis::NetworkconnectivityV1alpha1::Spoke::Representation
496
+
497
+ collection :unreachable, as: 'unreachable'
498
+ end
499
+ end
500
+
501
+ class Location
502
+ # @private
503
+ class Representation < Google::Apis::Core::JsonRepresentation
504
+ property :display_name, as: 'displayName'
505
+ hash :labels, as: 'labels'
506
+ property :location_id, as: 'locationId'
507
+ hash :metadata, as: 'metadata'
508
+ property :name, as: 'name'
509
+ end
510
+ end
511
+
512
+ class LogEntry
513
+ # @private
514
+ class Representation < Google::Apis::Core::JsonRepresentation
515
+ property :http_request, as: 'httpRequest', class: Google::Apis::NetworkconnectivityV1alpha1::HttpRequest, decorator: Google::Apis::NetworkconnectivityV1alpha1::HttpRequest::Representation
516
+
517
+ property :insert_id, as: 'insertId'
518
+ hash :labels, as: 'labels'
519
+ property :name, as: 'name'
520
+ property :operation, as: 'operation', class: Google::Apis::NetworkconnectivityV1alpha1::LogEntryOperation, decorator: Google::Apis::NetworkconnectivityV1alpha1::LogEntryOperation::Representation
521
+
522
+ hash :proto_payload, as: 'protoPayload'
523
+ property :severity, as: 'severity'
524
+ property :source_location, as: 'sourceLocation', class: Google::Apis::NetworkconnectivityV1alpha1::LogEntrySourceLocation, decorator: Google::Apis::NetworkconnectivityV1alpha1::LogEntrySourceLocation::Representation
525
+
526
+ hash :struct_payload, as: 'structPayload'
527
+ property :text_payload, as: 'textPayload'
528
+ property :timestamp, as: 'timestamp'
529
+ property :trace, as: 'trace'
530
+ end
531
+ end
532
+
533
+ class LogEntryOperation
534
+ # @private
535
+ class Representation < Google::Apis::Core::JsonRepresentation
536
+ property :first, as: 'first'
537
+ property :id, as: 'id'
538
+ property :last, as: 'last'
539
+ property :producer, as: 'producer'
540
+ end
541
+ end
542
+
543
+ class LogEntrySourceLocation
544
+ # @private
545
+ class Representation < Google::Apis::Core::JsonRepresentation
546
+ property :file, as: 'file'
547
+ property :function, as: 'function'
548
+ property :line, :numeric_string => true, as: 'line'
549
+ end
550
+ end
551
+
552
+ class MetricValue
553
+ # @private
554
+ class Representation < Google::Apis::Core::JsonRepresentation
555
+ property :bool_value, as: 'boolValue'
556
+ property :distribution_value, as: 'distributionValue', class: Google::Apis::NetworkconnectivityV1alpha1::Distribution, decorator: Google::Apis::NetworkconnectivityV1alpha1::Distribution::Representation
557
+
558
+ property :double_value, as: 'doubleValue'
559
+ property :end_time, as: 'endTime'
560
+ property :int64_value, :numeric_string => true, as: 'int64Value'
561
+ hash :labels, as: 'labels'
562
+ property :money_value, as: 'moneyValue', class: Google::Apis::NetworkconnectivityV1alpha1::Money, decorator: Google::Apis::NetworkconnectivityV1alpha1::Money::Representation
563
+
564
+ property :start_time, as: 'startTime'
565
+ property :string_value, as: 'stringValue'
566
+ end
567
+ end
568
+
569
+ class MetricValueSet
570
+ # @private
571
+ class Representation < Google::Apis::Core::JsonRepresentation
572
+ property :metric_name, as: 'metricName'
573
+ collection :metric_values, as: 'metricValues', class: Google::Apis::NetworkconnectivityV1alpha1::MetricValue, decorator: Google::Apis::NetworkconnectivityV1alpha1::MetricValue::Representation
574
+
575
+ end
576
+ end
577
+
578
+ class Money
579
+ # @private
580
+ class Representation < Google::Apis::Core::JsonRepresentation
581
+ property :currency_code, as: 'currencyCode'
582
+ property :nanos, as: 'nanos'
583
+ property :units, :numeric_string => true, as: 'units'
584
+ end
585
+ end
586
+
587
+ class Operation
588
+ # @private
589
+ class Representation < Google::Apis::Core::JsonRepresentation
590
+ property :consumer_id, as: 'consumerId'
591
+ property :end_time, as: 'endTime'
592
+ collection :extensions, as: 'extensions'
593
+ property :importance, as: 'importance'
594
+ hash :labels, as: 'labels'
595
+ collection :log_entries, as: 'logEntries', class: Google::Apis::NetworkconnectivityV1alpha1::LogEntry, decorator: Google::Apis::NetworkconnectivityV1alpha1::LogEntry::Representation
596
+
597
+ collection :metric_value_sets, as: 'metricValueSets', class: Google::Apis::NetworkconnectivityV1alpha1::MetricValueSet, decorator: Google::Apis::NetworkconnectivityV1alpha1::MetricValueSet::Representation
598
+
599
+ property :operation_id, as: 'operationId'
600
+ property :operation_name, as: 'operationName'
601
+ property :quota_properties, as: 'quotaProperties', class: Google::Apis::NetworkconnectivityV1alpha1::QuotaProperties, decorator: Google::Apis::NetworkconnectivityV1alpha1::QuotaProperties::Representation
602
+
603
+ collection :resources, as: 'resources', class: Google::Apis::NetworkconnectivityV1alpha1::ResourceInfo, decorator: Google::Apis::NetworkconnectivityV1alpha1::ResourceInfo::Representation
604
+
605
+ property :start_time, as: 'startTime'
606
+ collection :trace_spans, as: 'traceSpans', class: Google::Apis::NetworkconnectivityV1alpha1::TraceSpan, decorator: Google::Apis::NetworkconnectivityV1alpha1::TraceSpan::Representation
607
+
608
+ hash :user_labels, as: 'userLabels'
609
+ end
610
+ end
611
+
612
+ class OperationMetadata
613
+ # @private
614
+ class Representation < Google::Apis::Core::JsonRepresentation
615
+ property :api_version, as: 'apiVersion'
616
+ property :create_time, as: 'createTime'
617
+ property :end_time, as: 'endTime'
618
+ property :requested_cancellation, as: 'requestedCancellation'
619
+ property :status_message, as: 'statusMessage'
620
+ property :target, as: 'target'
621
+ property :verb, as: 'verb'
622
+ end
623
+ end
624
+
625
+ class Policy
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::NetworkconnectivityV1alpha1::AuditConfig, decorator: Google::Apis::NetworkconnectivityV1alpha1::AuditConfig::Representation
629
+
630
+ collection :bindings, as: 'bindings', class: Google::Apis::NetworkconnectivityV1alpha1::Binding, decorator: Google::Apis::NetworkconnectivityV1alpha1::Binding::Representation
631
+
632
+ property :etag, :base64 => true, as: 'etag'
633
+ property :version, as: 'version'
634
+ end
635
+ end
636
+
637
+ class QuotaProperties
638
+ # @private
639
+ class Representation < Google::Apis::Core::JsonRepresentation
640
+ property :quota_mode, as: 'quotaMode'
641
+ end
642
+ end
643
+
644
+ class ReportRequest
645
+ # @private
646
+ class Representation < Google::Apis::Core::JsonRepresentation
647
+ collection :operations, as: 'operations', class: Google::Apis::NetworkconnectivityV1alpha1::Operation, decorator: Google::Apis::NetworkconnectivityV1alpha1::Operation::Representation
648
+
649
+ property :service_config_id, as: 'serviceConfigId'
650
+ property :service_name, as: 'serviceName'
651
+ end
652
+ end
653
+
654
+ class ResourceInfo
655
+ # @private
656
+ class Representation < Google::Apis::Core::JsonRepresentation
657
+ property :resource_container, as: 'resourceContainer'
658
+ property :resource_location, as: 'resourceLocation'
659
+ property :resource_name, as: 'resourceName'
660
+ end
661
+ end
662
+
663
+ class RouterApplianceInstance
664
+ # @private
665
+ class Representation < Google::Apis::Core::JsonRepresentation
666
+ property :ip_address, as: 'ipAddress'
667
+ property :network_interface, as: 'networkInterface'
668
+ property :virtual_machine, as: 'virtualMachine'
669
+ end
670
+ end
671
+
672
+ class SetIamPolicyRequest
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ property :policy, as: 'policy', class: Google::Apis::NetworkconnectivityV1alpha1::Policy, decorator: Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
676
+
677
+ property :update_mask, as: 'updateMask'
678
+ end
679
+ end
680
+
681
+ class Spoke
682
+ # @private
683
+ class Representation < Google::Apis::Core::JsonRepresentation
684
+ property :create_time, as: 'createTime'
685
+ property :description, as: 'description'
686
+ property :hub, as: 'hub'
687
+ hash :labels, as: 'labels'
688
+ collection :linked_interconnect_attachments, as: 'linkedInterconnectAttachments'
689
+ collection :linked_router_appliance_instances, as: 'linkedRouterApplianceInstances', class: Google::Apis::NetworkconnectivityV1alpha1::RouterApplianceInstance, decorator: Google::Apis::NetworkconnectivityV1alpha1::RouterApplianceInstance::Representation
690
+
691
+ collection :linked_vpn_tunnels, as: 'linkedVpnTunnels'
692
+ property :name, as: 'name'
693
+ property :state, as: 'state'
694
+ property :unique_id, as: 'uniqueId'
695
+ property :update_time, as: 'updateTime'
696
+ end
697
+ end
698
+
699
+ class TestIamPermissionsRequest
700
+ # @private
701
+ class Representation < Google::Apis::Core::JsonRepresentation
702
+ collection :permissions, as: 'permissions'
703
+ end
704
+ end
705
+
706
+ class TestIamPermissionsResponse
707
+ # @private
708
+ class Representation < Google::Apis::Core::JsonRepresentation
709
+ collection :permissions, as: 'permissions'
710
+ end
711
+ end
712
+
713
+ class TraceSpan
714
+ # @private
715
+ class Representation < Google::Apis::Core::JsonRepresentation
716
+ property :attributes, as: 'attributes', class: Google::Apis::NetworkconnectivityV1alpha1::Attributes, decorator: Google::Apis::NetworkconnectivityV1alpha1::Attributes::Representation
717
+
718
+ property :child_span_count, as: 'childSpanCount'
719
+ property :display_name, as: 'displayName', class: Google::Apis::NetworkconnectivityV1alpha1::TruncatableString, decorator: Google::Apis::NetworkconnectivityV1alpha1::TruncatableString::Representation
720
+
721
+ property :end_time, as: 'endTime'
722
+ property :name, as: 'name'
723
+ property :parent_span_id, as: 'parentSpanId'
724
+ property :same_process_as_parent_span, as: 'sameProcessAsParentSpan'
725
+ property :span_id, as: 'spanId'
726
+ property :span_kind, as: 'spanKind'
727
+ property :start_time, as: 'startTime'
728
+ property :status, as: 'status', class: Google::Apis::NetworkconnectivityV1alpha1::GoogleRpcStatus, decorator: Google::Apis::NetworkconnectivityV1alpha1::GoogleRpcStatus::Representation
729
+
730
+ end
731
+ end
732
+
733
+ class TruncatableString
734
+ # @private
735
+ class Representation < Google::Apis::Core::JsonRepresentation
736
+ property :truncated_byte_count, as: 'truncatedByteCount'
737
+ property :value, as: 'value'
738
+ end
739
+ end
740
+ end
741
+ end
742
+ end