google-apis-run_v1 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 RunV1
18
+ # Version of the google-apis-run_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201113"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,1140 @@
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 RunV1
24
+
25
+ class Addressable
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AuditConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AuditLogConfig
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AuthorizedDomain
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Binding
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ConfigMapEnvSource
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class ConfigMapKeySelector
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ConfigMapVolumeSource
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Configuration
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ConfigurationSpec
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ConfigurationStatus
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class Container
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ContainerPort
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class DomainMapping
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class DomainMappingSpec
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class DomainMappingStatus
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class EnvFromSource
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class EnvVar
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class EnvVarSource
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ExecAction
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Expr
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleCloudRunV1Condition
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class HttpGetAction
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class HttpHeader
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class KeyToPath
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class ListAuthorizedDomainsResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class ListConfigurationsResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class ListDomainMappingsResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ListLocationsResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ListMeta
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class ListRevisionsResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class ListRoutesResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class ListServicesResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class LocalObjectReference
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Location
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ObjectMeta
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class OwnerReference
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class Policy
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class Probe
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ResourceRecord
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ResourceRequirements
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class Revision
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class RevisionSpec
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class RevisionStatus
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class RevisionTemplate
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class Route
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class RouteSpec
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class RouteStatus
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class SecretEnvSource
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class SecretKeySelector
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class SecretVolumeSource
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class SecurityContext
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class Service
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class ServiceSpec
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class ServiceStatus
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 StatusCause
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class StatusDetails
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class TcpSocketAction
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class TestIamPermissionsRequest
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class TestIamPermissionsResponse
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class TrafficTarget
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class Volume
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class VolumeMount
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class Addressable
416
+ # @private
417
+ class Representation < Google::Apis::Core::JsonRepresentation
418
+ property :url, as: 'url'
419
+ end
420
+ end
421
+
422
+ class AuditConfig
423
+ # @private
424
+ class Representation < Google::Apis::Core::JsonRepresentation
425
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::RunV1::AuditLogConfig, decorator: Google::Apis::RunV1::AuditLogConfig::Representation
426
+
427
+ property :service, as: 'service'
428
+ end
429
+ end
430
+
431
+ class AuditLogConfig
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ collection :exempted_members, as: 'exemptedMembers'
435
+ property :log_type, as: 'logType'
436
+ end
437
+ end
438
+
439
+ class AuthorizedDomain
440
+ # @private
441
+ class Representation < Google::Apis::Core::JsonRepresentation
442
+ property :id, as: 'id'
443
+ property :name, as: 'name'
444
+ end
445
+ end
446
+
447
+ class Binding
448
+ # @private
449
+ class Representation < Google::Apis::Core::JsonRepresentation
450
+ property :condition, as: 'condition', class: Google::Apis::RunV1::Expr, decorator: Google::Apis::RunV1::Expr::Representation
451
+
452
+ collection :members, as: 'members'
453
+ property :role, as: 'role'
454
+ end
455
+ end
456
+
457
+ class ConfigMapEnvSource
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :local_object_reference, as: 'localObjectReference', class: Google::Apis::RunV1::LocalObjectReference, decorator: Google::Apis::RunV1::LocalObjectReference::Representation
461
+
462
+ property :name, as: 'name'
463
+ property :optional, as: 'optional'
464
+ end
465
+ end
466
+
467
+ class ConfigMapKeySelector
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ property :key, as: 'key'
471
+ property :local_object_reference, as: 'localObjectReference', class: Google::Apis::RunV1::LocalObjectReference, decorator: Google::Apis::RunV1::LocalObjectReference::Representation
472
+
473
+ property :name, as: 'name'
474
+ property :optional, as: 'optional'
475
+ end
476
+ end
477
+
478
+ class ConfigMapVolumeSource
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ property :default_mode, as: 'defaultMode'
482
+ collection :items, as: 'items', class: Google::Apis::RunV1::KeyToPath, decorator: Google::Apis::RunV1::KeyToPath::Representation
483
+
484
+ property :name, as: 'name'
485
+ property :optional, as: 'optional'
486
+ end
487
+ end
488
+
489
+ class Configuration
490
+ # @private
491
+ class Representation < Google::Apis::Core::JsonRepresentation
492
+ property :api_version, as: 'apiVersion'
493
+ property :kind, as: 'kind'
494
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
495
+
496
+ property :spec, as: 'spec', class: Google::Apis::RunV1::ConfigurationSpec, decorator: Google::Apis::RunV1::ConfigurationSpec::Representation
497
+
498
+ property :status, as: 'status', class: Google::Apis::RunV1::ConfigurationStatus, decorator: Google::Apis::RunV1::ConfigurationStatus::Representation
499
+
500
+ end
501
+ end
502
+
503
+ class ConfigurationSpec
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :template, as: 'template', class: Google::Apis::RunV1::RevisionTemplate, decorator: Google::Apis::RunV1::RevisionTemplate::Representation
507
+
508
+ end
509
+ end
510
+
511
+ class ConfigurationStatus
512
+ # @private
513
+ class Representation < Google::Apis::Core::JsonRepresentation
514
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV1::GoogleCloudRunV1Condition, decorator: Google::Apis::RunV1::GoogleCloudRunV1Condition::Representation
515
+
516
+ property :latest_created_revision_name, as: 'latestCreatedRevisionName'
517
+ property :latest_ready_revision_name, as: 'latestReadyRevisionName'
518
+ property :observed_generation, as: 'observedGeneration'
519
+ end
520
+ end
521
+
522
+ class Container
523
+ # @private
524
+ class Representation < Google::Apis::Core::JsonRepresentation
525
+ collection :args, as: 'args'
526
+ collection :command, as: 'command'
527
+ collection :env, as: 'env', class: Google::Apis::RunV1::EnvVar, decorator: Google::Apis::RunV1::EnvVar::Representation
528
+
529
+ collection :env_from, as: 'envFrom', class: Google::Apis::RunV1::EnvFromSource, decorator: Google::Apis::RunV1::EnvFromSource::Representation
530
+
531
+ property :image, as: 'image'
532
+ property :image_pull_policy, as: 'imagePullPolicy'
533
+ property :liveness_probe, as: 'livenessProbe', class: Google::Apis::RunV1::Probe, decorator: Google::Apis::RunV1::Probe::Representation
534
+
535
+ property :name, as: 'name'
536
+ collection :ports, as: 'ports', class: Google::Apis::RunV1::ContainerPort, decorator: Google::Apis::RunV1::ContainerPort::Representation
537
+
538
+ property :readiness_probe, as: 'readinessProbe', class: Google::Apis::RunV1::Probe, decorator: Google::Apis::RunV1::Probe::Representation
539
+
540
+ property :resources, as: 'resources', class: Google::Apis::RunV1::ResourceRequirements, decorator: Google::Apis::RunV1::ResourceRequirements::Representation
541
+
542
+ property :security_context, as: 'securityContext', class: Google::Apis::RunV1::SecurityContext, decorator: Google::Apis::RunV1::SecurityContext::Representation
543
+
544
+ property :termination_message_path, as: 'terminationMessagePath'
545
+ property :termination_message_policy, as: 'terminationMessagePolicy'
546
+ collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV1::VolumeMount, decorator: Google::Apis::RunV1::VolumeMount::Representation
547
+
548
+ property :working_dir, as: 'workingDir'
549
+ end
550
+ end
551
+
552
+ class ContainerPort
553
+ # @private
554
+ class Representation < Google::Apis::Core::JsonRepresentation
555
+ property :container_port, as: 'containerPort'
556
+ property :name, as: 'name'
557
+ property :protocol, as: 'protocol'
558
+ end
559
+ end
560
+
561
+ class DomainMapping
562
+ # @private
563
+ class Representation < Google::Apis::Core::JsonRepresentation
564
+ property :api_version, as: 'apiVersion'
565
+ property :kind, as: 'kind'
566
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
567
+
568
+ property :spec, as: 'spec', class: Google::Apis::RunV1::DomainMappingSpec, decorator: Google::Apis::RunV1::DomainMappingSpec::Representation
569
+
570
+ property :status, as: 'status', class: Google::Apis::RunV1::DomainMappingStatus, decorator: Google::Apis::RunV1::DomainMappingStatus::Representation
571
+
572
+ end
573
+ end
574
+
575
+ class DomainMappingSpec
576
+ # @private
577
+ class Representation < Google::Apis::Core::JsonRepresentation
578
+ property :certificate_mode, as: 'certificateMode'
579
+ property :force_override, as: 'forceOverride'
580
+ property :route_name, as: 'routeName'
581
+ end
582
+ end
583
+
584
+ class DomainMappingStatus
585
+ # @private
586
+ class Representation < Google::Apis::Core::JsonRepresentation
587
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV1::GoogleCloudRunV1Condition, decorator: Google::Apis::RunV1::GoogleCloudRunV1Condition::Representation
588
+
589
+ property :mapped_route_name, as: 'mappedRouteName'
590
+ property :observed_generation, as: 'observedGeneration'
591
+ collection :resource_records, as: 'resourceRecords', class: Google::Apis::RunV1::ResourceRecord, decorator: Google::Apis::RunV1::ResourceRecord::Representation
592
+
593
+ property :url, as: 'url'
594
+ end
595
+ end
596
+
597
+ class EnvFromSource
598
+ # @private
599
+ class Representation < Google::Apis::Core::JsonRepresentation
600
+ property :config_map_ref, as: 'configMapRef', class: Google::Apis::RunV1::ConfigMapEnvSource, decorator: Google::Apis::RunV1::ConfigMapEnvSource::Representation
601
+
602
+ property :prefix, as: 'prefix'
603
+ property :secret_ref, as: 'secretRef', class: Google::Apis::RunV1::SecretEnvSource, decorator: Google::Apis::RunV1::SecretEnvSource::Representation
604
+
605
+ end
606
+ end
607
+
608
+ class EnvVar
609
+ # @private
610
+ class Representation < Google::Apis::Core::JsonRepresentation
611
+ property :name, as: 'name'
612
+ property :value, as: 'value'
613
+ property :value_from, as: 'valueFrom', class: Google::Apis::RunV1::EnvVarSource, decorator: Google::Apis::RunV1::EnvVarSource::Representation
614
+
615
+ end
616
+ end
617
+
618
+ class EnvVarSource
619
+ # @private
620
+ class Representation < Google::Apis::Core::JsonRepresentation
621
+ property :config_map_key_ref, as: 'configMapKeyRef', class: Google::Apis::RunV1::ConfigMapKeySelector, decorator: Google::Apis::RunV1::ConfigMapKeySelector::Representation
622
+
623
+ property :secret_key_ref, as: 'secretKeyRef', class: Google::Apis::RunV1::SecretKeySelector, decorator: Google::Apis::RunV1::SecretKeySelector::Representation
624
+
625
+ end
626
+ end
627
+
628
+ class ExecAction
629
+ # @private
630
+ class Representation < Google::Apis::Core::JsonRepresentation
631
+ collection :command, as: 'command'
632
+ end
633
+ end
634
+
635
+ class Expr
636
+ # @private
637
+ class Representation < Google::Apis::Core::JsonRepresentation
638
+ property :description, as: 'description'
639
+ property :expression, as: 'expression'
640
+ property :location, as: 'location'
641
+ property :title, as: 'title'
642
+ end
643
+ end
644
+
645
+ class GoogleCloudRunV1Condition
646
+ # @private
647
+ class Representation < Google::Apis::Core::JsonRepresentation
648
+ property :last_transition_time, as: 'lastTransitionTime'
649
+ property :message, as: 'message'
650
+ property :reason, as: 'reason'
651
+ property :severity, as: 'severity'
652
+ property :status, as: 'status'
653
+ property :type, as: 'type'
654
+ end
655
+ end
656
+
657
+ class HttpGetAction
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ property :host, as: 'host'
661
+ collection :http_headers, as: 'httpHeaders', class: Google::Apis::RunV1::HttpHeader, decorator: Google::Apis::RunV1::HttpHeader::Representation
662
+
663
+ property :path, as: 'path'
664
+ property :scheme, as: 'scheme'
665
+ end
666
+ end
667
+
668
+ class HttpHeader
669
+ # @private
670
+ class Representation < Google::Apis::Core::JsonRepresentation
671
+ property :name, as: 'name'
672
+ property :value, as: 'value'
673
+ end
674
+ end
675
+
676
+ class KeyToPath
677
+ # @private
678
+ class Representation < Google::Apis::Core::JsonRepresentation
679
+ property :key, as: 'key'
680
+ property :mode, as: 'mode'
681
+ property :path, as: 'path'
682
+ end
683
+ end
684
+
685
+ class ListAuthorizedDomainsResponse
686
+ # @private
687
+ class Representation < Google::Apis::Core::JsonRepresentation
688
+ collection :domains, as: 'domains', class: Google::Apis::RunV1::AuthorizedDomain, decorator: Google::Apis::RunV1::AuthorizedDomain::Representation
689
+
690
+ property :next_page_token, as: 'nextPageToken'
691
+ end
692
+ end
693
+
694
+ class ListConfigurationsResponse
695
+ # @private
696
+ class Representation < Google::Apis::Core::JsonRepresentation
697
+ property :api_version, as: 'apiVersion'
698
+ collection :items, as: 'items', class: Google::Apis::RunV1::Configuration, decorator: Google::Apis::RunV1::Configuration::Representation
699
+
700
+ property :kind, as: 'kind'
701
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
702
+
703
+ collection :unreachable, as: 'unreachable'
704
+ end
705
+ end
706
+
707
+ class ListDomainMappingsResponse
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ property :api_version, as: 'apiVersion'
711
+ collection :items, as: 'items', class: Google::Apis::RunV1::DomainMapping, decorator: Google::Apis::RunV1::DomainMapping::Representation
712
+
713
+ property :kind, as: 'kind'
714
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
715
+
716
+ collection :unreachable, as: 'unreachable'
717
+ end
718
+ end
719
+
720
+ class ListLocationsResponse
721
+ # @private
722
+ class Representation < Google::Apis::Core::JsonRepresentation
723
+ collection :locations, as: 'locations', class: Google::Apis::RunV1::Location, decorator: Google::Apis::RunV1::Location::Representation
724
+
725
+ property :next_page_token, as: 'nextPageToken'
726
+ end
727
+ end
728
+
729
+ class ListMeta
730
+ # @private
731
+ class Representation < Google::Apis::Core::JsonRepresentation
732
+ property :continue, as: 'continue'
733
+ property :resource_version, as: 'resourceVersion'
734
+ property :self_link, as: 'selfLink'
735
+ end
736
+ end
737
+
738
+ class ListRevisionsResponse
739
+ # @private
740
+ class Representation < Google::Apis::Core::JsonRepresentation
741
+ property :api_version, as: 'apiVersion'
742
+ collection :items, as: 'items', class: Google::Apis::RunV1::Revision, decorator: Google::Apis::RunV1::Revision::Representation
743
+
744
+ property :kind, as: 'kind'
745
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
746
+
747
+ collection :unreachable, as: 'unreachable'
748
+ end
749
+ end
750
+
751
+ class ListRoutesResponse
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :api_version, as: 'apiVersion'
755
+ collection :items, as: 'items', class: Google::Apis::RunV1::Route, decorator: Google::Apis::RunV1::Route::Representation
756
+
757
+ property :kind, as: 'kind'
758
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
759
+
760
+ collection :unreachable, as: 'unreachable'
761
+ end
762
+ end
763
+
764
+ class ListServicesResponse
765
+ # @private
766
+ class Representation < Google::Apis::Core::JsonRepresentation
767
+ property :api_version, as: 'apiVersion'
768
+ collection :items, as: 'items', class: Google::Apis::RunV1::Service, decorator: Google::Apis::RunV1::Service::Representation
769
+
770
+ property :kind, as: 'kind'
771
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
772
+
773
+ collection :unreachable, as: 'unreachable'
774
+ end
775
+ end
776
+
777
+ class LocalObjectReference
778
+ # @private
779
+ class Representation < Google::Apis::Core::JsonRepresentation
780
+ property :name, as: 'name'
781
+ end
782
+ end
783
+
784
+ class Location
785
+ # @private
786
+ class Representation < Google::Apis::Core::JsonRepresentation
787
+ property :display_name, as: 'displayName'
788
+ hash :labels, as: 'labels'
789
+ property :location_id, as: 'locationId'
790
+ hash :metadata, as: 'metadata'
791
+ property :name, as: 'name'
792
+ end
793
+ end
794
+
795
+ class ObjectMeta
796
+ # @private
797
+ class Representation < Google::Apis::Core::JsonRepresentation
798
+ hash :annotations, as: 'annotations'
799
+ property :cluster_name, as: 'clusterName'
800
+ property :creation_timestamp, as: 'creationTimestamp'
801
+ property :deletion_grace_period_seconds, as: 'deletionGracePeriodSeconds'
802
+ property :deletion_timestamp, as: 'deletionTimestamp'
803
+ collection :finalizers, as: 'finalizers'
804
+ property :generate_name, as: 'generateName'
805
+ property :generation, as: 'generation'
806
+ hash :labels, as: 'labels'
807
+ property :name, as: 'name'
808
+ property :namespace, as: 'namespace'
809
+ collection :owner_references, as: 'ownerReferences', class: Google::Apis::RunV1::OwnerReference, decorator: Google::Apis::RunV1::OwnerReference::Representation
810
+
811
+ property :resource_version, as: 'resourceVersion'
812
+ property :self_link, as: 'selfLink'
813
+ property :uid, as: 'uid'
814
+ end
815
+ end
816
+
817
+ class OwnerReference
818
+ # @private
819
+ class Representation < Google::Apis::Core::JsonRepresentation
820
+ property :api_version, as: 'apiVersion'
821
+ property :block_owner_deletion, as: 'blockOwnerDeletion'
822
+ property :controller, as: 'controller'
823
+ property :kind, as: 'kind'
824
+ property :name, as: 'name'
825
+ property :uid, as: 'uid'
826
+ end
827
+ end
828
+
829
+ class Policy
830
+ # @private
831
+ class Representation < Google::Apis::Core::JsonRepresentation
832
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::RunV1::AuditConfig, decorator: Google::Apis::RunV1::AuditConfig::Representation
833
+
834
+ collection :bindings, as: 'bindings', class: Google::Apis::RunV1::Binding, decorator: Google::Apis::RunV1::Binding::Representation
835
+
836
+ property :etag, :base64 => true, as: 'etag'
837
+ property :version, as: 'version'
838
+ end
839
+ end
840
+
841
+ class Probe
842
+ # @private
843
+ class Representation < Google::Apis::Core::JsonRepresentation
844
+ property :exec, as: 'exec', class: Google::Apis::RunV1::ExecAction, decorator: Google::Apis::RunV1::ExecAction::Representation
845
+
846
+ property :failure_threshold, as: 'failureThreshold'
847
+ property :http_get, as: 'httpGet', class: Google::Apis::RunV1::HttpGetAction, decorator: Google::Apis::RunV1::HttpGetAction::Representation
848
+
849
+ property :initial_delay_seconds, as: 'initialDelaySeconds'
850
+ property :period_seconds, as: 'periodSeconds'
851
+ property :success_threshold, as: 'successThreshold'
852
+ property :tcp_socket, as: 'tcpSocket', class: Google::Apis::RunV1::TcpSocketAction, decorator: Google::Apis::RunV1::TcpSocketAction::Representation
853
+
854
+ property :timeout_seconds, as: 'timeoutSeconds'
855
+ end
856
+ end
857
+
858
+ class ResourceRecord
859
+ # @private
860
+ class Representation < Google::Apis::Core::JsonRepresentation
861
+ property :name, as: 'name'
862
+ property :rrdata, as: 'rrdata'
863
+ property :type, as: 'type'
864
+ end
865
+ end
866
+
867
+ class ResourceRequirements
868
+ # @private
869
+ class Representation < Google::Apis::Core::JsonRepresentation
870
+ hash :limits, as: 'limits'
871
+ hash :requests, as: 'requests'
872
+ end
873
+ end
874
+
875
+ class Revision
876
+ # @private
877
+ class Representation < Google::Apis::Core::JsonRepresentation
878
+ property :api_version, as: 'apiVersion'
879
+ property :kind, as: 'kind'
880
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
881
+
882
+ property :spec, as: 'spec', class: Google::Apis::RunV1::RevisionSpec, decorator: Google::Apis::RunV1::RevisionSpec::Representation
883
+
884
+ property :status, as: 'status', class: Google::Apis::RunV1::RevisionStatus, decorator: Google::Apis::RunV1::RevisionStatus::Representation
885
+
886
+ end
887
+ end
888
+
889
+ class RevisionSpec
890
+ # @private
891
+ class Representation < Google::Apis::Core::JsonRepresentation
892
+ property :container_concurrency, as: 'containerConcurrency'
893
+ collection :containers, as: 'containers', class: Google::Apis::RunV1::Container, decorator: Google::Apis::RunV1::Container::Representation
894
+
895
+ property :service_account_name, as: 'serviceAccountName'
896
+ property :timeout_seconds, as: 'timeoutSeconds'
897
+ collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
898
+
899
+ end
900
+ end
901
+
902
+ class RevisionStatus
903
+ # @private
904
+ class Representation < Google::Apis::Core::JsonRepresentation
905
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV1::GoogleCloudRunV1Condition, decorator: Google::Apis::RunV1::GoogleCloudRunV1Condition::Representation
906
+
907
+ property :image_digest, as: 'imageDigest'
908
+ property :log_url, as: 'logUrl'
909
+ property :observed_generation, as: 'observedGeneration'
910
+ property :service_name, as: 'serviceName'
911
+ end
912
+ end
913
+
914
+ class RevisionTemplate
915
+ # @private
916
+ class Representation < Google::Apis::Core::JsonRepresentation
917
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
918
+
919
+ property :spec, as: 'spec', class: Google::Apis::RunV1::RevisionSpec, decorator: Google::Apis::RunV1::RevisionSpec::Representation
920
+
921
+ end
922
+ end
923
+
924
+ class Route
925
+ # @private
926
+ class Representation < Google::Apis::Core::JsonRepresentation
927
+ property :api_version, as: 'apiVersion'
928
+ property :kind, as: 'kind'
929
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
930
+
931
+ property :spec, as: 'spec', class: Google::Apis::RunV1::RouteSpec, decorator: Google::Apis::RunV1::RouteSpec::Representation
932
+
933
+ property :status, as: 'status', class: Google::Apis::RunV1::RouteStatus, decorator: Google::Apis::RunV1::RouteStatus::Representation
934
+
935
+ end
936
+ end
937
+
938
+ class RouteSpec
939
+ # @private
940
+ class Representation < Google::Apis::Core::JsonRepresentation
941
+ collection :traffic, as: 'traffic', class: Google::Apis::RunV1::TrafficTarget, decorator: Google::Apis::RunV1::TrafficTarget::Representation
942
+
943
+ end
944
+ end
945
+
946
+ class RouteStatus
947
+ # @private
948
+ class Representation < Google::Apis::Core::JsonRepresentation
949
+ property :address, as: 'address', class: Google::Apis::RunV1::Addressable, decorator: Google::Apis::RunV1::Addressable::Representation
950
+
951
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV1::GoogleCloudRunV1Condition, decorator: Google::Apis::RunV1::GoogleCloudRunV1Condition::Representation
952
+
953
+ property :observed_generation, as: 'observedGeneration'
954
+ collection :traffic, as: 'traffic', class: Google::Apis::RunV1::TrafficTarget, decorator: Google::Apis::RunV1::TrafficTarget::Representation
955
+
956
+ property :url, as: 'url'
957
+ end
958
+ end
959
+
960
+ class SecretEnvSource
961
+ # @private
962
+ class Representation < Google::Apis::Core::JsonRepresentation
963
+ property :local_object_reference, as: 'localObjectReference', class: Google::Apis::RunV1::LocalObjectReference, decorator: Google::Apis::RunV1::LocalObjectReference::Representation
964
+
965
+ property :name, as: 'name'
966
+ property :optional, as: 'optional'
967
+ end
968
+ end
969
+
970
+ class SecretKeySelector
971
+ # @private
972
+ class Representation < Google::Apis::Core::JsonRepresentation
973
+ property :key, as: 'key'
974
+ property :local_object_reference, as: 'localObjectReference', class: Google::Apis::RunV1::LocalObjectReference, decorator: Google::Apis::RunV1::LocalObjectReference::Representation
975
+
976
+ property :name, as: 'name'
977
+ property :optional, as: 'optional'
978
+ end
979
+ end
980
+
981
+ class SecretVolumeSource
982
+ # @private
983
+ class Representation < Google::Apis::Core::JsonRepresentation
984
+ property :default_mode, as: 'defaultMode'
985
+ collection :items, as: 'items', class: Google::Apis::RunV1::KeyToPath, decorator: Google::Apis::RunV1::KeyToPath::Representation
986
+
987
+ property :optional, as: 'optional'
988
+ property :secret_name, as: 'secretName'
989
+ end
990
+ end
991
+
992
+ class SecurityContext
993
+ # @private
994
+ class Representation < Google::Apis::Core::JsonRepresentation
995
+ property :run_as_user, as: 'runAsUser'
996
+ end
997
+ end
998
+
999
+ class Service
1000
+ # @private
1001
+ class Representation < Google::Apis::Core::JsonRepresentation
1002
+ property :api_version, as: 'apiVersion'
1003
+ property :kind, as: 'kind'
1004
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
1005
+
1006
+ property :spec, as: 'spec', class: Google::Apis::RunV1::ServiceSpec, decorator: Google::Apis::RunV1::ServiceSpec::Representation
1007
+
1008
+ property :status, as: 'status', class: Google::Apis::RunV1::ServiceStatus, decorator: Google::Apis::RunV1::ServiceStatus::Representation
1009
+
1010
+ end
1011
+ end
1012
+
1013
+ class ServiceSpec
1014
+ # @private
1015
+ class Representation < Google::Apis::Core::JsonRepresentation
1016
+ property :template, as: 'template', class: Google::Apis::RunV1::RevisionTemplate, decorator: Google::Apis::RunV1::RevisionTemplate::Representation
1017
+
1018
+ collection :traffic, as: 'traffic', class: Google::Apis::RunV1::TrafficTarget, decorator: Google::Apis::RunV1::TrafficTarget::Representation
1019
+
1020
+ end
1021
+ end
1022
+
1023
+ class ServiceStatus
1024
+ # @private
1025
+ class Representation < Google::Apis::Core::JsonRepresentation
1026
+ property :address, as: 'address', class: Google::Apis::RunV1::Addressable, decorator: Google::Apis::RunV1::Addressable::Representation
1027
+
1028
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV1::GoogleCloudRunV1Condition, decorator: Google::Apis::RunV1::GoogleCloudRunV1Condition::Representation
1029
+
1030
+ property :latest_created_revision_name, as: 'latestCreatedRevisionName'
1031
+ property :latest_ready_revision_name, as: 'latestReadyRevisionName'
1032
+ property :observed_generation, as: 'observedGeneration'
1033
+ collection :traffic, as: 'traffic', class: Google::Apis::RunV1::TrafficTarget, decorator: Google::Apis::RunV1::TrafficTarget::Representation
1034
+
1035
+ property :url, as: 'url'
1036
+ end
1037
+ end
1038
+
1039
+ class SetIamPolicyRequest
1040
+ # @private
1041
+ class Representation < Google::Apis::Core::JsonRepresentation
1042
+ property :policy, as: 'policy', class: Google::Apis::RunV1::Policy, decorator: Google::Apis::RunV1::Policy::Representation
1043
+
1044
+ property :update_mask, as: 'updateMask'
1045
+ end
1046
+ end
1047
+
1048
+ class Status
1049
+ # @private
1050
+ class Representation < Google::Apis::Core::JsonRepresentation
1051
+ property :code, as: 'code'
1052
+ property :details, as: 'details', class: Google::Apis::RunV1::StatusDetails, decorator: Google::Apis::RunV1::StatusDetails::Representation
1053
+
1054
+ property :message, as: 'message'
1055
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
1056
+
1057
+ property :reason, as: 'reason'
1058
+ property :status, as: 'status'
1059
+ end
1060
+ end
1061
+
1062
+ class StatusCause
1063
+ # @private
1064
+ class Representation < Google::Apis::Core::JsonRepresentation
1065
+ property :field, as: 'field'
1066
+ property :message, as: 'message'
1067
+ property :reason, as: 'reason'
1068
+ end
1069
+ end
1070
+
1071
+ class StatusDetails
1072
+ # @private
1073
+ class Representation < Google::Apis::Core::JsonRepresentation
1074
+ collection :causes, as: 'causes', class: Google::Apis::RunV1::StatusCause, decorator: Google::Apis::RunV1::StatusCause::Representation
1075
+
1076
+ property :group, as: 'group'
1077
+ property :kind, as: 'kind'
1078
+ property :name, as: 'name'
1079
+ property :retry_after_seconds, as: 'retryAfterSeconds'
1080
+ property :uid, as: 'uid'
1081
+ end
1082
+ end
1083
+
1084
+ class TcpSocketAction
1085
+ # @private
1086
+ class Representation < Google::Apis::Core::JsonRepresentation
1087
+ property :host, as: 'host'
1088
+ property :port, as: 'port'
1089
+ end
1090
+ end
1091
+
1092
+ class TestIamPermissionsRequest
1093
+ # @private
1094
+ class Representation < Google::Apis::Core::JsonRepresentation
1095
+ collection :permissions, as: 'permissions'
1096
+ end
1097
+ end
1098
+
1099
+ class TestIamPermissionsResponse
1100
+ # @private
1101
+ class Representation < Google::Apis::Core::JsonRepresentation
1102
+ collection :permissions, as: 'permissions'
1103
+ end
1104
+ end
1105
+
1106
+ class TrafficTarget
1107
+ # @private
1108
+ class Representation < Google::Apis::Core::JsonRepresentation
1109
+ property :configuration_name, as: 'configurationName'
1110
+ property :latest_revision, as: 'latestRevision'
1111
+ property :percent, as: 'percent'
1112
+ property :revision_name, as: 'revisionName'
1113
+ property :tag, as: 'tag'
1114
+ property :url, as: 'url'
1115
+ end
1116
+ end
1117
+
1118
+ class Volume
1119
+ # @private
1120
+ class Representation < Google::Apis::Core::JsonRepresentation
1121
+ property :config_map, as: 'configMap', class: Google::Apis::RunV1::ConfigMapVolumeSource, decorator: Google::Apis::RunV1::ConfigMapVolumeSource::Representation
1122
+
1123
+ property :name, as: 'name'
1124
+ property :secret, as: 'secret', class: Google::Apis::RunV1::SecretVolumeSource, decorator: Google::Apis::RunV1::SecretVolumeSource::Representation
1125
+
1126
+ end
1127
+ end
1128
+
1129
+ class VolumeMount
1130
+ # @private
1131
+ class Representation < Google::Apis::Core::JsonRepresentation
1132
+ property :mount_path, as: 'mountPath'
1133
+ property :name, as: 'name'
1134
+ property :read_only, as: 'readOnly'
1135
+ property :sub_path, as: 'subPath'
1136
+ end
1137
+ end
1138
+ end
1139
+ end
1140
+ end