google-apis-trafficdirector_v2 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module TrafficdirectorV2
18
+ # Version of the google-apis-trafficdirector_v2 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 = "20201123"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,620 @@
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 TrafficdirectorV2
24
+
25
+ class Address
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class BuildVersion
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class ClientConfig
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class ClientStatusRequest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class ClientStatusResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ClustersConfigDump
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class DoubleMatcher
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class DoubleRange
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class DynamicCluster
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class DynamicListener
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class DynamicListenerState
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DynamicRouteConfig
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DynamicScopedRouteConfigs
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class Extension
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleRe2
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class InlineScopedRouteConfigs
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ListMatcher
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ListenersConfigDump
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Locality
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Node
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class NodeMatcher
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class NullMatch
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class PathSegment
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class PerXdsConfig
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class Pipe
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class RegexMatcher
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class RoutesConfigDump
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class ScopedRoutesConfigDump
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class SemanticVersion
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class SocketAddress
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class StaticCluster
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class StaticListener
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class StaticRouteConfig
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class StringMatcher
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class StructMatcher
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class UpdateFailureState
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ValueMatcher
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class Address
248
+ # @private
249
+ class Representation < Google::Apis::Core::JsonRepresentation
250
+ property :pipe, as: 'pipe', class: Google::Apis::TrafficdirectorV2::Pipe, decorator: Google::Apis::TrafficdirectorV2::Pipe::Representation
251
+
252
+ property :socket_address, as: 'socketAddress', class: Google::Apis::TrafficdirectorV2::SocketAddress, decorator: Google::Apis::TrafficdirectorV2::SocketAddress::Representation
253
+
254
+ end
255
+ end
256
+
257
+ class BuildVersion
258
+ # @private
259
+ class Representation < Google::Apis::Core::JsonRepresentation
260
+ hash :metadata, as: 'metadata'
261
+ property :version, as: 'version', class: Google::Apis::TrafficdirectorV2::SemanticVersion, decorator: Google::Apis::TrafficdirectorV2::SemanticVersion::Representation
262
+
263
+ end
264
+ end
265
+
266
+ class ClientConfig
267
+ # @private
268
+ class Representation < Google::Apis::Core::JsonRepresentation
269
+ property :node, as: 'node', class: Google::Apis::TrafficdirectorV2::Node, decorator: Google::Apis::TrafficdirectorV2::Node::Representation
270
+
271
+ collection :xds_config, as: 'xdsConfig', class: Google::Apis::TrafficdirectorV2::PerXdsConfig, decorator: Google::Apis::TrafficdirectorV2::PerXdsConfig::Representation
272
+
273
+ end
274
+ end
275
+
276
+ class ClientStatusRequest
277
+ # @private
278
+ class Representation < Google::Apis::Core::JsonRepresentation
279
+ collection :node_matchers, as: 'nodeMatchers', class: Google::Apis::TrafficdirectorV2::NodeMatcher, decorator: Google::Apis::TrafficdirectorV2::NodeMatcher::Representation
280
+
281
+ end
282
+ end
283
+
284
+ class ClientStatusResponse
285
+ # @private
286
+ class Representation < Google::Apis::Core::JsonRepresentation
287
+ collection :config, as: 'config', class: Google::Apis::TrafficdirectorV2::ClientConfig, decorator: Google::Apis::TrafficdirectorV2::ClientConfig::Representation
288
+
289
+ end
290
+ end
291
+
292
+ class ClustersConfigDump
293
+ # @private
294
+ class Representation < Google::Apis::Core::JsonRepresentation
295
+ collection :dynamic_active_clusters, as: 'dynamicActiveClusters', class: Google::Apis::TrafficdirectorV2::DynamicCluster, decorator: Google::Apis::TrafficdirectorV2::DynamicCluster::Representation
296
+
297
+ collection :dynamic_warming_clusters, as: 'dynamicWarmingClusters', class: Google::Apis::TrafficdirectorV2::DynamicCluster, decorator: Google::Apis::TrafficdirectorV2::DynamicCluster::Representation
298
+
299
+ collection :static_clusters, as: 'staticClusters', class: Google::Apis::TrafficdirectorV2::StaticCluster, decorator: Google::Apis::TrafficdirectorV2::StaticCluster::Representation
300
+
301
+ property :version_info, as: 'versionInfo'
302
+ end
303
+ end
304
+
305
+ class DoubleMatcher
306
+ # @private
307
+ class Representation < Google::Apis::Core::JsonRepresentation
308
+ property :exact, as: 'exact'
309
+ property :range, as: 'range', class: Google::Apis::TrafficdirectorV2::DoubleRange, decorator: Google::Apis::TrafficdirectorV2::DoubleRange::Representation
310
+
311
+ end
312
+ end
313
+
314
+ class DoubleRange
315
+ # @private
316
+ class Representation < Google::Apis::Core::JsonRepresentation
317
+ property :end, as: 'end'
318
+ property :start, as: 'start'
319
+ end
320
+ end
321
+
322
+ class DynamicCluster
323
+ # @private
324
+ class Representation < Google::Apis::Core::JsonRepresentation
325
+ hash :cluster, as: 'cluster'
326
+ property :last_updated, as: 'lastUpdated'
327
+ property :version_info, as: 'versionInfo'
328
+ end
329
+ end
330
+
331
+ class DynamicListener
332
+ # @private
333
+ class Representation < Google::Apis::Core::JsonRepresentation
334
+ property :active_state, as: 'activeState', class: Google::Apis::TrafficdirectorV2::DynamicListenerState, decorator: Google::Apis::TrafficdirectorV2::DynamicListenerState::Representation
335
+
336
+ property :draining_state, as: 'drainingState', class: Google::Apis::TrafficdirectorV2::DynamicListenerState, decorator: Google::Apis::TrafficdirectorV2::DynamicListenerState::Representation
337
+
338
+ property :error_state, as: 'errorState', class: Google::Apis::TrafficdirectorV2::UpdateFailureState, decorator: Google::Apis::TrafficdirectorV2::UpdateFailureState::Representation
339
+
340
+ property :name, as: 'name'
341
+ property :warming_state, as: 'warmingState', class: Google::Apis::TrafficdirectorV2::DynamicListenerState, decorator: Google::Apis::TrafficdirectorV2::DynamicListenerState::Representation
342
+
343
+ end
344
+ end
345
+
346
+ class DynamicListenerState
347
+ # @private
348
+ class Representation < Google::Apis::Core::JsonRepresentation
349
+ property :last_updated, as: 'lastUpdated'
350
+ hash :listener, as: 'listener'
351
+ property :version_info, as: 'versionInfo'
352
+ end
353
+ end
354
+
355
+ class DynamicRouteConfig
356
+ # @private
357
+ class Representation < Google::Apis::Core::JsonRepresentation
358
+ property :last_updated, as: 'lastUpdated'
359
+ hash :route_config, as: 'routeConfig'
360
+ property :version_info, as: 'versionInfo'
361
+ end
362
+ end
363
+
364
+ class DynamicScopedRouteConfigs
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ property :last_updated, as: 'lastUpdated'
368
+ property :name, as: 'name'
369
+ collection :scoped_route_configs, as: 'scopedRouteConfigs'
370
+ property :version_info, as: 'versionInfo'
371
+ end
372
+ end
373
+
374
+ class Extension
375
+ # @private
376
+ class Representation < Google::Apis::Core::JsonRepresentation
377
+ property :category, as: 'category'
378
+ property :disabled, as: 'disabled'
379
+ property :name, as: 'name'
380
+ property :type_descriptor, as: 'typeDescriptor'
381
+ property :version, as: 'version', class: Google::Apis::TrafficdirectorV2::BuildVersion, decorator: Google::Apis::TrafficdirectorV2::BuildVersion::Representation
382
+
383
+ end
384
+ end
385
+
386
+ class GoogleRe2
387
+ # @private
388
+ class Representation < Google::Apis::Core::JsonRepresentation
389
+ property :max_program_size, as: 'maxProgramSize'
390
+ end
391
+ end
392
+
393
+ class InlineScopedRouteConfigs
394
+ # @private
395
+ class Representation < Google::Apis::Core::JsonRepresentation
396
+ property :last_updated, as: 'lastUpdated'
397
+ property :name, as: 'name'
398
+ collection :scoped_route_configs, as: 'scopedRouteConfigs'
399
+ end
400
+ end
401
+
402
+ class ListMatcher
403
+ # @private
404
+ class Representation < Google::Apis::Core::JsonRepresentation
405
+ property :one_of, as: 'oneOf', class: Google::Apis::TrafficdirectorV2::ValueMatcher, decorator: Google::Apis::TrafficdirectorV2::ValueMatcher::Representation
406
+
407
+ end
408
+ end
409
+
410
+ class ListenersConfigDump
411
+ # @private
412
+ class Representation < Google::Apis::Core::JsonRepresentation
413
+ collection :dynamic_listeners, as: 'dynamicListeners', class: Google::Apis::TrafficdirectorV2::DynamicListener, decorator: Google::Apis::TrafficdirectorV2::DynamicListener::Representation
414
+
415
+ collection :static_listeners, as: 'staticListeners', class: Google::Apis::TrafficdirectorV2::StaticListener, decorator: Google::Apis::TrafficdirectorV2::StaticListener::Representation
416
+
417
+ property :version_info, as: 'versionInfo'
418
+ end
419
+ end
420
+
421
+ class Locality
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :region, as: 'region'
425
+ property :sub_zone, as: 'subZone'
426
+ property :zone, as: 'zone'
427
+ end
428
+ end
429
+
430
+ class Node
431
+ # @private
432
+ class Representation < Google::Apis::Core::JsonRepresentation
433
+ property :build_version, as: 'buildVersion'
434
+ collection :client_features, as: 'clientFeatures'
435
+ property :cluster, as: 'cluster'
436
+ collection :extensions, as: 'extensions', class: Google::Apis::TrafficdirectorV2::Extension, decorator: Google::Apis::TrafficdirectorV2::Extension::Representation
437
+
438
+ property :id, as: 'id'
439
+ collection :listening_addresses, as: 'listeningAddresses', class: Google::Apis::TrafficdirectorV2::Address, decorator: Google::Apis::TrafficdirectorV2::Address::Representation
440
+
441
+ property :locality, as: 'locality', class: Google::Apis::TrafficdirectorV2::Locality, decorator: Google::Apis::TrafficdirectorV2::Locality::Representation
442
+
443
+ hash :metadata, as: 'metadata'
444
+ property :user_agent_build_version, as: 'userAgentBuildVersion', class: Google::Apis::TrafficdirectorV2::BuildVersion, decorator: Google::Apis::TrafficdirectorV2::BuildVersion::Representation
445
+
446
+ property :user_agent_name, as: 'userAgentName'
447
+ property :user_agent_version, as: 'userAgentVersion'
448
+ end
449
+ end
450
+
451
+ class NodeMatcher
452
+ # @private
453
+ class Representation < Google::Apis::Core::JsonRepresentation
454
+ property :node_id, as: 'nodeId', class: Google::Apis::TrafficdirectorV2::StringMatcher, decorator: Google::Apis::TrafficdirectorV2::StringMatcher::Representation
455
+
456
+ collection :node_metadatas, as: 'nodeMetadatas', class: Google::Apis::TrafficdirectorV2::StructMatcher, decorator: Google::Apis::TrafficdirectorV2::StructMatcher::Representation
457
+
458
+ end
459
+ end
460
+
461
+ class NullMatch
462
+ # @private
463
+ class Representation < Google::Apis::Core::JsonRepresentation
464
+ end
465
+ end
466
+
467
+ class PathSegment
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ property :key, as: 'key'
471
+ end
472
+ end
473
+
474
+ class PerXdsConfig
475
+ # @private
476
+ class Representation < Google::Apis::Core::JsonRepresentation
477
+ property :cluster_config, as: 'clusterConfig', class: Google::Apis::TrafficdirectorV2::ClustersConfigDump, decorator: Google::Apis::TrafficdirectorV2::ClustersConfigDump::Representation
478
+
479
+ property :listener_config, as: 'listenerConfig', class: Google::Apis::TrafficdirectorV2::ListenersConfigDump, decorator: Google::Apis::TrafficdirectorV2::ListenersConfigDump::Representation
480
+
481
+ property :route_config, as: 'routeConfig', class: Google::Apis::TrafficdirectorV2::RoutesConfigDump, decorator: Google::Apis::TrafficdirectorV2::RoutesConfigDump::Representation
482
+
483
+ property :scoped_route_config, as: 'scopedRouteConfig', class: Google::Apis::TrafficdirectorV2::ScopedRoutesConfigDump, decorator: Google::Apis::TrafficdirectorV2::ScopedRoutesConfigDump::Representation
484
+
485
+ property :status, as: 'status'
486
+ end
487
+ end
488
+
489
+ class Pipe
490
+ # @private
491
+ class Representation < Google::Apis::Core::JsonRepresentation
492
+ property :mode, as: 'mode'
493
+ property :path, as: 'path'
494
+ end
495
+ end
496
+
497
+ class RegexMatcher
498
+ # @private
499
+ class Representation < Google::Apis::Core::JsonRepresentation
500
+ property :google_re2, as: 'googleRe2', class: Google::Apis::TrafficdirectorV2::GoogleRe2, decorator: Google::Apis::TrafficdirectorV2::GoogleRe2::Representation
501
+
502
+ property :regex, as: 'regex'
503
+ end
504
+ end
505
+
506
+ class RoutesConfigDump
507
+ # @private
508
+ class Representation < Google::Apis::Core::JsonRepresentation
509
+ collection :dynamic_route_configs, as: 'dynamicRouteConfigs', class: Google::Apis::TrafficdirectorV2::DynamicRouteConfig, decorator: Google::Apis::TrafficdirectorV2::DynamicRouteConfig::Representation
510
+
511
+ collection :static_route_configs, as: 'staticRouteConfigs', class: Google::Apis::TrafficdirectorV2::StaticRouteConfig, decorator: Google::Apis::TrafficdirectorV2::StaticRouteConfig::Representation
512
+
513
+ end
514
+ end
515
+
516
+ class ScopedRoutesConfigDump
517
+ # @private
518
+ class Representation < Google::Apis::Core::JsonRepresentation
519
+ collection :dynamic_scoped_route_configs, as: 'dynamicScopedRouteConfigs', class: Google::Apis::TrafficdirectorV2::DynamicScopedRouteConfigs, decorator: Google::Apis::TrafficdirectorV2::DynamicScopedRouteConfigs::Representation
520
+
521
+ collection :inline_scoped_route_configs, as: 'inlineScopedRouteConfigs', class: Google::Apis::TrafficdirectorV2::InlineScopedRouteConfigs, decorator: Google::Apis::TrafficdirectorV2::InlineScopedRouteConfigs::Representation
522
+
523
+ end
524
+ end
525
+
526
+ class SemanticVersion
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ property :major_number, as: 'majorNumber'
530
+ property :minor_number, as: 'minorNumber'
531
+ property :patch, as: 'patch'
532
+ end
533
+ end
534
+
535
+ class SocketAddress
536
+ # @private
537
+ class Representation < Google::Apis::Core::JsonRepresentation
538
+ property :address, as: 'address'
539
+ property :ipv4_compat, as: 'ipv4Compat'
540
+ property :named_port, as: 'namedPort'
541
+ property :port_value, as: 'portValue'
542
+ property :protocol, as: 'protocol'
543
+ property :resolver_name, as: 'resolverName'
544
+ end
545
+ end
546
+
547
+ class StaticCluster
548
+ # @private
549
+ class Representation < Google::Apis::Core::JsonRepresentation
550
+ hash :cluster, as: 'cluster'
551
+ property :last_updated, as: 'lastUpdated'
552
+ end
553
+ end
554
+
555
+ class StaticListener
556
+ # @private
557
+ class Representation < Google::Apis::Core::JsonRepresentation
558
+ property :last_updated, as: 'lastUpdated'
559
+ hash :listener, as: 'listener'
560
+ end
561
+ end
562
+
563
+ class StaticRouteConfig
564
+ # @private
565
+ class Representation < Google::Apis::Core::JsonRepresentation
566
+ property :last_updated, as: 'lastUpdated'
567
+ hash :route_config, as: 'routeConfig'
568
+ end
569
+ end
570
+
571
+ class StringMatcher
572
+ # @private
573
+ class Representation < Google::Apis::Core::JsonRepresentation
574
+ property :exact, as: 'exact'
575
+ property :ignore_case, as: 'ignoreCase'
576
+ property :prefix, as: 'prefix'
577
+ property :regex, as: 'regex'
578
+ property :safe_regex, as: 'safeRegex', class: Google::Apis::TrafficdirectorV2::RegexMatcher, decorator: Google::Apis::TrafficdirectorV2::RegexMatcher::Representation
579
+
580
+ property :suffix, as: 'suffix'
581
+ end
582
+ end
583
+
584
+ class StructMatcher
585
+ # @private
586
+ class Representation < Google::Apis::Core::JsonRepresentation
587
+ collection :path, as: 'path', class: Google::Apis::TrafficdirectorV2::PathSegment, decorator: Google::Apis::TrafficdirectorV2::PathSegment::Representation
588
+
589
+ property :value, as: 'value', class: Google::Apis::TrafficdirectorV2::ValueMatcher, decorator: Google::Apis::TrafficdirectorV2::ValueMatcher::Representation
590
+
591
+ end
592
+ end
593
+
594
+ class UpdateFailureState
595
+ # @private
596
+ class Representation < Google::Apis::Core::JsonRepresentation
597
+ property :details, as: 'details'
598
+ hash :failed_configuration, as: 'failedConfiguration'
599
+ property :last_update_attempt, as: 'lastUpdateAttempt'
600
+ end
601
+ end
602
+
603
+ class ValueMatcher
604
+ # @private
605
+ class Representation < Google::Apis::Core::JsonRepresentation
606
+ property :bool_match, as: 'boolMatch'
607
+ property :double_match, as: 'doubleMatch', class: Google::Apis::TrafficdirectorV2::DoubleMatcher, decorator: Google::Apis::TrafficdirectorV2::DoubleMatcher::Representation
608
+
609
+ property :list_match, as: 'listMatch', class: Google::Apis::TrafficdirectorV2::ListMatcher, decorator: Google::Apis::TrafficdirectorV2::ListMatcher::Representation
610
+
611
+ property :null_match, as: 'nullMatch', class: Google::Apis::TrafficdirectorV2::NullMatch, decorator: Google::Apis::TrafficdirectorV2::NullMatch::Representation
612
+
613
+ property :present_match, as: 'presentMatch'
614
+ property :string_match, as: 'stringMatch', class: Google::Apis::TrafficdirectorV2::StringMatcher, decorator: Google::Apis::TrafficdirectorV2::StringMatcher::Representation
615
+
616
+ end
617
+ end
618
+ end
619
+ end
620
+ end