google-apis-run_v1alpha1 0.12.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/run_v1alpha1/classes.rb +397 -651
- data/lib/google/apis/run_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1alpha1/representations.rb +29 -123
- data/lib/google/apis/run_v1alpha1/service.rb +2 -2
- data/lib/google/apis/run_v1alpha1.rb +3 -3
- metadata +3 -3
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RunV1alpha1
|
18
18
|
# Version of the google-apis-run_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211001"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,12 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module RunV1alpha1
|
24
24
|
|
25
|
-
class Capabilities
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
25
|
class ConfigMapEnvSource
|
32
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
27
|
|
@@ -88,43 +82,43 @@ module Google
|
|
88
82
|
include Google::Apis::Core::JsonObjectSupport
|
89
83
|
end
|
90
84
|
|
91
|
-
class
|
85
|
+
class GoogleRpcStatus
|
92
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
87
|
|
94
88
|
include Google::Apis::Core::JsonObjectSupport
|
95
89
|
end
|
96
90
|
|
97
|
-
class
|
91
|
+
class HttpGetAction
|
98
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
93
|
|
100
94
|
include Google::Apis::Core::JsonObjectSupport
|
101
95
|
end
|
102
96
|
|
103
|
-
class
|
97
|
+
class HttpHeader
|
104
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
99
|
|
106
100
|
include Google::Apis::Core::JsonObjectSupport
|
107
101
|
end
|
108
102
|
|
109
|
-
class
|
103
|
+
class InstanceAttemptResult
|
110
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
105
|
|
112
106
|
include Google::Apis::Core::JsonObjectSupport
|
113
107
|
end
|
114
108
|
|
115
|
-
class
|
109
|
+
class InstanceSpec
|
116
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
111
|
|
118
112
|
include Google::Apis::Core::JsonObjectSupport
|
119
113
|
end
|
120
114
|
|
121
|
-
class
|
115
|
+
class InstanceStatus
|
122
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
117
|
|
124
118
|
include Google::Apis::Core::JsonObjectSupport
|
125
119
|
end
|
126
120
|
|
127
|
-
class
|
121
|
+
class InstanceTemplateSpec
|
128
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
123
|
|
130
124
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -160,12 +154,6 @@ module Google
|
|
160
154
|
include Google::Apis::Core::JsonObjectSupport
|
161
155
|
end
|
162
156
|
|
163
|
-
class Lifecycle
|
164
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
-
|
166
|
-
include Google::Apis::Core::JsonObjectSupport
|
167
|
-
end
|
168
|
-
|
169
157
|
class ListJobsResponse
|
170
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
159
|
|
@@ -202,24 +190,12 @@ module Google
|
|
202
190
|
include Google::Apis::Core::JsonObjectSupport
|
203
191
|
end
|
204
192
|
|
205
|
-
class Quantity
|
206
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
-
|
208
|
-
include Google::Apis::Core::JsonObjectSupport
|
209
|
-
end
|
210
|
-
|
211
193
|
class ResourceRequirements
|
212
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
195
|
|
214
196
|
include Google::Apis::Core::JsonObjectSupport
|
215
197
|
end
|
216
198
|
|
217
|
-
class SeLinuxOptions
|
218
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
-
|
220
|
-
include Google::Apis::Core::JsonObjectSupport
|
221
|
-
end
|
222
|
-
|
223
199
|
class SecretEnvSource
|
224
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
201
|
|
@@ -256,26 +232,12 @@ module Google
|
|
256
232
|
include Google::Apis::Core::JsonObjectSupport
|
257
233
|
end
|
258
234
|
|
259
|
-
class VolumeDevice
|
260
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
-
|
262
|
-
include Google::Apis::Core::JsonObjectSupport
|
263
|
-
end
|
264
|
-
|
265
235
|
class VolumeMount
|
266
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
237
|
|
268
238
|
include Google::Apis::Core::JsonObjectSupport
|
269
239
|
end
|
270
240
|
|
271
|
-
class Capabilities
|
272
|
-
# @private
|
273
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
274
|
-
collection :add, as: 'add'
|
275
|
-
collection :drop, as: 'drop'
|
276
|
-
end
|
277
|
-
end
|
278
|
-
|
279
241
|
class ConfigMapEnvSource
|
280
242
|
# @private
|
281
243
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -319,8 +281,6 @@ module Google
|
|
319
281
|
|
320
282
|
property :image, as: 'image'
|
321
283
|
property :image_pull_policy, as: 'imagePullPolicy'
|
322
|
-
property :lifecycle, as: 'lifecycle', class: Google::Apis::RunV1alpha1::Lifecycle, decorator: Google::Apis::RunV1alpha1::Lifecycle::Representation
|
323
|
-
|
324
284
|
property :liveness_probe, as: 'livenessProbe', class: Google::Apis::RunV1alpha1::Probe, decorator: Google::Apis::RunV1alpha1::Probe::Representation
|
325
285
|
|
326
286
|
property :name, as: 'name'
|
@@ -332,13 +292,10 @@ module Google
|
|
332
292
|
|
333
293
|
property :security_context, as: 'securityContext', class: Google::Apis::RunV1alpha1::SecurityContext, decorator: Google::Apis::RunV1alpha1::SecurityContext::Representation
|
334
294
|
|
335
|
-
property :
|
336
|
-
|
295
|
+
property :startup_probe, as: 'startupProbe', class: Google::Apis::RunV1alpha1::Probe, decorator: Google::Apis::RunV1alpha1::Probe::Representation
|
296
|
+
|
337
297
|
property :termination_message_path, as: 'terminationMessagePath'
|
338
298
|
property :termination_message_policy, as: 'terminationMessagePolicy'
|
339
|
-
property :tty, as: 'tty'
|
340
|
-
collection :volume_devices, as: 'volumeDevices', class: Google::Apis::RunV1alpha1::VolumeDevice, decorator: Google::Apis::RunV1alpha1::VolumeDevice::Representation
|
341
|
-
|
342
299
|
collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV1alpha1::VolumeMount, decorator: Google::Apis::RunV1alpha1::VolumeMount::Representation
|
343
300
|
|
344
301
|
property :working_dir, as: 'workingDir'
|
@@ -349,8 +306,6 @@ module Google
|
|
349
306
|
# @private
|
350
307
|
class Representation < Google::Apis::Core::JsonRepresentation
|
351
308
|
property :container_port, as: 'containerPort'
|
352
|
-
property :host_ip, as: 'hostIP'
|
353
|
-
property :host_port, as: 'hostPort'
|
354
309
|
property :name, as: 'name'
|
355
310
|
property :protocol, as: 'protocol'
|
356
311
|
end
|
@@ -400,6 +355,15 @@ module Google
|
|
400
355
|
end
|
401
356
|
end
|
402
357
|
|
358
|
+
class GoogleRpcStatus
|
359
|
+
# @private
|
360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
361
|
+
property :code, as: 'code'
|
362
|
+
collection :details, as: 'details'
|
363
|
+
property :message, as: 'message'
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
403
367
|
class HttpGetAction
|
404
368
|
# @private
|
405
369
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -407,8 +371,6 @@ module Google
|
|
407
371
|
collection :http_headers, as: 'httpHeaders', class: Google::Apis::RunV1alpha1::HttpHeader, decorator: Google::Apis::RunV1alpha1::HttpHeader::Representation
|
408
372
|
|
409
373
|
property :path, as: 'path'
|
410
|
-
property :port, as: 'port', class: Google::Apis::RunV1alpha1::IntOrString, decorator: Google::Apis::RunV1alpha1::IntOrString::Representation
|
411
|
-
|
412
374
|
property :scheme, as: 'scheme'
|
413
375
|
end
|
414
376
|
end
|
@@ -421,14 +383,11 @@ module Google
|
|
421
383
|
end
|
422
384
|
end
|
423
385
|
|
424
|
-
class
|
386
|
+
class InstanceAttemptResult
|
425
387
|
# @private
|
426
388
|
class Representation < Google::Apis::Core::JsonRepresentation
|
427
|
-
property :
|
428
|
-
|
429
|
-
property :http_get, as: 'httpGet', class: Google::Apis::RunV1alpha1::HttpGetAction, decorator: Google::Apis::RunV1alpha1::HttpGetAction::Representation
|
430
|
-
|
431
|
-
property :tcp_socket, as: 'tcpSocket', class: Google::Apis::RunV1alpha1::TcpSocketAction, decorator: Google::Apis::RunV1alpha1::TcpSocketAction::Representation
|
389
|
+
property :exit_code, as: 'exitCode'
|
390
|
+
property :status, as: 'status', class: Google::Apis::RunV1alpha1::GoogleRpcStatus, decorator: Google::Apis::RunV1alpha1::GoogleRpcStatus::Representation
|
432
391
|
|
433
392
|
end
|
434
393
|
end
|
@@ -453,6 +412,8 @@ module Google
|
|
453
412
|
property :completion_time, as: 'completionTime'
|
454
413
|
property :failed, as: 'failed'
|
455
414
|
property :index, as: 'index'
|
415
|
+
property :last_attempt_result, as: 'lastAttemptResult', class: Google::Apis::RunV1alpha1::InstanceAttemptResult, decorator: Google::Apis::RunV1alpha1::InstanceAttemptResult::Representation
|
416
|
+
|
456
417
|
property :last_exit_code, as: 'lastExitCode'
|
457
418
|
property :restarted, as: 'restarted'
|
458
419
|
property :start_time, as: 'startTime'
|
@@ -468,15 +429,6 @@ module Google
|
|
468
429
|
end
|
469
430
|
end
|
470
431
|
|
471
|
-
class IntOrString
|
472
|
-
# @private
|
473
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
474
|
-
property :int_val, as: 'intVal'
|
475
|
-
property :str_val, as: 'strVal'
|
476
|
-
property :type, as: 'type'
|
477
|
-
end
|
478
|
-
end
|
479
|
-
|
480
432
|
class Job
|
481
433
|
# @private
|
482
434
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -542,16 +494,6 @@ module Google
|
|
542
494
|
end
|
543
495
|
end
|
544
496
|
|
545
|
-
class Lifecycle
|
546
|
-
# @private
|
547
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
548
|
-
property :post_start, as: 'postStart', class: Google::Apis::RunV1alpha1::Handler, decorator: Google::Apis::RunV1alpha1::Handler::Representation
|
549
|
-
|
550
|
-
property :pre_stop, as: 'preStop', class: Google::Apis::RunV1alpha1::Handler, decorator: Google::Apis::RunV1alpha1::Handler::Representation
|
551
|
-
|
552
|
-
end
|
553
|
-
end
|
554
|
-
|
555
497
|
class ListJobsResponse
|
556
498
|
# @private
|
557
499
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -619,20 +561,17 @@ module Google
|
|
619
561
|
class Probe
|
620
562
|
# @private
|
621
563
|
class Representation < Google::Apis::Core::JsonRepresentation
|
564
|
+
property :exec, as: 'exec', class: Google::Apis::RunV1alpha1::ExecAction, decorator: Google::Apis::RunV1alpha1::ExecAction::Representation
|
565
|
+
|
622
566
|
property :failure_threshold, as: 'failureThreshold'
|
623
|
-
property :
|
567
|
+
property :http_get, as: 'httpGet', class: Google::Apis::RunV1alpha1::HttpGetAction, decorator: Google::Apis::RunV1alpha1::HttpGetAction::Representation
|
624
568
|
|
625
569
|
property :initial_delay_seconds, as: 'initialDelaySeconds'
|
626
570
|
property :period_seconds, as: 'periodSeconds'
|
627
571
|
property :success_threshold, as: 'successThreshold'
|
628
|
-
property :
|
629
|
-
end
|
630
|
-
end
|
572
|
+
property :tcp_socket, as: 'tcpSocket', class: Google::Apis::RunV1alpha1::TcpSocketAction, decorator: Google::Apis::RunV1alpha1::TcpSocketAction::Representation
|
631
573
|
|
632
|
-
|
633
|
-
# @private
|
634
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
635
|
-
property :string, as: 'string'
|
574
|
+
property :timeout_seconds, as: 'timeoutSeconds'
|
636
575
|
end
|
637
576
|
end
|
638
577
|
|
@@ -640,21 +579,7 @@ module Google
|
|
640
579
|
# @private
|
641
580
|
class Representation < Google::Apis::Core::JsonRepresentation
|
642
581
|
hash :limits, as: 'limits'
|
643
|
-
hash :limits_in_map, as: 'limitsInMap', class: Google::Apis::RunV1alpha1::Quantity, decorator: Google::Apis::RunV1alpha1::Quantity::Representation
|
644
|
-
|
645
582
|
hash :requests, as: 'requests'
|
646
|
-
hash :requests_in_map, as: 'requestsInMap', class: Google::Apis::RunV1alpha1::Quantity, decorator: Google::Apis::RunV1alpha1::Quantity::Representation
|
647
|
-
|
648
|
-
end
|
649
|
-
end
|
650
|
-
|
651
|
-
class SeLinuxOptions
|
652
|
-
# @private
|
653
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
654
|
-
property :level, as: 'level'
|
655
|
-
property :role, as: 'role'
|
656
|
-
property :type, as: 'type'
|
657
|
-
property :user, as: 'user'
|
658
583
|
end
|
659
584
|
end
|
660
585
|
|
@@ -693,16 +618,7 @@ module Google
|
|
693
618
|
class SecurityContext
|
694
619
|
# @private
|
695
620
|
class Representation < Google::Apis::Core::JsonRepresentation
|
696
|
-
property :allow_privilege_escalation, as: 'allowPrivilegeEscalation'
|
697
|
-
property :capabilities, as: 'capabilities', class: Google::Apis::RunV1alpha1::Capabilities, decorator: Google::Apis::RunV1alpha1::Capabilities::Representation
|
698
|
-
|
699
|
-
property :privileged, as: 'privileged'
|
700
|
-
property :read_only_root_filesystem, as: 'readOnlyRootFilesystem'
|
701
|
-
property :run_as_group, as: 'runAsGroup'
|
702
|
-
property :run_as_non_root, as: 'runAsNonRoot'
|
703
621
|
property :run_as_user, as: 'runAsUser'
|
704
|
-
property :se_linux_options, as: 'seLinuxOptions', class: Google::Apis::RunV1alpha1::SeLinuxOptions, decorator: Google::Apis::RunV1alpha1::SeLinuxOptions::Representation
|
705
|
-
|
706
622
|
end
|
707
623
|
end
|
708
624
|
|
@@ -710,8 +626,7 @@ module Google
|
|
710
626
|
# @private
|
711
627
|
class Representation < Google::Apis::Core::JsonRepresentation
|
712
628
|
property :host, as: 'host'
|
713
|
-
property :port, as: 'port'
|
714
|
-
|
629
|
+
property :port, as: 'port'
|
715
630
|
end
|
716
631
|
end
|
717
632
|
|
@@ -726,19 +641,10 @@ module Google
|
|
726
641
|
end
|
727
642
|
end
|
728
643
|
|
729
|
-
class VolumeDevice
|
730
|
-
# @private
|
731
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
732
|
-
property :device_path, as: 'devicePath'
|
733
|
-
property :name, as: 'name'
|
734
|
-
end
|
735
|
-
end
|
736
|
-
|
737
644
|
class VolumeMount
|
738
645
|
# @private
|
739
646
|
class Representation < Google::Apis::Core::JsonRepresentation
|
740
647
|
property :mount_path, as: 'mountPath'
|
741
|
-
property :mount_propagation, as: 'mountPropagation'
|
742
648
|
property :name, as: 'name'
|
743
649
|
property :read_only, as: 'readOnly'
|
744
650
|
property :sub_path, as: 'subPath'
|
@@ -23,8 +23,8 @@ module Google
|
|
23
23
|
# Cloud Run Admin API
|
24
24
|
#
|
25
25
|
# Deploy and manage user provided container images that scale automatically
|
26
|
-
# based on incoming
|
27
|
-
# API specification.
|
26
|
+
# based on incoming requests. The Cloud Run Admin API follows the Knative
|
27
|
+
# Serving API specification.
|
28
28
|
#
|
29
29
|
# @example
|
30
30
|
# require 'google/apis/run_v1alpha1'
|
@@ -22,8 +22,8 @@ module Google
|
|
22
22
|
# Cloud Run Admin API
|
23
23
|
#
|
24
24
|
# Deploy and manage user provided container images that scale automatically
|
25
|
-
# based on incoming
|
26
|
-
# API specification.
|
25
|
+
# based on incoming requests. The Cloud Run Admin API follows the Knative
|
26
|
+
# Serving API specification.
|
27
27
|
#
|
28
28
|
# @see https://cloud.google.com/run/
|
29
29
|
module RunV1alpha1
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# This is NOT the gem version.
|
32
32
|
VERSION = 'V1alpha1'
|
33
33
|
|
34
|
-
# See, edit, configure, and delete your Google Cloud
|
34
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
36
36
|
end
|
37
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-run_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-run_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1alpha1/v0.16.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-run_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|