google-apis-networkservices_v1 0.10.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -82,187 +82,811 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class Gateway
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GrpcRoute
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GrpcRouteDestination
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GrpcRouteFaultInjectionPolicy
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GrpcRouteFaultInjectionPolicyAbort
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GrpcRouteFaultInjectionPolicyDelay
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GrpcRouteHeaderMatch
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GrpcRouteMethodMatch
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GrpcRouteRetryPolicy
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GrpcRouteRouteAction
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GrpcRouteRouteMatch
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GrpcRouteRouteRule
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class HttpRoute
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class HttpRouteCorsPolicy
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class HttpRouteDestination
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class HttpRouteFaultInjectionPolicy
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class HttpRouteFaultInjectionPolicyAbort
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class HttpRouteFaultInjectionPolicyDelay
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class HttpRouteHeaderMatch
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class HttpRouteHeaderMatchIntegerRange
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class HttpRouteHeaderModifier
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class HttpRouteQueryParameterMatch
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class HttpRouteRedirect
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class HttpRouteRequestMirrorPolicy
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class HttpRouteRetryPolicy
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class HttpRouteRouteAction
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class HttpRouteRouteMatch
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class HttpRouteRouteRule
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class HttpRouteUrlRewrite
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
85
259
  class ListEndpointPoliciesResponse
86
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
261
 
88
262
  include Google::Apis::Core::JsonObjectSupport
89
263
  end
90
264
 
265
+ class ListGatewaysResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ListGrpcRoutesResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ListHttpRoutesResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
91
283
  class ListLocationsResponse
92
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
285
 
94
286
  include Google::Apis::Core::JsonObjectSupport
95
287
  end
96
288
 
289
+ class ListMeshesResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
97
295
  class ListOperationsResponse
98
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
297
 
100
298
  include Google::Apis::Core::JsonObjectSupport
101
299
  end
102
300
 
103
- class ListServiceBindingsResponse
104
- class Representation < Google::Apis::Core::JsonRepresentation; end
105
-
106
- include Google::Apis::Core::JsonObjectSupport
301
+ class ListServiceBindingsResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class ListTcpRoutesResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class ListTlsRoutesResponse
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class Location
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class Mesh
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class Operation
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class OperationMetadata
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class Policy
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class ServiceBinding
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class SetIamPolicyRequest
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class Status
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class TcpRoute
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class TcpRouteRouteAction
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class TcpRouteRouteDestination
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class TcpRouteRouteMatch
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class TcpRouteRouteRule
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class TestIamPermissionsRequest
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class TestIamPermissionsResponse
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class TlsRoute
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class TlsRouteRouteAction
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class TlsRouteRouteDestination
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class TlsRouteRouteMatch
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class TlsRouteRouteRule
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class TrafficPortSelector
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class AuditConfig
446
+ # @private
447
+ class Representation < Google::Apis::Core::JsonRepresentation
448
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::NetworkservicesV1::AuditLogConfig, decorator: Google::Apis::NetworkservicesV1::AuditLogConfig::Representation
449
+
450
+ property :service, as: 'service'
451
+ end
452
+ end
453
+
454
+ class AuditLogConfig
455
+ # @private
456
+ class Representation < Google::Apis::Core::JsonRepresentation
457
+ collection :exempted_members, as: 'exemptedMembers'
458
+ property :log_type, as: 'logType'
459
+ end
460
+ end
461
+
462
+ class Binding
463
+ # @private
464
+ class Representation < Google::Apis::Core::JsonRepresentation
465
+ property :condition, as: 'condition', class: Google::Apis::NetworkservicesV1::Expr, decorator: Google::Apis::NetworkservicesV1::Expr::Representation
466
+
467
+ collection :members, as: 'members'
468
+ property :role, as: 'role'
469
+ end
470
+ end
471
+
472
+ class CancelOperationRequest
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ end
476
+ end
477
+
478
+ class Empty
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ end
482
+ end
483
+
484
+ class EndpointMatcher
485
+ # @private
486
+ class Representation < Google::Apis::Core::JsonRepresentation
487
+ property :metadata_label_matcher, as: 'metadataLabelMatcher', class: Google::Apis::NetworkservicesV1::EndpointMatcherMetadataLabelMatcher, decorator: Google::Apis::NetworkservicesV1::EndpointMatcherMetadataLabelMatcher::Representation
488
+
489
+ end
490
+ end
491
+
492
+ class EndpointMatcherMetadataLabelMatcher
493
+ # @private
494
+ class Representation < Google::Apis::Core::JsonRepresentation
495
+ property :metadata_label_match_criteria, as: 'metadataLabelMatchCriteria'
496
+ collection :metadata_labels, as: 'metadataLabels', class: Google::Apis::NetworkservicesV1::EndpointMatcherMetadataLabelMatcherMetadataLabels, decorator: Google::Apis::NetworkservicesV1::EndpointMatcherMetadataLabelMatcherMetadataLabels::Representation
497
+
498
+ end
499
+ end
500
+
501
+ class EndpointMatcherMetadataLabelMatcherMetadataLabels
502
+ # @private
503
+ class Representation < Google::Apis::Core::JsonRepresentation
504
+ property :label_name, as: 'labelName'
505
+ property :label_value, as: 'labelValue'
506
+ end
507
+ end
508
+
509
+ class EndpointPolicy
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ property :authorization_policy, as: 'authorizationPolicy'
513
+ property :client_tls_policy, as: 'clientTlsPolicy'
514
+ property :create_time, as: 'createTime'
515
+ property :description, as: 'description'
516
+ property :endpoint_matcher, as: 'endpointMatcher', class: Google::Apis::NetworkservicesV1::EndpointMatcher, decorator: Google::Apis::NetworkservicesV1::EndpointMatcher::Representation
517
+
518
+ hash :labels, as: 'labels'
519
+ property :name, as: 'name'
520
+ property :server_tls_policy, as: 'serverTlsPolicy'
521
+ property :traffic_port_selector, as: 'trafficPortSelector', class: Google::Apis::NetworkservicesV1::TrafficPortSelector, decorator: Google::Apis::NetworkservicesV1::TrafficPortSelector::Representation
522
+
523
+ property :type, as: 'type'
524
+ property :update_time, as: 'updateTime'
525
+ end
526
+ end
527
+
528
+ class Expr
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ property :description, as: 'description'
532
+ property :expression, as: 'expression'
533
+ property :location, as: 'location'
534
+ property :title, as: 'title'
535
+ end
536
+ end
537
+
538
+ class Gateway
539
+ # @private
540
+ class Representation < Google::Apis::Core::JsonRepresentation
541
+ property :create_time, as: 'createTime'
542
+ property :description, as: 'description'
543
+ hash :labels, as: 'labels'
544
+ property :name, as: 'name'
545
+ collection :ports, as: 'ports'
546
+ property :scope, as: 'scope'
547
+ property :self_link, as: 'selfLink'
548
+ property :server_tls_policy, as: 'serverTlsPolicy'
549
+ property :type, as: 'type'
550
+ property :update_time, as: 'updateTime'
551
+ end
552
+ end
553
+
554
+ class GrpcRoute
555
+ # @private
556
+ class Representation < Google::Apis::Core::JsonRepresentation
557
+ property :create_time, as: 'createTime'
558
+ property :description, as: 'description'
559
+ collection :gateways, as: 'gateways'
560
+ collection :hostnames, as: 'hostnames'
561
+ hash :labels, as: 'labels'
562
+ collection :meshes, as: 'meshes'
563
+ property :name, as: 'name'
564
+ collection :rules, as: 'rules', class: Google::Apis::NetworkservicesV1::GrpcRouteRouteRule, decorator: Google::Apis::NetworkservicesV1::GrpcRouteRouteRule::Representation
565
+
566
+ property :self_link, as: 'selfLink'
567
+ property :update_time, as: 'updateTime'
568
+ end
569
+ end
570
+
571
+ class GrpcRouteDestination
572
+ # @private
573
+ class Representation < Google::Apis::Core::JsonRepresentation
574
+ property :service_name, as: 'serviceName'
575
+ property :weight, as: 'weight'
576
+ end
577
+ end
578
+
579
+ class GrpcRouteFaultInjectionPolicy
580
+ # @private
581
+ class Representation < Google::Apis::Core::JsonRepresentation
582
+ property :abort, as: 'abort', class: Google::Apis::NetworkservicesV1::GrpcRouteFaultInjectionPolicyAbort, decorator: Google::Apis::NetworkservicesV1::GrpcRouteFaultInjectionPolicyAbort::Representation
583
+
584
+ property :delay, as: 'delay', class: Google::Apis::NetworkservicesV1::GrpcRouteFaultInjectionPolicyDelay, decorator: Google::Apis::NetworkservicesV1::GrpcRouteFaultInjectionPolicyDelay::Representation
585
+
586
+ end
587
+ end
588
+
589
+ class GrpcRouteFaultInjectionPolicyAbort
590
+ # @private
591
+ class Representation < Google::Apis::Core::JsonRepresentation
592
+ property :http_status, as: 'httpStatus'
593
+ property :percentage, as: 'percentage'
594
+ end
595
+ end
596
+
597
+ class GrpcRouteFaultInjectionPolicyDelay
598
+ # @private
599
+ class Representation < Google::Apis::Core::JsonRepresentation
600
+ property :fixed_delay, as: 'fixedDelay'
601
+ property :percentage, as: 'percentage'
602
+ end
603
+ end
604
+
605
+ class GrpcRouteHeaderMatch
606
+ # @private
607
+ class Representation < Google::Apis::Core::JsonRepresentation
608
+ property :key, as: 'key'
609
+ property :type, as: 'type'
610
+ property :value, as: 'value'
611
+ end
107
612
  end
108
613
 
109
- class Location
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
614
+ class GrpcRouteMethodMatch
615
+ # @private
616
+ class Representation < Google::Apis::Core::JsonRepresentation
617
+ property :case_sensitive, as: 'caseSensitive'
618
+ property :grpc_method, as: 'grpcMethod'
619
+ property :grpc_service, as: 'grpcService'
620
+ property :type, as: 'type'
621
+ end
622
+ end
111
623
 
112
- include Google::Apis::Core::JsonObjectSupport
624
+ class GrpcRouteRetryPolicy
625
+ # @private
626
+ class Representation < Google::Apis::Core::JsonRepresentation
627
+ property :num_retries, as: 'numRetries'
628
+ collection :retry_conditions, as: 'retryConditions'
629
+ end
113
630
  end
114
631
 
115
- class Operation
116
- class Representation < Google::Apis::Core::JsonRepresentation; end
632
+ class GrpcRouteRouteAction
633
+ # @private
634
+ class Representation < Google::Apis::Core::JsonRepresentation
635
+ collection :destinations, as: 'destinations', class: Google::Apis::NetworkservicesV1::GrpcRouteDestination, decorator: Google::Apis::NetworkservicesV1::GrpcRouteDestination::Representation
117
636
 
118
- include Google::Apis::Core::JsonObjectSupport
119
- end
637
+ property :fault_injection_policy, as: 'faultInjectionPolicy', class: Google::Apis::NetworkservicesV1::GrpcRouteFaultInjectionPolicy, decorator: Google::Apis::NetworkservicesV1::GrpcRouteFaultInjectionPolicy::Representation
120
638
 
121
- class OperationMetadata
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
639
+ property :retry_policy, as: 'retryPolicy', class: Google::Apis::NetworkservicesV1::GrpcRouteRetryPolicy, decorator: Google::Apis::NetworkservicesV1::GrpcRouteRetryPolicy::Representation
123
640
 
124
- include Google::Apis::Core::JsonObjectSupport
641
+ property :timeout, as: 'timeout'
642
+ end
125
643
  end
126
644
 
127
- class Policy
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
645
+ class GrpcRouteRouteMatch
646
+ # @private
647
+ class Representation < Google::Apis::Core::JsonRepresentation
648
+ collection :headers, as: 'headers', class: Google::Apis::NetworkservicesV1::GrpcRouteHeaderMatch, decorator: Google::Apis::NetworkservicesV1::GrpcRouteHeaderMatch::Representation
129
649
 
130
- include Google::Apis::Core::JsonObjectSupport
650
+ property :method_prop, as: 'method', class: Google::Apis::NetworkservicesV1::GrpcRouteMethodMatch, decorator: Google::Apis::NetworkservicesV1::GrpcRouteMethodMatch::Representation
651
+
652
+ end
131
653
  end
132
654
 
133
- class ServiceBinding
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
655
+ class GrpcRouteRouteRule
656
+ # @private
657
+ class Representation < Google::Apis::Core::JsonRepresentation
658
+ property :action, as: 'action', class: Google::Apis::NetworkservicesV1::GrpcRouteRouteAction, decorator: Google::Apis::NetworkservicesV1::GrpcRouteRouteAction::Representation
135
659
 
136
- include Google::Apis::Core::JsonObjectSupport
660
+ collection :matches, as: 'matches', class: Google::Apis::NetworkservicesV1::GrpcRouteRouteMatch, decorator: Google::Apis::NetworkservicesV1::GrpcRouteRouteMatch::Representation
661
+
662
+ end
137
663
  end
138
664
 
139
- class SetIamPolicyRequest
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
665
+ class HttpRoute
666
+ # @private
667
+ class Representation < Google::Apis::Core::JsonRepresentation
668
+ property :create_time, as: 'createTime'
669
+ property :description, as: 'description'
670
+ collection :gateways, as: 'gateways'
671
+ collection :hostnames, as: 'hostnames'
672
+ hash :labels, as: 'labels'
673
+ collection :meshes, as: 'meshes'
674
+ property :name, as: 'name'
675
+ collection :rules, as: 'rules', class: Google::Apis::NetworkservicesV1::HttpRouteRouteRule, decorator: Google::Apis::NetworkservicesV1::HttpRouteRouteRule::Representation
141
676
 
142
- include Google::Apis::Core::JsonObjectSupport
677
+ property :self_link, as: 'selfLink'
678
+ property :update_time, as: 'updateTime'
679
+ end
143
680
  end
144
681
 
145
- class Status
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
682
+ class HttpRouteCorsPolicy
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ property :allow_credentials, as: 'allowCredentials'
686
+ collection :allow_headers, as: 'allowHeaders'
687
+ collection :allow_methods, as: 'allowMethods'
688
+ collection :allow_origin_regexes, as: 'allowOriginRegexes'
689
+ collection :allow_origins, as: 'allowOrigins'
690
+ property :disabled, as: 'disabled'
691
+ collection :expose_headers, as: 'exposeHeaders'
692
+ property :max_age, as: 'maxAge'
693
+ end
694
+ end
147
695
 
148
- include Google::Apis::Core::JsonObjectSupport
696
+ class HttpRouteDestination
697
+ # @private
698
+ class Representation < Google::Apis::Core::JsonRepresentation
699
+ property :service_name, as: 'serviceName'
700
+ property :weight, as: 'weight'
701
+ end
149
702
  end
150
703
 
151
- class TestIamPermissionsRequest
152
- class Representation < Google::Apis::Core::JsonRepresentation; end
704
+ class HttpRouteFaultInjectionPolicy
705
+ # @private
706
+ class Representation < Google::Apis::Core::JsonRepresentation
707
+ property :abort, as: 'abort', class: Google::Apis::NetworkservicesV1::HttpRouteFaultInjectionPolicyAbort, decorator: Google::Apis::NetworkservicesV1::HttpRouteFaultInjectionPolicyAbort::Representation
153
708
 
154
- include Google::Apis::Core::JsonObjectSupport
709
+ property :delay, as: 'delay', class: Google::Apis::NetworkservicesV1::HttpRouteFaultInjectionPolicyDelay, decorator: Google::Apis::NetworkservicesV1::HttpRouteFaultInjectionPolicyDelay::Representation
710
+
711
+ end
155
712
  end
156
713
 
157
- class TestIamPermissionsResponse
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
714
+ class HttpRouteFaultInjectionPolicyAbort
715
+ # @private
716
+ class Representation < Google::Apis::Core::JsonRepresentation
717
+ property :http_status, as: 'httpStatus'
718
+ property :percentage, as: 'percentage'
719
+ end
720
+ end
159
721
 
160
- include Google::Apis::Core::JsonObjectSupport
722
+ class HttpRouteFaultInjectionPolicyDelay
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ property :fixed_delay, as: 'fixedDelay'
726
+ property :percentage, as: 'percentage'
727
+ end
161
728
  end
162
729
 
163
- class TrafficPortSelector
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
730
+ class HttpRouteHeaderMatch
731
+ # @private
732
+ class Representation < Google::Apis::Core::JsonRepresentation
733
+ property :exact_match, as: 'exactMatch'
734
+ property :header, as: 'header'
735
+ property :invert_match, as: 'invertMatch'
736
+ property :prefix_match, as: 'prefixMatch'
737
+ property :present_match, as: 'presentMatch'
738
+ property :range_match, as: 'rangeMatch', class: Google::Apis::NetworkservicesV1::HttpRouteHeaderMatchIntegerRange, decorator: Google::Apis::NetworkservicesV1::HttpRouteHeaderMatchIntegerRange::Representation
739
+
740
+ property :regex_match, as: 'regexMatch'
741
+ property :suffix_match, as: 'suffixMatch'
742
+ end
743
+ end
165
744
 
166
- include Google::Apis::Core::JsonObjectSupport
745
+ class HttpRouteHeaderMatchIntegerRange
746
+ # @private
747
+ class Representation < Google::Apis::Core::JsonRepresentation
748
+ property :end, as: 'end'
749
+ property :start, as: 'start'
750
+ end
167
751
  end
168
752
 
169
- class AuditConfig
753
+ class HttpRouteHeaderModifier
170
754
  # @private
171
755
  class Representation < Google::Apis::Core::JsonRepresentation
172
- collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::NetworkservicesV1::AuditLogConfig, decorator: Google::Apis::NetworkservicesV1::AuditLogConfig::Representation
756
+ hash :add, as: 'add'
757
+ collection :remove, as: 'remove'
758
+ hash :set, as: 'set'
759
+ end
760
+ end
173
761
 
174
- property :service, as: 'service'
762
+ class HttpRouteQueryParameterMatch
763
+ # @private
764
+ class Representation < Google::Apis::Core::JsonRepresentation
765
+ property :exact_match, as: 'exactMatch'
766
+ property :present_match, as: 'presentMatch'
767
+ property :query_parameter, as: 'queryParameter'
768
+ property :regex_match, as: 'regexMatch'
175
769
  end
176
770
  end
177
771
 
178
- class AuditLogConfig
772
+ class HttpRouteRedirect
179
773
  # @private
180
774
  class Representation < Google::Apis::Core::JsonRepresentation
181
- collection :exempted_members, as: 'exemptedMembers'
182
- property :log_type, as: 'logType'
775
+ property :host_redirect, as: 'hostRedirect'
776
+ property :https_redirect, as: 'httpsRedirect'
777
+ property :path_redirect, as: 'pathRedirect'
778
+ property :port_redirect, as: 'portRedirect'
779
+ property :prefix_rewrite, as: 'prefixRewrite'
780
+ property :response_code, as: 'responseCode'
781
+ property :strip_query, as: 'stripQuery'
183
782
  end
184
783
  end
185
784
 
186
- class Binding
785
+ class HttpRouteRequestMirrorPolicy
187
786
  # @private
188
787
  class Representation < Google::Apis::Core::JsonRepresentation
189
- property :condition, as: 'condition', class: Google::Apis::NetworkservicesV1::Expr, decorator: Google::Apis::NetworkservicesV1::Expr::Representation
788
+ property :destination, as: 'destination', class: Google::Apis::NetworkservicesV1::HttpRouteDestination, decorator: Google::Apis::NetworkservicesV1::HttpRouteDestination::Representation
190
789
 
191
- collection :members, as: 'members'
192
- property :role, as: 'role'
193
790
  end
194
791
  end
195
792
 
196
- class CancelOperationRequest
793
+ class HttpRouteRetryPolicy
197
794
  # @private
198
795
  class Representation < Google::Apis::Core::JsonRepresentation
796
+ property :num_retries, as: 'numRetries'
797
+ property :per_try_timeout, as: 'perTryTimeout'
798
+ collection :retry_conditions, as: 'retryConditions'
199
799
  end
200
800
  end
201
801
 
202
- class Empty
802
+ class HttpRouteRouteAction
203
803
  # @private
204
804
  class Representation < Google::Apis::Core::JsonRepresentation
805
+ property :cors_policy, as: 'corsPolicy', class: Google::Apis::NetworkservicesV1::HttpRouteCorsPolicy, decorator: Google::Apis::NetworkservicesV1::HttpRouteCorsPolicy::Representation
806
+
807
+ collection :destinations, as: 'destinations', class: Google::Apis::NetworkservicesV1::HttpRouteDestination, decorator: Google::Apis::NetworkservicesV1::HttpRouteDestination::Representation
808
+
809
+ property :fault_injection_policy, as: 'faultInjectionPolicy', class: Google::Apis::NetworkservicesV1::HttpRouteFaultInjectionPolicy, decorator: Google::Apis::NetworkservicesV1::HttpRouteFaultInjectionPolicy::Representation
810
+
811
+ property :redirect, as: 'redirect', class: Google::Apis::NetworkservicesV1::HttpRouteRedirect, decorator: Google::Apis::NetworkservicesV1::HttpRouteRedirect::Representation
812
+
813
+ property :request_header_modifier, as: 'requestHeaderModifier', class: Google::Apis::NetworkservicesV1::HttpRouteHeaderModifier, decorator: Google::Apis::NetworkservicesV1::HttpRouteHeaderModifier::Representation
814
+
815
+ property :request_mirror_policy, as: 'requestMirrorPolicy', class: Google::Apis::NetworkservicesV1::HttpRouteRequestMirrorPolicy, decorator: Google::Apis::NetworkservicesV1::HttpRouteRequestMirrorPolicy::Representation
816
+
817
+ property :response_header_modifier, as: 'responseHeaderModifier', class: Google::Apis::NetworkservicesV1::HttpRouteHeaderModifier, decorator: Google::Apis::NetworkservicesV1::HttpRouteHeaderModifier::Representation
818
+
819
+ property :retry_policy, as: 'retryPolicy', class: Google::Apis::NetworkservicesV1::HttpRouteRetryPolicy, decorator: Google::Apis::NetworkservicesV1::HttpRouteRetryPolicy::Representation
820
+
821
+ property :timeout, as: 'timeout'
822
+ property :url_rewrite, as: 'urlRewrite', class: Google::Apis::NetworkservicesV1::HttpRouteUrlRewrite, decorator: Google::Apis::NetworkservicesV1::HttpRouteUrlRewrite::Representation
823
+
205
824
  end
206
825
  end
207
826
 
208
- class EndpointMatcher
827
+ class HttpRouteRouteMatch
209
828
  # @private
210
829
  class Representation < Google::Apis::Core::JsonRepresentation
211
- property :metadata_label_matcher, as: 'metadataLabelMatcher', class: Google::Apis::NetworkservicesV1::EndpointMatcherMetadataLabelMatcher, decorator: Google::Apis::NetworkservicesV1::EndpointMatcherMetadataLabelMatcher::Representation
830
+ property :full_path_match, as: 'fullPathMatch'
831
+ collection :headers, as: 'headers', class: Google::Apis::NetworkservicesV1::HttpRouteHeaderMatch, decorator: Google::Apis::NetworkservicesV1::HttpRouteHeaderMatch::Representation
212
832
 
833
+ property :ignore_case, as: 'ignoreCase'
834
+ property :prefix_match, as: 'prefixMatch'
835
+ collection :query_parameters, as: 'queryParameters', class: Google::Apis::NetworkservicesV1::HttpRouteQueryParameterMatch, decorator: Google::Apis::NetworkservicesV1::HttpRouteQueryParameterMatch::Representation
836
+
837
+ property :regex_match, as: 'regexMatch'
213
838
  end
214
839
  end
215
840
 
216
- class EndpointMatcherMetadataLabelMatcher
841
+ class HttpRouteRouteRule
217
842
  # @private
218
843
  class Representation < Google::Apis::Core::JsonRepresentation
219
- property :metadata_label_match_criteria, as: 'metadataLabelMatchCriteria'
220
- collection :metadata_labels, as: 'metadataLabels', class: Google::Apis::NetworkservicesV1::EndpointMatcherMetadataLabelMatcherMetadataLabels, decorator: Google::Apis::NetworkservicesV1::EndpointMatcherMetadataLabelMatcherMetadataLabels::Representation
844
+ property :action, as: 'action', class: Google::Apis::NetworkservicesV1::HttpRouteRouteAction, decorator: Google::Apis::NetworkservicesV1::HttpRouteRouteAction::Representation
845
+
846
+ collection :matches, as: 'matches', class: Google::Apis::NetworkservicesV1::HttpRouteRouteMatch, decorator: Google::Apis::NetworkservicesV1::HttpRouteRouteMatch::Representation
221
847
 
222
848
  end
223
849
  end
224
850
 
225
- class EndpointMatcherMetadataLabelMatcherMetadataLabels
851
+ class HttpRouteUrlRewrite
226
852
  # @private
227
853
  class Representation < Google::Apis::Core::JsonRepresentation
228
- property :label_name, as: 'labelName'
229
- property :label_value, as: 'labelValue'
854
+ property :host_rewrite, as: 'hostRewrite'
855
+ property :path_prefix_rewrite, as: 'pathPrefixRewrite'
230
856
  end
231
857
  end
232
858
 
233
- class EndpointPolicy
859
+ class ListEndpointPoliciesResponse
234
860
  # @private
235
861
  class Representation < Google::Apis::Core::JsonRepresentation
236
- property :authorization_policy, as: 'authorizationPolicy'
237
- property :client_tls_policy, as: 'clientTlsPolicy'
238
- property :create_time, as: 'createTime'
239
- property :description, as: 'description'
240
- property :endpoint_matcher, as: 'endpointMatcher', class: Google::Apis::NetworkservicesV1::EndpointMatcher, decorator: Google::Apis::NetworkservicesV1::EndpointMatcher::Representation
862
+ collection :endpoint_policies, as: 'endpointPolicies', class: Google::Apis::NetworkservicesV1::EndpointPolicy, decorator: Google::Apis::NetworkservicesV1::EndpointPolicy::Representation
241
863
 
242
- hash :labels, as: 'labels'
243
- property :name, as: 'name'
244
- property :server_tls_policy, as: 'serverTlsPolicy'
245
- property :traffic_port_selector, as: 'trafficPortSelector', class: Google::Apis::NetworkservicesV1::TrafficPortSelector, decorator: Google::Apis::NetworkservicesV1::TrafficPortSelector::Representation
864
+ property :next_page_token, as: 'nextPageToken'
865
+ end
866
+ end
246
867
 
247
- property :type, as: 'type'
248
- property :update_time, as: 'updateTime'
868
+ class ListGatewaysResponse
869
+ # @private
870
+ class Representation < Google::Apis::Core::JsonRepresentation
871
+ collection :gateways, as: 'gateways', class: Google::Apis::NetworkservicesV1::Gateway, decorator: Google::Apis::NetworkservicesV1::Gateway::Representation
872
+
873
+ property :next_page_token, as: 'nextPageToken'
249
874
  end
250
875
  end
251
876
 
252
- class Expr
877
+ class ListGrpcRoutesResponse
253
878
  # @private
254
879
  class Representation < Google::Apis::Core::JsonRepresentation
255
- property :description, as: 'description'
256
- property :expression, as: 'expression'
257
- property :location, as: 'location'
258
- property :title, as: 'title'
880
+ collection :grpc_routes, as: 'grpcRoutes', class: Google::Apis::NetworkservicesV1::GrpcRoute, decorator: Google::Apis::NetworkservicesV1::GrpcRoute::Representation
881
+
882
+ property :next_page_token, as: 'nextPageToken'
259
883
  end
260
884
  end
261
885
 
262
- class ListEndpointPoliciesResponse
886
+ class ListHttpRoutesResponse
263
887
  # @private
264
888
  class Representation < Google::Apis::Core::JsonRepresentation
265
- collection :endpoint_policies, as: 'endpointPolicies', class: Google::Apis::NetworkservicesV1::EndpointPolicy, decorator: Google::Apis::NetworkservicesV1::EndpointPolicy::Representation
889
+ collection :http_routes, as: 'httpRoutes', class: Google::Apis::NetworkservicesV1::HttpRoute, decorator: Google::Apis::NetworkservicesV1::HttpRoute::Representation
266
890
 
267
891
  property :next_page_token, as: 'nextPageToken'
268
892
  end
@@ -277,6 +901,15 @@ module Google
277
901
  end
278
902
  end
279
903
 
904
+ class ListMeshesResponse
905
+ # @private
906
+ class Representation < Google::Apis::Core::JsonRepresentation
907
+ collection :meshes, as: 'meshes', class: Google::Apis::NetworkservicesV1::Mesh, decorator: Google::Apis::NetworkservicesV1::Mesh::Representation
908
+
909
+ property :next_page_token, as: 'nextPageToken'
910
+ end
911
+ end
912
+
280
913
  class ListOperationsResponse
281
914
  # @private
282
915
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -295,6 +928,24 @@ module Google
295
928
  end
296
929
  end
297
930
 
931
+ class ListTcpRoutesResponse
932
+ # @private
933
+ class Representation < Google::Apis::Core::JsonRepresentation
934
+ property :next_page_token, as: 'nextPageToken'
935
+ collection :tcp_routes, as: 'tcpRoutes', class: Google::Apis::NetworkservicesV1::TcpRoute, decorator: Google::Apis::NetworkservicesV1::TcpRoute::Representation
936
+
937
+ end
938
+ end
939
+
940
+ class ListTlsRoutesResponse
941
+ # @private
942
+ class Representation < Google::Apis::Core::JsonRepresentation
943
+ property :next_page_token, as: 'nextPageToken'
944
+ collection :tls_routes, as: 'tlsRoutes', class: Google::Apis::NetworkservicesV1::TlsRoute, decorator: Google::Apis::NetworkservicesV1::TlsRoute::Representation
945
+
946
+ end
947
+ end
948
+
298
949
  class Location
299
950
  # @private
300
951
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -306,6 +957,19 @@ module Google
306
957
  end
307
958
  end
308
959
 
960
+ class Mesh
961
+ # @private
962
+ class Representation < Google::Apis::Core::JsonRepresentation
963
+ property :create_time, as: 'createTime'
964
+ property :description, as: 'description'
965
+ property :interception_port, as: 'interceptionPort'
966
+ hash :labels, as: 'labels'
967
+ property :name, as: 'name'
968
+ property :self_link, as: 'selfLink'
969
+ property :update_time, as: 'updateTime'
970
+ end
971
+ end
972
+
309
973
  class Operation
310
974
  # @private
311
975
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -373,6 +1037,57 @@ module Google
373
1037
  end
374
1038
  end
375
1039
 
1040
+ class TcpRoute
1041
+ # @private
1042
+ class Representation < Google::Apis::Core::JsonRepresentation
1043
+ property :create_time, as: 'createTime'
1044
+ property :description, as: 'description'
1045
+ collection :gateways, as: 'gateways'
1046
+ hash :labels, as: 'labels'
1047
+ collection :meshes, as: 'meshes'
1048
+ property :name, as: 'name'
1049
+ collection :rules, as: 'rules', class: Google::Apis::NetworkservicesV1::TcpRouteRouteRule, decorator: Google::Apis::NetworkservicesV1::TcpRouteRouteRule::Representation
1050
+
1051
+ property :self_link, as: 'selfLink'
1052
+ property :update_time, as: 'updateTime'
1053
+ end
1054
+ end
1055
+
1056
+ class TcpRouteRouteAction
1057
+ # @private
1058
+ class Representation < Google::Apis::Core::JsonRepresentation
1059
+ collection :destinations, as: 'destinations', class: Google::Apis::NetworkservicesV1::TcpRouteRouteDestination, decorator: Google::Apis::NetworkservicesV1::TcpRouteRouteDestination::Representation
1060
+
1061
+ property :original_destination, as: 'originalDestination'
1062
+ end
1063
+ end
1064
+
1065
+ class TcpRouteRouteDestination
1066
+ # @private
1067
+ class Representation < Google::Apis::Core::JsonRepresentation
1068
+ property :service_name, as: 'serviceName'
1069
+ property :weight, as: 'weight'
1070
+ end
1071
+ end
1072
+
1073
+ class TcpRouteRouteMatch
1074
+ # @private
1075
+ class Representation < Google::Apis::Core::JsonRepresentation
1076
+ property :address, as: 'address'
1077
+ property :port, as: 'port'
1078
+ end
1079
+ end
1080
+
1081
+ class TcpRouteRouteRule
1082
+ # @private
1083
+ class Representation < Google::Apis::Core::JsonRepresentation
1084
+ property :action, as: 'action', class: Google::Apis::NetworkservicesV1::TcpRouteRouteAction, decorator: Google::Apis::NetworkservicesV1::TcpRouteRouteAction::Representation
1085
+
1086
+ collection :matches, as: 'matches', class: Google::Apis::NetworkservicesV1::TcpRouteRouteMatch, decorator: Google::Apis::NetworkservicesV1::TcpRouteRouteMatch::Representation
1087
+
1088
+ end
1089
+ end
1090
+
376
1091
  class TestIamPermissionsRequest
377
1092
  # @private
378
1093
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -387,6 +1102,55 @@ module Google
387
1102
  end
388
1103
  end
389
1104
 
1105
+ class TlsRoute
1106
+ # @private
1107
+ class Representation < Google::Apis::Core::JsonRepresentation
1108
+ property :create_time, as: 'createTime'
1109
+ property :description, as: 'description'
1110
+ collection :gateways, as: 'gateways'
1111
+ collection :meshes, as: 'meshes'
1112
+ property :name, as: 'name'
1113
+ collection :rules, as: 'rules', class: Google::Apis::NetworkservicesV1::TlsRouteRouteRule, decorator: Google::Apis::NetworkservicesV1::TlsRouteRouteRule::Representation
1114
+
1115
+ property :self_link, as: 'selfLink'
1116
+ property :update_time, as: 'updateTime'
1117
+ end
1118
+ end
1119
+
1120
+ class TlsRouteRouteAction
1121
+ # @private
1122
+ class Representation < Google::Apis::Core::JsonRepresentation
1123
+ collection :destinations, as: 'destinations', class: Google::Apis::NetworkservicesV1::TlsRouteRouteDestination, decorator: Google::Apis::NetworkservicesV1::TlsRouteRouteDestination::Representation
1124
+
1125
+ end
1126
+ end
1127
+
1128
+ class TlsRouteRouteDestination
1129
+ # @private
1130
+ class Representation < Google::Apis::Core::JsonRepresentation
1131
+ property :service_name, as: 'serviceName'
1132
+ property :weight, as: 'weight'
1133
+ end
1134
+ end
1135
+
1136
+ class TlsRouteRouteMatch
1137
+ # @private
1138
+ class Representation < Google::Apis::Core::JsonRepresentation
1139
+ collection :alpn, as: 'alpn'
1140
+ collection :sni_host, as: 'sniHost'
1141
+ end
1142
+ end
1143
+
1144
+ class TlsRouteRouteRule
1145
+ # @private
1146
+ class Representation < Google::Apis::Core::JsonRepresentation
1147
+ property :action, as: 'action', class: Google::Apis::NetworkservicesV1::TlsRouteRouteAction, decorator: Google::Apis::NetworkservicesV1::TlsRouteRouteAction::Representation
1148
+
1149
+ collection :matches, as: 'matches', class: Google::Apis::NetworkservicesV1::TlsRouteRouteMatch, decorator: Google::Apis::NetworkservicesV1::TlsRouteRouteMatch::Representation
1150
+
1151
+ end
1152
+ end
1153
+
390
1154
  class TrafficPortSelector
391
1155
  # @private
392
1156
  class Representation < Google::Apis::Core::JsonRepresentation