google-apis-trafficdirector_v3 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.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/trafficdirector_v3/classes.rb +1703 -0
- data/lib/google/apis/trafficdirector_v3/gem_version.rb +28 -0
- data/lib/google/apis/trafficdirector_v3/representations.rb +740 -0
- data/lib/google/apis/trafficdirector_v3/service.rb +91 -0
- data/lib/google/apis/trafficdirector_v3.rb +36 -0
- data/lib/google-apis-trafficdirector_v3.rb +15 -0
- metadata +82 -0
@@ -0,0 +1,740 @@
|
|
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 TrafficdirectorV3
|
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 ContextParams
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class DoubleMatcher
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class DoubleRange
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class DynamicCluster
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class DynamicEndpointConfig
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class DynamicListener
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class DynamicListenerState
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class DynamicRouteConfig
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class DynamicScopedRouteConfigs
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class EndpointsConfigDump
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class EnvoyInternalAddress
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class Extension
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class GenericXdsConfig
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class GoogleRe2
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class InlineScopedRouteConfigs
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class ListMatcher
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class ListenersConfigDump
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class Locality
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class Node
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class NodeMatcher
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class NullMatch
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class PathSegment
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class PerXdsConfig
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class Pipe
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class RegexMatcher
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class RoutesConfigDump
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class ScopedRoutesConfigDump
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class SemanticVersion
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class SocketAddress
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class StaticCluster
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class StaticEndpointConfig
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class StaticListener
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class StaticRouteConfig
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class StringMatcher
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class StructMatcher
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class UpdateFailureState
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class ValueMatcher
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class Address
|
284
|
+
# @private
|
285
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
286
|
+
property :envoy_internal_address, as: 'envoyInternalAddress', class: Google::Apis::TrafficdirectorV3::EnvoyInternalAddress, decorator: Google::Apis::TrafficdirectorV3::EnvoyInternalAddress::Representation
|
287
|
+
|
288
|
+
property :pipe, as: 'pipe', class: Google::Apis::TrafficdirectorV3::Pipe, decorator: Google::Apis::TrafficdirectorV3::Pipe::Representation
|
289
|
+
|
290
|
+
property :socket_address, as: 'socketAddress', class: Google::Apis::TrafficdirectorV3::SocketAddress, decorator: Google::Apis::TrafficdirectorV3::SocketAddress::Representation
|
291
|
+
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
295
|
+
class BuildVersion
|
296
|
+
# @private
|
297
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
298
|
+
hash :metadata, as: 'metadata'
|
299
|
+
property :version, as: 'version', class: Google::Apis::TrafficdirectorV3::SemanticVersion, decorator: Google::Apis::TrafficdirectorV3::SemanticVersion::Representation
|
300
|
+
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
class ClientConfig
|
305
|
+
# @private
|
306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
307
|
+
collection :generic_xds_configs, as: 'genericXdsConfigs', class: Google::Apis::TrafficdirectorV3::GenericXdsConfig, decorator: Google::Apis::TrafficdirectorV3::GenericXdsConfig::Representation
|
308
|
+
|
309
|
+
property :node, as: 'node', class: Google::Apis::TrafficdirectorV3::Node, decorator: Google::Apis::TrafficdirectorV3::Node::Representation
|
310
|
+
|
311
|
+
collection :xds_config, as: 'xdsConfig', class: Google::Apis::TrafficdirectorV3::PerXdsConfig, decorator: Google::Apis::TrafficdirectorV3::PerXdsConfig::Representation
|
312
|
+
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
class ClientStatusRequest
|
317
|
+
# @private
|
318
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
319
|
+
property :exclude_resource_contents, as: 'excludeResourceContents'
|
320
|
+
property :node, as: 'node', class: Google::Apis::TrafficdirectorV3::Node, decorator: Google::Apis::TrafficdirectorV3::Node::Representation
|
321
|
+
|
322
|
+
collection :node_matchers, as: 'nodeMatchers', class: Google::Apis::TrafficdirectorV3::NodeMatcher, decorator: Google::Apis::TrafficdirectorV3::NodeMatcher::Representation
|
323
|
+
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
class ClientStatusResponse
|
328
|
+
# @private
|
329
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
330
|
+
collection :config, as: 'config', class: Google::Apis::TrafficdirectorV3::ClientConfig, decorator: Google::Apis::TrafficdirectorV3::ClientConfig::Representation
|
331
|
+
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
335
|
+
class ClustersConfigDump
|
336
|
+
# @private
|
337
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
338
|
+
collection :dynamic_active_clusters, as: 'dynamicActiveClusters', class: Google::Apis::TrafficdirectorV3::DynamicCluster, decorator: Google::Apis::TrafficdirectorV3::DynamicCluster::Representation
|
339
|
+
|
340
|
+
collection :dynamic_warming_clusters, as: 'dynamicWarmingClusters', class: Google::Apis::TrafficdirectorV3::DynamicCluster, decorator: Google::Apis::TrafficdirectorV3::DynamicCluster::Representation
|
341
|
+
|
342
|
+
collection :static_clusters, as: 'staticClusters', class: Google::Apis::TrafficdirectorV3::StaticCluster, decorator: Google::Apis::TrafficdirectorV3::StaticCluster::Representation
|
343
|
+
|
344
|
+
property :version_info, as: 'versionInfo'
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
class ContextParams
|
349
|
+
# @private
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
351
|
+
hash :params, as: 'params'
|
352
|
+
end
|
353
|
+
end
|
354
|
+
|
355
|
+
class DoubleMatcher
|
356
|
+
# @private
|
357
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
358
|
+
property :exact, as: 'exact'
|
359
|
+
property :range, as: 'range', class: Google::Apis::TrafficdirectorV3::DoubleRange, decorator: Google::Apis::TrafficdirectorV3::DoubleRange::Representation
|
360
|
+
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
364
|
+
class DoubleRange
|
365
|
+
# @private
|
366
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
367
|
+
property :end, as: 'end'
|
368
|
+
property :start, as: 'start'
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
372
|
+
class DynamicCluster
|
373
|
+
# @private
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
375
|
+
property :client_status, as: 'clientStatus'
|
376
|
+
hash :cluster, as: 'cluster'
|
377
|
+
property :error_state, as: 'errorState', class: Google::Apis::TrafficdirectorV3::UpdateFailureState, decorator: Google::Apis::TrafficdirectorV3::UpdateFailureState::Representation
|
378
|
+
|
379
|
+
property :last_updated, as: 'lastUpdated'
|
380
|
+
property :version_info, as: 'versionInfo'
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
384
|
+
class DynamicEndpointConfig
|
385
|
+
# @private
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
387
|
+
property :client_status, as: 'clientStatus'
|
388
|
+
hash :endpoint_config, as: 'endpointConfig'
|
389
|
+
property :error_state, as: 'errorState', class: Google::Apis::TrafficdirectorV3::UpdateFailureState, decorator: Google::Apis::TrafficdirectorV3::UpdateFailureState::Representation
|
390
|
+
|
391
|
+
property :last_updated, as: 'lastUpdated'
|
392
|
+
property :version_info, as: 'versionInfo'
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
class DynamicListener
|
397
|
+
# @private
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
399
|
+
property :active_state, as: 'activeState', class: Google::Apis::TrafficdirectorV3::DynamicListenerState, decorator: Google::Apis::TrafficdirectorV3::DynamicListenerState::Representation
|
400
|
+
|
401
|
+
property :client_status, as: 'clientStatus'
|
402
|
+
property :draining_state, as: 'drainingState', class: Google::Apis::TrafficdirectorV3::DynamicListenerState, decorator: Google::Apis::TrafficdirectorV3::DynamicListenerState::Representation
|
403
|
+
|
404
|
+
property :error_state, as: 'errorState', class: Google::Apis::TrafficdirectorV3::UpdateFailureState, decorator: Google::Apis::TrafficdirectorV3::UpdateFailureState::Representation
|
405
|
+
|
406
|
+
property :name, as: 'name'
|
407
|
+
property :warming_state, as: 'warmingState', class: Google::Apis::TrafficdirectorV3::DynamicListenerState, decorator: Google::Apis::TrafficdirectorV3::DynamicListenerState::Representation
|
408
|
+
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
412
|
+
class DynamicListenerState
|
413
|
+
# @private
|
414
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
415
|
+
property :last_updated, as: 'lastUpdated'
|
416
|
+
hash :listener, as: 'listener'
|
417
|
+
property :version_info, as: 'versionInfo'
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
421
|
+
class DynamicRouteConfig
|
422
|
+
# @private
|
423
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
424
|
+
property :client_status, as: 'clientStatus'
|
425
|
+
property :error_state, as: 'errorState', class: Google::Apis::TrafficdirectorV3::UpdateFailureState, decorator: Google::Apis::TrafficdirectorV3::UpdateFailureState::Representation
|
426
|
+
|
427
|
+
property :last_updated, as: 'lastUpdated'
|
428
|
+
hash :route_config, as: 'routeConfig'
|
429
|
+
property :version_info, as: 'versionInfo'
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
433
|
+
class DynamicScopedRouteConfigs
|
434
|
+
# @private
|
435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
436
|
+
property :client_status, as: 'clientStatus'
|
437
|
+
property :error_state, as: 'errorState', class: Google::Apis::TrafficdirectorV3::UpdateFailureState, decorator: Google::Apis::TrafficdirectorV3::UpdateFailureState::Representation
|
438
|
+
|
439
|
+
property :last_updated, as: 'lastUpdated'
|
440
|
+
property :name, as: 'name'
|
441
|
+
collection :scoped_route_configs, as: 'scopedRouteConfigs'
|
442
|
+
property :version_info, as: 'versionInfo'
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
class EndpointsConfigDump
|
447
|
+
# @private
|
448
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
449
|
+
collection :dynamic_endpoint_configs, as: 'dynamicEndpointConfigs', class: Google::Apis::TrafficdirectorV3::DynamicEndpointConfig, decorator: Google::Apis::TrafficdirectorV3::DynamicEndpointConfig::Representation
|
450
|
+
|
451
|
+
collection :static_endpoint_configs, as: 'staticEndpointConfigs', class: Google::Apis::TrafficdirectorV3::StaticEndpointConfig, decorator: Google::Apis::TrafficdirectorV3::StaticEndpointConfig::Representation
|
452
|
+
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
class EnvoyInternalAddress
|
457
|
+
# @private
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
459
|
+
property :endpoint_id, as: 'endpointId'
|
460
|
+
property :server_listener_name, as: 'serverListenerName'
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
class Extension
|
465
|
+
# @private
|
466
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
467
|
+
property :category, as: 'category'
|
468
|
+
property :disabled, as: 'disabled'
|
469
|
+
property :name, as: 'name'
|
470
|
+
property :type_descriptor, as: 'typeDescriptor'
|
471
|
+
collection :type_urls, as: 'typeUrls'
|
472
|
+
property :version, as: 'version', class: Google::Apis::TrafficdirectorV3::BuildVersion, decorator: Google::Apis::TrafficdirectorV3::BuildVersion::Representation
|
473
|
+
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
477
|
+
class GenericXdsConfig
|
478
|
+
# @private
|
479
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
480
|
+
property :client_status, as: 'clientStatus'
|
481
|
+
property :config_status, as: 'configStatus'
|
482
|
+
property :error_state, as: 'errorState', class: Google::Apis::TrafficdirectorV3::UpdateFailureState, decorator: Google::Apis::TrafficdirectorV3::UpdateFailureState::Representation
|
483
|
+
|
484
|
+
property :is_static_resource, as: 'isStaticResource'
|
485
|
+
property :last_updated, as: 'lastUpdated'
|
486
|
+
property :name, as: 'name'
|
487
|
+
property :type_url, as: 'typeUrl'
|
488
|
+
property :version_info, as: 'versionInfo'
|
489
|
+
hash :xds_config, as: 'xdsConfig'
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
493
|
+
class GoogleRe2
|
494
|
+
# @private
|
495
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
496
|
+
property :max_program_size, as: 'maxProgramSize'
|
497
|
+
end
|
498
|
+
end
|
499
|
+
|
500
|
+
class InlineScopedRouteConfigs
|
501
|
+
# @private
|
502
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
503
|
+
property :last_updated, as: 'lastUpdated'
|
504
|
+
property :name, as: 'name'
|
505
|
+
collection :scoped_route_configs, as: 'scopedRouteConfigs'
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
509
|
+
class ListMatcher
|
510
|
+
# @private
|
511
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
512
|
+
property :one_of, as: 'oneOf', class: Google::Apis::TrafficdirectorV3::ValueMatcher, decorator: Google::Apis::TrafficdirectorV3::ValueMatcher::Representation
|
513
|
+
|
514
|
+
end
|
515
|
+
end
|
516
|
+
|
517
|
+
class ListenersConfigDump
|
518
|
+
# @private
|
519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
520
|
+
collection :dynamic_listeners, as: 'dynamicListeners', class: Google::Apis::TrafficdirectorV3::DynamicListener, decorator: Google::Apis::TrafficdirectorV3::DynamicListener::Representation
|
521
|
+
|
522
|
+
collection :static_listeners, as: 'staticListeners', class: Google::Apis::TrafficdirectorV3::StaticListener, decorator: Google::Apis::TrafficdirectorV3::StaticListener::Representation
|
523
|
+
|
524
|
+
property :version_info, as: 'versionInfo'
|
525
|
+
end
|
526
|
+
end
|
527
|
+
|
528
|
+
class Locality
|
529
|
+
# @private
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
531
|
+
property :region, as: 'region'
|
532
|
+
property :sub_zone, as: 'subZone'
|
533
|
+
property :zone, as: 'zone'
|
534
|
+
end
|
535
|
+
end
|
536
|
+
|
537
|
+
class Node
|
538
|
+
# @private
|
539
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
540
|
+
collection :client_features, as: 'clientFeatures'
|
541
|
+
property :cluster, as: 'cluster'
|
542
|
+
hash :dynamic_parameters, as: 'dynamicParameters', class: Google::Apis::TrafficdirectorV3::ContextParams, decorator: Google::Apis::TrafficdirectorV3::ContextParams::Representation
|
543
|
+
|
544
|
+
collection :extensions, as: 'extensions', class: Google::Apis::TrafficdirectorV3::Extension, decorator: Google::Apis::TrafficdirectorV3::Extension::Representation
|
545
|
+
|
546
|
+
property :id, as: 'id'
|
547
|
+
collection :listening_addresses, as: 'listeningAddresses', class: Google::Apis::TrafficdirectorV3::Address, decorator: Google::Apis::TrafficdirectorV3::Address::Representation
|
548
|
+
|
549
|
+
property :locality, as: 'locality', class: Google::Apis::TrafficdirectorV3::Locality, decorator: Google::Apis::TrafficdirectorV3::Locality::Representation
|
550
|
+
|
551
|
+
hash :metadata, as: 'metadata'
|
552
|
+
property :user_agent_build_version, as: 'userAgentBuildVersion', class: Google::Apis::TrafficdirectorV3::BuildVersion, decorator: Google::Apis::TrafficdirectorV3::BuildVersion::Representation
|
553
|
+
|
554
|
+
property :user_agent_name, as: 'userAgentName'
|
555
|
+
property :user_agent_version, as: 'userAgentVersion'
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
559
|
+
class NodeMatcher
|
560
|
+
# @private
|
561
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
562
|
+
property :node_id, as: 'nodeId', class: Google::Apis::TrafficdirectorV3::StringMatcher, decorator: Google::Apis::TrafficdirectorV3::StringMatcher::Representation
|
563
|
+
|
564
|
+
collection :node_metadatas, as: 'nodeMetadatas', class: Google::Apis::TrafficdirectorV3::StructMatcher, decorator: Google::Apis::TrafficdirectorV3::StructMatcher::Representation
|
565
|
+
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
569
|
+
class NullMatch
|
570
|
+
# @private
|
571
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
575
|
+
class PathSegment
|
576
|
+
# @private
|
577
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
578
|
+
property :key, as: 'key'
|
579
|
+
end
|
580
|
+
end
|
581
|
+
|
582
|
+
class PerXdsConfig
|
583
|
+
# @private
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
585
|
+
property :client_status, as: 'clientStatus'
|
586
|
+
property :cluster_config, as: 'clusterConfig', class: Google::Apis::TrafficdirectorV3::ClustersConfigDump, decorator: Google::Apis::TrafficdirectorV3::ClustersConfigDump::Representation
|
587
|
+
|
588
|
+
property :endpoint_config, as: 'endpointConfig', class: Google::Apis::TrafficdirectorV3::EndpointsConfigDump, decorator: Google::Apis::TrafficdirectorV3::EndpointsConfigDump::Representation
|
589
|
+
|
590
|
+
property :listener_config, as: 'listenerConfig', class: Google::Apis::TrafficdirectorV3::ListenersConfigDump, decorator: Google::Apis::TrafficdirectorV3::ListenersConfigDump::Representation
|
591
|
+
|
592
|
+
property :route_config, as: 'routeConfig', class: Google::Apis::TrafficdirectorV3::RoutesConfigDump, decorator: Google::Apis::TrafficdirectorV3::RoutesConfigDump::Representation
|
593
|
+
|
594
|
+
property :scoped_route_config, as: 'scopedRouteConfig', class: Google::Apis::TrafficdirectorV3::ScopedRoutesConfigDump, decorator: Google::Apis::TrafficdirectorV3::ScopedRoutesConfigDump::Representation
|
595
|
+
|
596
|
+
property :status, as: 'status'
|
597
|
+
end
|
598
|
+
end
|
599
|
+
|
600
|
+
class Pipe
|
601
|
+
# @private
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
603
|
+
property :mode, as: 'mode'
|
604
|
+
property :path, as: 'path'
|
605
|
+
end
|
606
|
+
end
|
607
|
+
|
608
|
+
class RegexMatcher
|
609
|
+
# @private
|
610
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
611
|
+
property :google_re2, as: 'googleRe2', class: Google::Apis::TrafficdirectorV3::GoogleRe2, decorator: Google::Apis::TrafficdirectorV3::GoogleRe2::Representation
|
612
|
+
|
613
|
+
property :regex, as: 'regex'
|
614
|
+
end
|
615
|
+
end
|
616
|
+
|
617
|
+
class RoutesConfigDump
|
618
|
+
# @private
|
619
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
620
|
+
collection :dynamic_route_configs, as: 'dynamicRouteConfigs', class: Google::Apis::TrafficdirectorV3::DynamicRouteConfig, decorator: Google::Apis::TrafficdirectorV3::DynamicRouteConfig::Representation
|
621
|
+
|
622
|
+
collection :static_route_configs, as: 'staticRouteConfigs', class: Google::Apis::TrafficdirectorV3::StaticRouteConfig, decorator: Google::Apis::TrafficdirectorV3::StaticRouteConfig::Representation
|
623
|
+
|
624
|
+
end
|
625
|
+
end
|
626
|
+
|
627
|
+
class ScopedRoutesConfigDump
|
628
|
+
# @private
|
629
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
630
|
+
collection :dynamic_scoped_route_configs, as: 'dynamicScopedRouteConfigs', class: Google::Apis::TrafficdirectorV3::DynamicScopedRouteConfigs, decorator: Google::Apis::TrafficdirectorV3::DynamicScopedRouteConfigs::Representation
|
631
|
+
|
632
|
+
collection :inline_scoped_route_configs, as: 'inlineScopedRouteConfigs', class: Google::Apis::TrafficdirectorV3::InlineScopedRouteConfigs, decorator: Google::Apis::TrafficdirectorV3::InlineScopedRouteConfigs::Representation
|
633
|
+
|
634
|
+
end
|
635
|
+
end
|
636
|
+
|
637
|
+
class SemanticVersion
|
638
|
+
# @private
|
639
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
640
|
+
property :major_number, as: 'majorNumber'
|
641
|
+
property :minor_number, as: 'minorNumber'
|
642
|
+
property :patch, as: 'patch'
|
643
|
+
end
|
644
|
+
end
|
645
|
+
|
646
|
+
class SocketAddress
|
647
|
+
# @private
|
648
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
649
|
+
property :address, as: 'address'
|
650
|
+
property :ipv4_compat, as: 'ipv4Compat'
|
651
|
+
property :named_port, as: 'namedPort'
|
652
|
+
property :port_value, as: 'portValue'
|
653
|
+
property :protocol, as: 'protocol'
|
654
|
+
property :resolver_name, as: 'resolverName'
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
class StaticCluster
|
659
|
+
# @private
|
660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
661
|
+
hash :cluster, as: 'cluster'
|
662
|
+
property :last_updated, as: 'lastUpdated'
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
666
|
+
class StaticEndpointConfig
|
667
|
+
# @private
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
669
|
+
hash :endpoint_config, as: 'endpointConfig'
|
670
|
+
property :last_updated, as: 'lastUpdated'
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
674
|
+
class StaticListener
|
675
|
+
# @private
|
676
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
677
|
+
property :last_updated, as: 'lastUpdated'
|
678
|
+
hash :listener, as: 'listener'
|
679
|
+
end
|
680
|
+
end
|
681
|
+
|
682
|
+
class StaticRouteConfig
|
683
|
+
# @private
|
684
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
685
|
+
property :last_updated, as: 'lastUpdated'
|
686
|
+
hash :route_config, as: 'routeConfig'
|
687
|
+
end
|
688
|
+
end
|
689
|
+
|
690
|
+
class StringMatcher
|
691
|
+
# @private
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
693
|
+
property :contains, as: 'contains'
|
694
|
+
property :exact, as: 'exact'
|
695
|
+
property :ignore_case, as: 'ignoreCase'
|
696
|
+
property :prefix, as: 'prefix'
|
697
|
+
property :safe_regex, as: 'safeRegex', class: Google::Apis::TrafficdirectorV3::RegexMatcher, decorator: Google::Apis::TrafficdirectorV3::RegexMatcher::Representation
|
698
|
+
|
699
|
+
property :suffix, as: 'suffix'
|
700
|
+
end
|
701
|
+
end
|
702
|
+
|
703
|
+
class StructMatcher
|
704
|
+
# @private
|
705
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
706
|
+
collection :path, as: 'path', class: Google::Apis::TrafficdirectorV3::PathSegment, decorator: Google::Apis::TrafficdirectorV3::PathSegment::Representation
|
707
|
+
|
708
|
+
property :value, as: 'value', class: Google::Apis::TrafficdirectorV3::ValueMatcher, decorator: Google::Apis::TrafficdirectorV3::ValueMatcher::Representation
|
709
|
+
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
713
|
+
class UpdateFailureState
|
714
|
+
# @private
|
715
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
716
|
+
property :details, as: 'details'
|
717
|
+
hash :failed_configuration, as: 'failedConfiguration'
|
718
|
+
property :last_update_attempt, as: 'lastUpdateAttempt'
|
719
|
+
property :version_info, as: 'versionInfo'
|
720
|
+
end
|
721
|
+
end
|
722
|
+
|
723
|
+
class ValueMatcher
|
724
|
+
# @private
|
725
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
726
|
+
property :bool_match, as: 'boolMatch'
|
727
|
+
property :double_match, as: 'doubleMatch', class: Google::Apis::TrafficdirectorV3::DoubleMatcher, decorator: Google::Apis::TrafficdirectorV3::DoubleMatcher::Representation
|
728
|
+
|
729
|
+
property :list_match, as: 'listMatch', class: Google::Apis::TrafficdirectorV3::ListMatcher, decorator: Google::Apis::TrafficdirectorV3::ListMatcher::Representation
|
730
|
+
|
731
|
+
property :null_match, as: 'nullMatch', class: Google::Apis::TrafficdirectorV3::NullMatch, decorator: Google::Apis::TrafficdirectorV3::NullMatch::Representation
|
732
|
+
|
733
|
+
property :present_match, as: 'presentMatch'
|
734
|
+
property :string_match, as: 'stringMatch', class: Google::Apis::TrafficdirectorV3::StringMatcher, decorator: Google::Apis::TrafficdirectorV3::StringMatcher::Representation
|
735
|
+
|
736
|
+
end
|
737
|
+
end
|
738
|
+
end
|
739
|
+
end
|
740
|
+
end
|