google-apis-run_v1 0.8.0 → 0.9.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/run_v1.rb +2 -1
- data/lib/google/apis/run_v1/classes.rb +227 -308
- data/lib/google/apis/run_v1/gem_version.rb +3 -3
- data/lib/google/apis/run_v1/service.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f264c56886d3b66a15f9a9f0f9acd82d494f29bc67b735eab3afccd63dbe166
|
|
4
|
+
data.tar.gz: d844d3d5a4a9ba4dfb64e92917f9fd5fcf37f94573fbeea87617bd81c55b7d2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e392ffa3908cb2d1a627892d880035fbe62a9556f569817e39ec1cccbb659d39a3f87089a00c9de8cf55bb826296aa06b94df3100d95c7315cf6cc92b823f31
|
|
7
|
+
data.tar.gz: fc2c15b7280ff133010fd1a67fedd70c778126296e2951255de86b0d4f886254db234f06d9801dc55fda827bff8276e925745a5a857e5c424bc7405c2323459e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-run_v1
|
|
2
2
|
|
|
3
|
+
### v0.9.0 (2021-06-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20210611
|
|
6
|
+
* Regenerated using generator version 0.3.0
|
|
7
|
+
|
|
3
8
|
### v0.8.0 (2021-05-22)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20210517
|
data/lib/google/apis/run_v1.rb
CHANGED
|
@@ -22,7 +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
|
|
25
|
+
# based on incoming requets. The Cloud Run Admin API follows the Knative Serving
|
|
26
|
+
# API specification.
|
|
26
27
|
#
|
|
27
28
|
# @see https://cloud.google.com/run/
|
|
28
29
|
module RunV1
|
|
@@ -211,28 +211,24 @@ module Google
|
|
|
211
211
|
end
|
|
212
212
|
end
|
|
213
213
|
|
|
214
|
-
#
|
|
215
|
-
#
|
|
216
|
-
#
|
|
217
|
-
# value pairs as environment variables.
|
|
214
|
+
# Not supported by Cloud Run ConfigMapEnvSource selects a ConfigMap to populate
|
|
215
|
+
# the environment variables with. The contents of the target ConfigMap's Data
|
|
216
|
+
# field will represent the key-value pairs as environment variables.
|
|
218
217
|
class ConfigMapEnvSource
|
|
219
218
|
include Google::Apis::Core::Hashable
|
|
220
219
|
|
|
221
|
-
#
|
|
222
|
-
#
|
|
223
|
-
# referenced object inside the same namespace.
|
|
220
|
+
# Not supported by Cloud Run LocalObjectReference contains enough information to
|
|
221
|
+
# let you locate the referenced object inside the same namespace.
|
|
224
222
|
# Corresponds to the JSON property `localObjectReference`
|
|
225
223
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
|
226
224
|
attr_accessor :local_object_reference
|
|
227
225
|
|
|
228
|
-
#
|
|
229
|
-
# ConfigMap to select from.
|
|
226
|
+
# The ConfigMap to select from.
|
|
230
227
|
# Corresponds to the JSON property `name`
|
|
231
228
|
# @return [String]
|
|
232
229
|
attr_accessor :name
|
|
233
230
|
|
|
234
|
-
# (Optional)
|
|
235
|
-
# supported Specify whether the ConfigMap must be defined
|
|
231
|
+
# (Optional) Specify whether the ConfigMap must be defined
|
|
236
232
|
# Corresponds to the JSON property `optional`
|
|
237
233
|
# @return [Boolean]
|
|
238
234
|
attr_accessor :optional
|
|
@@ -250,32 +246,27 @@ module Google
|
|
|
250
246
|
end
|
|
251
247
|
end
|
|
252
248
|
|
|
253
|
-
#
|
|
254
|
-
# a key from a ConfigMap.
|
|
249
|
+
# Not supported by Cloud Run Selects a key from a ConfigMap.
|
|
255
250
|
class ConfigMapKeySelector
|
|
256
251
|
include Google::Apis::Core::Hashable
|
|
257
252
|
|
|
258
|
-
#
|
|
259
|
-
# to select.
|
|
253
|
+
# The key to select.
|
|
260
254
|
# Corresponds to the JSON property `key`
|
|
261
255
|
# @return [String]
|
|
262
256
|
attr_accessor :key
|
|
263
257
|
|
|
264
|
-
#
|
|
265
|
-
#
|
|
266
|
-
# referenced object inside the same namespace.
|
|
258
|
+
# Not supported by Cloud Run LocalObjectReference contains enough information to
|
|
259
|
+
# let you locate the referenced object inside the same namespace.
|
|
267
260
|
# Corresponds to the JSON property `localObjectReference`
|
|
268
261
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
|
269
262
|
attr_accessor :local_object_reference
|
|
270
263
|
|
|
271
|
-
#
|
|
272
|
-
# ConfigMap to select from.
|
|
264
|
+
# The ConfigMap to select from.
|
|
273
265
|
# Corresponds to the JSON property `name`
|
|
274
266
|
# @return [String]
|
|
275
267
|
attr_accessor :name
|
|
276
268
|
|
|
277
|
-
# (Optional)
|
|
278
|
-
# supported Specify whether the ConfigMap or its key must be defined
|
|
269
|
+
# (Optional) Specify whether the ConfigMap or its key must be defined
|
|
279
270
|
# Corresponds to the JSON property `optional`
|
|
280
271
|
# @return [Boolean]
|
|
281
272
|
attr_accessor :optional
|
|
@@ -294,16 +285,14 @@ module Google
|
|
|
294
285
|
end
|
|
295
286
|
end
|
|
296
287
|
|
|
297
|
-
# Cloud Run
|
|
298
|
-
#
|
|
299
|
-
#
|
|
300
|
-
#
|
|
301
|
-
# keys to paths.
|
|
288
|
+
# Not supported by Cloud Run Adapts a ConfigMap into a volume. The contents of
|
|
289
|
+
# the target ConfigMap's Data field will be presented in a volume as files using
|
|
290
|
+
# the keys in the Data field as the file names, unless the items element is
|
|
291
|
+
# populated with specific mappings of keys to paths.
|
|
302
292
|
class ConfigMapVolumeSource
|
|
303
293
|
include Google::Apis::Core::Hashable
|
|
304
294
|
|
|
305
|
-
# (Optional)
|
|
306
|
-
# supported Mode bits to use on created files by default. Must be a value
|
|
295
|
+
# (Optional) Mode bits to use on created files by default. Must be a value
|
|
307
296
|
# between 0 and 0777. Defaults to 0644. Directories within the path are not
|
|
308
297
|
# affected by this setting. This might be in conflict with other options that
|
|
309
298
|
# affect the file mode, like fsGroup, and the result can be other mode bits set.
|
|
@@ -311,8 +300,7 @@ module Google
|
|
|
311
300
|
# @return [Fixnum]
|
|
312
301
|
attr_accessor :default_mode
|
|
313
302
|
|
|
314
|
-
# (Optional)
|
|
315
|
-
# supported If unspecified, each key-value pair in the Data field of the
|
|
303
|
+
# (Optional) If unspecified, each key-value pair in the Data field of the
|
|
316
304
|
# referenced Secret will be projected into the volume as a file whose name is
|
|
317
305
|
# the key and content is the value. If specified, the listed keys will be
|
|
318
306
|
# projected into the specified paths, and unlisted keys will not be present. If
|
|
@@ -322,14 +310,12 @@ module Google
|
|
|
322
310
|
# @return [Array<Google::Apis::RunV1::KeyToPath>]
|
|
323
311
|
attr_accessor :items
|
|
324
312
|
|
|
325
|
-
#
|
|
326
|
-
# the config.
|
|
313
|
+
# Name of the config.
|
|
327
314
|
# Corresponds to the JSON property `name`
|
|
328
315
|
# @return [String]
|
|
329
316
|
attr_accessor :name
|
|
330
317
|
|
|
331
|
-
# (Optional)
|
|
332
|
-
# supported Specify whether the Secret or its keys must be defined.
|
|
318
|
+
# (Optional) Specify whether the Secret or its keys must be defined.
|
|
333
319
|
# Corresponds to the JSON property `optional`
|
|
334
320
|
# @return [Boolean]
|
|
335
321
|
attr_accessor :optional
|
|
@@ -472,15 +458,14 @@ module Google
|
|
|
472
458
|
class Container
|
|
473
459
|
include Google::Apis::Core::Hashable
|
|
474
460
|
|
|
475
|
-
# (Optional)
|
|
476
|
-
#
|
|
477
|
-
#
|
|
478
|
-
#
|
|
479
|
-
#
|
|
480
|
-
#
|
|
481
|
-
#
|
|
482
|
-
#
|
|
483
|
-
# command-in-a-shell
|
|
461
|
+
# (Optional) Arguments to the entrypoint. The docker image's CMD is used if this
|
|
462
|
+
# is not provided. Variable references $(VAR_NAME) are expanded using the
|
|
463
|
+
# container's environment. If a variable cannot be resolved, the reference in
|
|
464
|
+
# the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with
|
|
465
|
+
# a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
|
|
466
|
+
# regardless of whether the variable exists or not. More info: https://
|
|
467
|
+
# kubernetes.io/docs/tasks/inject-data-application/define-command-argument-
|
|
468
|
+
# container/#running-a-command-in-a-shell
|
|
484
469
|
# Corresponds to the JSON property `args`
|
|
485
470
|
# @return [Array<String>]
|
|
486
471
|
attr_accessor :args
|
|
@@ -490,14 +475,12 @@ module Google
|
|
|
490
475
|
# @return [Array<String>]
|
|
491
476
|
attr_accessor :command
|
|
492
477
|
|
|
493
|
-
# (Optional)
|
|
494
|
-
# List of environment variables to set in the container.
|
|
478
|
+
# (Optional) List of environment variables to set in the container.
|
|
495
479
|
# Corresponds to the JSON property `env`
|
|
496
480
|
# @return [Array<Google::Apis::RunV1::EnvVar>]
|
|
497
481
|
attr_accessor :env
|
|
498
482
|
|
|
499
|
-
# (Optional)
|
|
500
|
-
# supported List of sources to populate environment variables in the container.
|
|
483
|
+
# (Optional) List of sources to populate environment variables in the container.
|
|
501
484
|
# The keys defined within a source must be a C_IDENTIFIER. All invalid keys will
|
|
502
485
|
# be reported as an event when the container is starting. When a key exists in
|
|
503
486
|
# multiple sources, the value associated with the last source will take
|
|
@@ -507,24 +490,23 @@ module Google
|
|
|
507
490
|
# @return [Array<Google::Apis::RunV1::EnvFromSource>]
|
|
508
491
|
attr_accessor :env_from
|
|
509
492
|
|
|
510
|
-
#
|
|
511
|
-
#
|
|
512
|
-
#
|
|
493
|
+
# Only supports containers from Google Container Registry or Artifact Registry
|
|
494
|
+
# URL of the Container image. More info: https://kubernetes.io/docs/concepts/
|
|
495
|
+
# containers/images
|
|
513
496
|
# Corresponds to the JSON property `image`
|
|
514
497
|
# @return [String]
|
|
515
498
|
attr_accessor :image
|
|
516
499
|
|
|
517
|
-
# (Optional)
|
|
518
|
-
# supported Image pull policy. One of Always, Never, IfNotPresent. Defaults to
|
|
500
|
+
# (Optional) Image pull policy. One of Always, Never, IfNotPresent. Defaults to
|
|
519
501
|
# Always if :latest tag is specified, or IfNotPresent otherwise. More info:
|
|
520
502
|
# https://kubernetes.io/docs/concepts/containers/images#updating-images
|
|
521
503
|
# Corresponds to the JSON property `imagePullPolicy`
|
|
522
504
|
# @return [String]
|
|
523
505
|
attr_accessor :image_pull_policy
|
|
524
506
|
|
|
525
|
-
# Cloud Run
|
|
526
|
-
#
|
|
527
|
-
#
|
|
507
|
+
# Not supported by Cloud Run Probe describes a health check to be performed
|
|
508
|
+
# against a container to determine whether it is alive or ready to receive
|
|
509
|
+
# traffic.
|
|
528
510
|
# Corresponds to the JSON property `livenessProbe`
|
|
529
511
|
# @return [Google::Apis::RunV1::Probe]
|
|
530
512
|
attr_accessor :liveness_probe
|
|
@@ -545,9 +527,9 @@ module Google
|
|
|
545
527
|
# @return [Array<Google::Apis::RunV1::ContainerPort>]
|
|
546
528
|
attr_accessor :ports
|
|
547
529
|
|
|
548
|
-
# Cloud Run
|
|
549
|
-
#
|
|
550
|
-
#
|
|
530
|
+
# Not supported by Cloud Run Probe describes a health check to be performed
|
|
531
|
+
# against a container to determine whether it is alive or ready to receive
|
|
532
|
+
# traffic.
|
|
551
533
|
# Corresponds to the JSON property `readinessProbe`
|
|
552
534
|
# @return [Google::Apis::RunV1::Probe]
|
|
553
535
|
attr_accessor :readiness_probe
|
|
@@ -557,24 +539,22 @@ module Google
|
|
|
557
539
|
# @return [Google::Apis::RunV1::ResourceRequirements]
|
|
558
540
|
attr_accessor :resources
|
|
559
541
|
|
|
560
|
-
#
|
|
561
|
-
#
|
|
562
|
-
#
|
|
563
|
-
#
|
|
564
|
-
# precedence.
|
|
542
|
+
# Not supported by Cloud Run SecurityContext holds security configuration that
|
|
543
|
+
# will be applied to a container. Some fields are present in both
|
|
544
|
+
# SecurityContext and PodSecurityContext. When both are set, the values in
|
|
545
|
+
# SecurityContext take precedence.
|
|
565
546
|
# Corresponds to the JSON property `securityContext`
|
|
566
547
|
# @return [Google::Apis::RunV1::SecurityContext]
|
|
567
548
|
attr_accessor :security_context
|
|
568
549
|
|
|
569
|
-
# Cloud Run
|
|
570
|
-
#
|
|
571
|
-
#
|
|
550
|
+
# Not supported by Cloud Run Probe describes a health check to be performed
|
|
551
|
+
# against a container to determine whether it is alive or ready to receive
|
|
552
|
+
# traffic.
|
|
572
553
|
# Corresponds to the JSON property `startupProbe`
|
|
573
554
|
# @return [Google::Apis::RunV1::Probe]
|
|
574
555
|
attr_accessor :startup_probe
|
|
575
556
|
|
|
576
|
-
# (Optional)
|
|
577
|
-
# supported Path at which the file to which the container's termination message
|
|
557
|
+
# (Optional) Path at which the file to which the container's termination message
|
|
578
558
|
# will be written is mounted into the container's filesystem. Message written is
|
|
579
559
|
# intended to be brief final status, such as an assertion failure message. Will
|
|
580
560
|
# be truncated by the node if greater than 4096 bytes. The total message length
|
|
@@ -584,8 +564,7 @@ module Google
|
|
|
584
564
|
# @return [String]
|
|
585
565
|
attr_accessor :termination_message_path
|
|
586
566
|
|
|
587
|
-
# (Optional)
|
|
588
|
-
# supported Indicate how the termination message should be populated. File will
|
|
567
|
+
# (Optional) Indicate how the termination message should be populated. File will
|
|
589
568
|
# use the contents of terminationMessagePath to populate the container status
|
|
590
569
|
# message on both success and failure. FallbackToLogsOnError will use the last
|
|
591
570
|
# chunk of container log output if the termination message file is empty and the
|
|
@@ -595,15 +574,13 @@ module Google
|
|
|
595
574
|
# @return [String]
|
|
596
575
|
attr_accessor :termination_message_policy
|
|
597
576
|
|
|
598
|
-
# (Optional)
|
|
599
|
-
#
|
|
600
|
-
# Anthos: supported Pod volumes to mount into the container's filesystem.
|
|
577
|
+
# (Optional) Volume to mount into the container's filesystem. Only supports
|
|
578
|
+
# SecretVolumeSources. Pod volumes to mount into the container's filesystem.
|
|
601
579
|
# Corresponds to the JSON property `volumeMounts`
|
|
602
580
|
# @return [Array<Google::Apis::RunV1::VolumeMount>]
|
|
603
581
|
attr_accessor :volume_mounts
|
|
604
582
|
|
|
605
|
-
# (Optional)
|
|
606
|
-
# supported Container's working directory. If not specified, the container
|
|
583
|
+
# (Optional) Container's working directory. If not specified, the container
|
|
607
584
|
# runtime's default will be used, which might be configured in the container
|
|
608
585
|
# image.
|
|
609
586
|
# Corresponds to the JSON property `workingDir`
|
|
@@ -652,8 +629,7 @@ module Google
|
|
|
652
629
|
# @return [String]
|
|
653
630
|
attr_accessor :name
|
|
654
631
|
|
|
655
|
-
# (Optional)
|
|
656
|
-
# supported Protocol for port. Must be "TCP". Defaults to "TCP".
|
|
632
|
+
# (Optional) Protocol for port. Must be "TCP". Defaults to "TCP".
|
|
657
633
|
# Corresponds to the JSON property `protocol`
|
|
658
634
|
# @return [String]
|
|
659
635
|
attr_accessor :protocol
|
|
@@ -801,30 +777,27 @@ module Google
|
|
|
801
777
|
end
|
|
802
778
|
end
|
|
803
779
|
|
|
804
|
-
# Cloud Run
|
|
805
|
-
#
|
|
780
|
+
# Not supported by Cloud Run EnvFromSource represents the source of a set of
|
|
781
|
+
# ConfigMaps
|
|
806
782
|
class EnvFromSource
|
|
807
783
|
include Google::Apis::Core::Hashable
|
|
808
784
|
|
|
809
|
-
#
|
|
810
|
-
#
|
|
811
|
-
#
|
|
812
|
-
# value pairs as environment variables.
|
|
785
|
+
# Not supported by Cloud Run ConfigMapEnvSource selects a ConfigMap to populate
|
|
786
|
+
# the environment variables with. The contents of the target ConfigMap's Data
|
|
787
|
+
# field will represent the key-value pairs as environment variables.
|
|
813
788
|
# Corresponds to the JSON property `configMapRef`
|
|
814
789
|
# @return [Google::Apis::RunV1::ConfigMapEnvSource]
|
|
815
790
|
attr_accessor :config_map_ref
|
|
816
791
|
|
|
817
|
-
# (Optional)
|
|
818
|
-
#
|
|
819
|
-
# be a C_IDENTIFIER.
|
|
792
|
+
# (Optional) An optional identifier to prepend to each key in the ConfigMap.
|
|
793
|
+
# Must be a C_IDENTIFIER.
|
|
820
794
|
# Corresponds to the JSON property `prefix`
|
|
821
795
|
# @return [String]
|
|
822
796
|
attr_accessor :prefix
|
|
823
797
|
|
|
824
|
-
# Cloud Run
|
|
825
|
-
#
|
|
826
|
-
#
|
|
827
|
-
# pairs as environment variables.
|
|
798
|
+
# Not supported by Cloud Run SecretEnvSource selects a Secret to populate the
|
|
799
|
+
# environment variables with. The contents of the target Secret's Data field
|
|
800
|
+
# will represent the key-value pairs as environment variables.
|
|
828
801
|
# Corresponds to the JSON property `secretRef`
|
|
829
802
|
# @return [Google::Apis::RunV1::SecretEnvSource]
|
|
830
803
|
attr_accessor :secret_ref
|
|
@@ -860,7 +833,6 @@ module Google
|
|
|
860
833
|
# @return [String]
|
|
861
834
|
attr_accessor :value
|
|
862
835
|
|
|
863
|
-
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
864
836
|
# EnvVarSource represents a source for the value of an EnvVar.
|
|
865
837
|
# Corresponds to the JSON property `valueFrom`
|
|
866
838
|
# @return [Google::Apis::RunV1::EnvVarSource]
|
|
@@ -878,18 +850,15 @@ module Google
|
|
|
878
850
|
end
|
|
879
851
|
end
|
|
880
852
|
|
|
881
|
-
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
|
882
853
|
# EnvVarSource represents a source for the value of an EnvVar.
|
|
883
854
|
class EnvVarSource
|
|
884
855
|
include Google::Apis::Core::Hashable
|
|
885
856
|
|
|
886
|
-
#
|
|
887
|
-
# a key from a ConfigMap.
|
|
857
|
+
# Not supported by Cloud Run Selects a key from a ConfigMap.
|
|
888
858
|
# Corresponds to the JSON property `configMapKeyRef`
|
|
889
859
|
# @return [Google::Apis::RunV1::ConfigMapKeySelector]
|
|
890
860
|
attr_accessor :config_map_key_ref
|
|
891
861
|
|
|
892
|
-
# Cloud Run fully managed: supported Cloud Run for Anthos: supported
|
|
893
862
|
# SecretKeySelector selects a key of a Secret.
|
|
894
863
|
# Corresponds to the JSON property `secretKeyRef`
|
|
895
864
|
# @return [Google::Apis::RunV1::SecretKeySelector]
|
|
@@ -906,13 +875,11 @@ module Google
|
|
|
906
875
|
end
|
|
907
876
|
end
|
|
908
877
|
|
|
909
|
-
# Cloud Run
|
|
910
|
-
# ExecAction describes a "run in container" action.
|
|
878
|
+
# Not supported by Cloud Run ExecAction describes a "run in container" action.
|
|
911
879
|
class ExecAction
|
|
912
880
|
include Google::Apis::Core::Hashable
|
|
913
881
|
|
|
914
|
-
# (Optional)
|
|
915
|
-
# supported Command is the command line to execute inside the container, the
|
|
882
|
+
# (Optional) Command is the command line to execute inside the container, the
|
|
916
883
|
# working directory for the command is root ('/') in the container's filesystem.
|
|
917
884
|
# The command is simply exec'd, it is not run inside a shell, so traditional
|
|
918
885
|
# shell instructions ('|', etc) won't work. To use a shell, you need to
|
|
@@ -1039,32 +1006,28 @@ module Google
|
|
|
1039
1006
|
end
|
|
1040
1007
|
end
|
|
1041
1008
|
|
|
1042
|
-
# Cloud Run
|
|
1043
|
-
#
|
|
1009
|
+
# Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
|
|
1010
|
+
# requests.
|
|
1044
1011
|
class HttpGetAction
|
|
1045
1012
|
include Google::Apis::Core::Hashable
|
|
1046
1013
|
|
|
1047
|
-
# (Optional)
|
|
1048
|
-
# supported Host name to connect to, defaults to the pod IP. You probably want
|
|
1014
|
+
# (Optional) Host name to connect to, defaults to the pod IP. You probably want
|
|
1049
1015
|
# to set "Host" in httpHeaders instead.
|
|
1050
1016
|
# Corresponds to the JSON property `host`
|
|
1051
1017
|
# @return [String]
|
|
1052
1018
|
attr_accessor :host
|
|
1053
1019
|
|
|
1054
|
-
# (Optional)
|
|
1055
|
-
# supported Custom headers to set in the request. HTTP allows repeated headers.
|
|
1020
|
+
# (Optional) Custom headers to set in the request. HTTP allows repeated headers.
|
|
1056
1021
|
# Corresponds to the JSON property `httpHeaders`
|
|
1057
1022
|
# @return [Array<Google::Apis::RunV1::HttpHeader>]
|
|
1058
1023
|
attr_accessor :http_headers
|
|
1059
1024
|
|
|
1060
|
-
# (Optional)
|
|
1061
|
-
# supported Path to access on the HTTP server.
|
|
1025
|
+
# (Optional) Path to access on the HTTP server.
|
|
1062
1026
|
# Corresponds to the JSON property `path`
|
|
1063
1027
|
# @return [String]
|
|
1064
1028
|
attr_accessor :path
|
|
1065
1029
|
|
|
1066
|
-
# (Optional)
|
|
1067
|
-
# supported Scheme to use for connecting to the host. Defaults to HTTP.
|
|
1030
|
+
# (Optional) Scheme to use for connecting to the host. Defaults to HTTP.
|
|
1068
1031
|
# Corresponds to the JSON property `scheme`
|
|
1069
1032
|
# @return [String]
|
|
1070
1033
|
attr_accessor :scheme
|
|
@@ -1082,19 +1045,17 @@ module Google
|
|
|
1082
1045
|
end
|
|
1083
1046
|
end
|
|
1084
1047
|
|
|
1085
|
-
# Cloud Run
|
|
1086
|
-
#
|
|
1048
|
+
# Not supported by Cloud Run HTTPHeader describes a custom header to be used in
|
|
1049
|
+
# HTTP probes
|
|
1087
1050
|
class HttpHeader
|
|
1088
1051
|
include Google::Apis::Core::Hashable
|
|
1089
1052
|
|
|
1090
|
-
#
|
|
1091
|
-
# header field name
|
|
1053
|
+
# The header field name
|
|
1092
1054
|
# Corresponds to the JSON property `name`
|
|
1093
1055
|
# @return [String]
|
|
1094
1056
|
attr_accessor :name
|
|
1095
1057
|
|
|
1096
|
-
#
|
|
1097
|
-
# header field value
|
|
1058
|
+
# The header field value
|
|
1098
1059
|
# Corresponds to the JSON property `value`
|
|
1099
1060
|
# @return [String]
|
|
1100
1061
|
attr_accessor :value
|
|
@@ -1110,30 +1071,26 @@ module Google
|
|
|
1110
1071
|
end
|
|
1111
1072
|
end
|
|
1112
1073
|
|
|
1113
|
-
#
|
|
1114
|
-
# string key to a path within a volume.
|
|
1074
|
+
# Maps a string key to a path within a volume.
|
|
1115
1075
|
class KeyToPath
|
|
1116
1076
|
include Google::Apis::Core::Hashable
|
|
1117
1077
|
|
|
1118
|
-
#
|
|
1119
|
-
#
|
|
1120
|
-
# Cloud Run for Anthos: supported The key to project.
|
|
1078
|
+
# The Cloud Secret Manager secret version. Can be 'latest' for the latest value
|
|
1079
|
+
# or an integer for a specific version. The key to project.
|
|
1121
1080
|
# Corresponds to the JSON property `key`
|
|
1122
1081
|
# @return [String]
|
|
1123
1082
|
attr_accessor :key
|
|
1124
1083
|
|
|
1125
|
-
# (Optional)
|
|
1126
|
-
#
|
|
1127
|
-
# If not specified, the volume defaultMode will be used. This might be in
|
|
1084
|
+
# (Optional) Mode bits to use on this file, must be a value between 0000 and
|
|
1085
|
+
# 0777. If not specified, the volume defaultMode will be used. This might be in
|
|
1128
1086
|
# conflict with other options that affect the file mode, like fsGroup, and the
|
|
1129
1087
|
# result can be other mode bits set.
|
|
1130
1088
|
# Corresponds to the JSON property `mode`
|
|
1131
1089
|
# @return [Fixnum]
|
|
1132
1090
|
attr_accessor :mode
|
|
1133
1091
|
|
|
1134
|
-
#
|
|
1135
|
-
#
|
|
1136
|
-
# not contain the path element '..'. May not start with the string '..'.
|
|
1092
|
+
# The relative path of the file to map the key to. May not be an absolute path.
|
|
1093
|
+
# May not contain the path element '..'. May not start with the string '..'.
|
|
1137
1094
|
# Corresponds to the JSON property `path`
|
|
1138
1095
|
# @return [String]
|
|
1139
1096
|
attr_accessor :path
|
|
@@ -1470,15 +1427,13 @@ module Google
|
|
|
1470
1427
|
end
|
|
1471
1428
|
end
|
|
1472
1429
|
|
|
1473
|
-
#
|
|
1474
|
-
#
|
|
1475
|
-
# referenced object inside the same namespace.
|
|
1430
|
+
# Not supported by Cloud Run LocalObjectReference contains enough information to
|
|
1431
|
+
# let you locate the referenced object inside the same namespace.
|
|
1476
1432
|
class LocalObjectReference
|
|
1477
1433
|
include Google::Apis::Core::Hashable
|
|
1478
1434
|
|
|
1479
|
-
# (Optional)
|
|
1480
|
-
#
|
|
1481
|
-
# overview/working-with-objects/names/#names
|
|
1435
|
+
# (Optional) Name of the referent. More info: https://kubernetes.io/docs/
|
|
1436
|
+
# concepts/overview/working-with-objects/names/#names
|
|
1482
1437
|
# Corresponds to the JSON property `name`
|
|
1483
1438
|
# @return [String]
|
|
1484
1439
|
attr_accessor :name
|
|
@@ -1553,11 +1508,10 @@ module Google
|
|
|
1553
1508
|
# @return [Hash<String,String>]
|
|
1554
1509
|
attr_accessor :annotations
|
|
1555
1510
|
|
|
1556
|
-
# (Optional) Cloud Run
|
|
1557
|
-
#
|
|
1558
|
-
#
|
|
1559
|
-
#
|
|
1560
|
-
# in create or update request.
|
|
1511
|
+
# (Optional) Not supported by Cloud Run The name of the cluster which the object
|
|
1512
|
+
# belongs to. This is used to distinguish resources with same name and namespace
|
|
1513
|
+
# in different clusters. This field is not set anywhere right now and apiserver
|
|
1514
|
+
# is going to ignore it if set in create or update request.
|
|
1561
1515
|
# Corresponds to the JSON property `clusterName`
|
|
1562
1516
|
# @return [String]
|
|
1563
1517
|
attr_accessor :cluster_name
|
|
@@ -1572,30 +1526,28 @@ module Google
|
|
|
1572
1526
|
# @return [String]
|
|
1573
1527
|
attr_accessor :creation_timestamp
|
|
1574
1528
|
|
|
1575
|
-
# (Optional) Cloud Run
|
|
1576
|
-
#
|
|
1577
|
-
#
|
|
1578
|
-
# also set. May only be shortened. Read-only.
|
|
1529
|
+
# (Optional) Not supported by Cloud Run Number of seconds allowed for this
|
|
1530
|
+
# object to gracefully terminate before it will be removed from the system. Only
|
|
1531
|
+
# set when deletionTimestamp is also set. May only be shortened. Read-only.
|
|
1579
1532
|
# Corresponds to the JSON property `deletionGracePeriodSeconds`
|
|
1580
1533
|
# @return [Fixnum]
|
|
1581
1534
|
attr_accessor :deletion_grace_period_seconds
|
|
1582
1535
|
|
|
1583
|
-
# (Optional) Cloud Run
|
|
1584
|
-
#
|
|
1585
|
-
#
|
|
1586
|
-
#
|
|
1587
|
-
#
|
|
1588
|
-
#
|
|
1589
|
-
#
|
|
1590
|
-
#
|
|
1591
|
-
#
|
|
1592
|
-
#
|
|
1593
|
-
#
|
|
1594
|
-
#
|
|
1595
|
-
#
|
|
1596
|
-
#
|
|
1597
|
-
#
|
|
1598
|
-
# administrator or automated process can determine the resource is fully
|
|
1536
|
+
# (Optional) Not supported by Cloud Run DeletionTimestamp is RFC 3339 date and
|
|
1537
|
+
# time at which this resource will be deleted. This field is set by the server
|
|
1538
|
+
# when a graceful deletion is requested by the user, and is not directly
|
|
1539
|
+
# settable by a client. The resource is expected to be deleted (no longer
|
|
1540
|
+
# visible from resource lists, and not reachable by name) after the time in this
|
|
1541
|
+
# field, once the finalizers list is empty. As long as the finalizers list
|
|
1542
|
+
# contains items, deletion is blocked. Once the deletionTimestamp is set, this
|
|
1543
|
+
# value may not be unset or be set further into the future, although it may be
|
|
1544
|
+
# shortened or the resource may be deleted prior to this time. For example, a
|
|
1545
|
+
# user may request that a pod is deleted in 30 seconds. The Kubelet will react
|
|
1546
|
+
# by sending a graceful termination signal to the containers in the pod. After
|
|
1547
|
+
# that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to
|
|
1548
|
+
# the container and after cleanup, remove the pod from the API. In the presence
|
|
1549
|
+
# of network partitions, this object may still exist after this timestamp, until
|
|
1550
|
+
# an administrator or automated process can determine the resource is fully
|
|
1599
1551
|
# terminated. If not set, graceful deletion of the object has not been requested.
|
|
1600
1552
|
# Populated by the system when a graceful deletion is requested. Read-only.
|
|
1601
1553
|
# More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
|
@@ -1604,29 +1556,28 @@ module Google
|
|
|
1604
1556
|
# @return [String]
|
|
1605
1557
|
attr_accessor :deletion_timestamp
|
|
1606
1558
|
|
|
1607
|
-
# (Optional) Cloud Run
|
|
1608
|
-
#
|
|
1609
|
-
#
|
|
1610
|
-
#
|
|
1611
|
-
#
|
|
1559
|
+
# (Optional) Not supported by Cloud Run Must be empty before the object is
|
|
1560
|
+
# deleted from the registry. Each entry is an identifier for the responsible
|
|
1561
|
+
# component that will remove the entry from the list. If the deletionTimestamp
|
|
1562
|
+
# of the object is non-nil, entries in this list can only be removed. +
|
|
1563
|
+
# patchStrategy=merge
|
|
1612
1564
|
# Corresponds to the JSON property `finalizers`
|
|
1613
1565
|
# @return [Array<String>]
|
|
1614
1566
|
attr_accessor :finalizers
|
|
1615
1567
|
|
|
1616
|
-
# (Optional) Cloud Run
|
|
1617
|
-
#
|
|
1618
|
-
#
|
|
1619
|
-
#
|
|
1620
|
-
#
|
|
1621
|
-
#
|
|
1622
|
-
#
|
|
1623
|
-
#
|
|
1624
|
-
#
|
|
1625
|
-
#
|
|
1626
|
-
#
|
|
1627
|
-
#
|
|
1628
|
-
#
|
|
1629
|
-
# generateName = 2;
|
|
1568
|
+
# (Optional) Not supported by Cloud Run GenerateName is an optional prefix, used
|
|
1569
|
+
# by the server, to generate a unique name ONLY IF the Name field has not been
|
|
1570
|
+
# provided. If this field is used, the name returned to the client will be
|
|
1571
|
+
# different than the name passed. This value will also be combined with a unique
|
|
1572
|
+
# suffix. The provided value has the same validation rules as the Name field,
|
|
1573
|
+
# and may be truncated by the length of the suffix required to make the value
|
|
1574
|
+
# unique on the server. If this field is specified and the generated name exists,
|
|
1575
|
+
# the server will NOT return a 409 - instead, it will either return 201 Created
|
|
1576
|
+
# or 500 with Reason ServerTimeout indicating a unique name could not be found
|
|
1577
|
+
# in the time allotted, and the client should retry (optionally after the time
|
|
1578
|
+
# indicated in the Retry-After header). Applied only if Name is not specified.
|
|
1579
|
+
# More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
|
1580
|
+
# idempotency string generateName = 2;
|
|
1630
1581
|
# Corresponds to the JSON property `generateName`
|
|
1631
1582
|
# @return [String]
|
|
1632
1583
|
attr_accessor :generate_name
|
|
@@ -1661,9 +1612,9 @@ module Google
|
|
|
1661
1612
|
# @return [String]
|
|
1662
1613
|
attr_accessor :namespace
|
|
1663
1614
|
|
|
1664
|
-
# (Optional) Cloud Run
|
|
1665
|
-
#
|
|
1666
|
-
#
|
|
1615
|
+
# (Optional) Not supported by Cloud Run List of objects that own this object. If
|
|
1616
|
+
# ALL objects in the list have been deleted, this object will be garbage
|
|
1617
|
+
# collected.
|
|
1667
1618
|
# Corresponds to the JSON property `ownerReferences`
|
|
1668
1619
|
# @return [Array<Google::Apis::RunV1::OwnerReference>]
|
|
1669
1620
|
attr_accessor :owner_references
|
|
@@ -1869,62 +1820,56 @@ module Google
|
|
|
1869
1820
|
end
|
|
1870
1821
|
end
|
|
1871
1822
|
|
|
1872
|
-
# Cloud Run
|
|
1873
|
-
#
|
|
1874
|
-
#
|
|
1823
|
+
# Not supported by Cloud Run Probe describes a health check to be performed
|
|
1824
|
+
# against a container to determine whether it is alive or ready to receive
|
|
1825
|
+
# traffic.
|
|
1875
1826
|
class Probe
|
|
1876
1827
|
include Google::Apis::Core::Hashable
|
|
1877
1828
|
|
|
1878
|
-
# Cloud Run
|
|
1879
|
-
# ExecAction describes a "run in container" action.
|
|
1829
|
+
# Not supported by Cloud Run ExecAction describes a "run in container" action.
|
|
1880
1830
|
# Corresponds to the JSON property `exec`
|
|
1881
1831
|
# @return [Google::Apis::RunV1::ExecAction]
|
|
1882
1832
|
attr_accessor :exec
|
|
1883
1833
|
|
|
1884
|
-
# (Optional)
|
|
1885
|
-
# supported Minimum consecutive failures for the probe to be considered failed
|
|
1834
|
+
# (Optional) Minimum consecutive failures for the probe to be considered failed
|
|
1886
1835
|
# after having succeeded. Defaults to 3. Minimum value is 1.
|
|
1887
1836
|
# Corresponds to the JSON property `failureThreshold`
|
|
1888
1837
|
# @return [Fixnum]
|
|
1889
1838
|
attr_accessor :failure_threshold
|
|
1890
1839
|
|
|
1891
|
-
# Cloud Run
|
|
1892
|
-
#
|
|
1840
|
+
# Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
|
|
1841
|
+
# requests.
|
|
1893
1842
|
# Corresponds to the JSON property `httpGet`
|
|
1894
1843
|
# @return [Google::Apis::RunV1::HttpGetAction]
|
|
1895
1844
|
attr_accessor :http_get
|
|
1896
1845
|
|
|
1897
|
-
# (Optional)
|
|
1898
|
-
# supported Number of seconds after the container has started before liveness
|
|
1846
|
+
# (Optional) Number of seconds after the container has started before liveness
|
|
1899
1847
|
# probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/
|
|
1900
1848
|
# pods/pod-lifecycle#container-probes
|
|
1901
1849
|
# Corresponds to the JSON property `initialDelaySeconds`
|
|
1902
1850
|
# @return [Fixnum]
|
|
1903
1851
|
attr_accessor :initial_delay_seconds
|
|
1904
1852
|
|
|
1905
|
-
# (Optional)
|
|
1906
|
-
# supported How often (in seconds) to perform the probe. Default to 10 seconds.
|
|
1853
|
+
# (Optional) How often (in seconds) to perform the probe. Default to 10 seconds.
|
|
1907
1854
|
# Minimum value is 1.
|
|
1908
1855
|
# Corresponds to the JSON property `periodSeconds`
|
|
1909
1856
|
# @return [Fixnum]
|
|
1910
1857
|
attr_accessor :period_seconds
|
|
1911
1858
|
|
|
1912
|
-
# (Optional)
|
|
1913
|
-
# supported Minimum consecutive successes for the probe to be considered
|
|
1859
|
+
# (Optional) Minimum consecutive successes for the probe to be considered
|
|
1914
1860
|
# successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum
|
|
1915
1861
|
# value is 1.
|
|
1916
1862
|
# Corresponds to the JSON property `successThreshold`
|
|
1917
1863
|
# @return [Fixnum]
|
|
1918
1864
|
attr_accessor :success_threshold
|
|
1919
1865
|
|
|
1920
|
-
#
|
|
1921
|
-
#
|
|
1866
|
+
# Not supported by Cloud Run TCPSocketAction describes an action based on
|
|
1867
|
+
# opening a socket
|
|
1922
1868
|
# Corresponds to the JSON property `tcpSocket`
|
|
1923
1869
|
# @return [Google::Apis::RunV1::TcpSocketAction]
|
|
1924
1870
|
attr_accessor :tcp_socket
|
|
1925
1871
|
|
|
1926
|
-
# (Optional)
|
|
1927
|
-
# supported Number of seconds after which the probe times out. Defaults to 1
|
|
1872
|
+
# (Optional) Number of seconds after which the probe times out. Defaults to 1
|
|
1928
1873
|
# second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/
|
|
1929
1874
|
# workloads/pods/pod-lifecycle#container-probes
|
|
1930
1875
|
# Corresponds to the JSON property `timeoutSeconds`
|
|
@@ -1985,25 +1930,23 @@ module Google
|
|
|
1985
1930
|
class ResourceRequirements
|
|
1986
1931
|
include Google::Apis::Core::Hashable
|
|
1987
1932
|
|
|
1988
|
-
# (Optional)
|
|
1989
|
-
#
|
|
1990
|
-
#
|
|
1991
|
-
#
|
|
1992
|
-
#
|
|
1993
|
-
#
|
|
1994
|
-
# quantity.go
|
|
1933
|
+
# (Optional) Only memory and CPU are supported. Note: The only supported values
|
|
1934
|
+
# for CPU are '1', '2', and '4'. Setting 4 CPU requires at least 2Gi of memory.
|
|
1935
|
+
# Limits describes the maximum amount of compute resources allowed. The values
|
|
1936
|
+
# of the map is string form of the 'quantity' k8s type: https://github.com/
|
|
1937
|
+
# kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/
|
|
1938
|
+
# resource/quantity.go
|
|
1995
1939
|
# Corresponds to the JSON property `limits`
|
|
1996
1940
|
# @return [Hash<String,String>]
|
|
1997
1941
|
attr_accessor :limits
|
|
1998
1942
|
|
|
1999
|
-
# (Optional)
|
|
2000
|
-
#
|
|
2001
|
-
#
|
|
2002
|
-
#
|
|
2003
|
-
#
|
|
2004
|
-
#
|
|
2005
|
-
#
|
|
2006
|
-
# resource/quantity.go
|
|
1943
|
+
# (Optional) Only memory and CPU are supported. Note: The only supported values
|
|
1944
|
+
# for CPU are '1' and '2'. Requests describes the minimum amount of compute
|
|
1945
|
+
# resources required. If Requests is omitted for a container, it defaults to
|
|
1946
|
+
# Limits if that is explicitly specified, otherwise to an implementation-defined
|
|
1947
|
+
# value. The values of the map is string form of the 'quantity' k8s type: https:/
|
|
1948
|
+
# /github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
|
|
1949
|
+
# pkg/api/resource/quantity.go
|
|
2007
1950
|
# Corresponds to the JSON property `requests`
|
|
2008
1951
|
# @return [Hash<String,String>]
|
|
2009
1952
|
attr_accessor :requests
|
|
@@ -2336,28 +2279,24 @@ module Google
|
|
|
2336
2279
|
end
|
|
2337
2280
|
end
|
|
2338
2281
|
|
|
2339
|
-
# Cloud Run
|
|
2340
|
-
#
|
|
2341
|
-
#
|
|
2342
|
-
# pairs as environment variables.
|
|
2282
|
+
# Not supported by Cloud Run SecretEnvSource selects a Secret to populate the
|
|
2283
|
+
# environment variables with. The contents of the target Secret's Data field
|
|
2284
|
+
# will represent the key-value pairs as environment variables.
|
|
2343
2285
|
class SecretEnvSource
|
|
2344
2286
|
include Google::Apis::Core::Hashable
|
|
2345
2287
|
|
|
2346
|
-
#
|
|
2347
|
-
#
|
|
2348
|
-
# referenced object inside the same namespace.
|
|
2288
|
+
# Not supported by Cloud Run LocalObjectReference contains enough information to
|
|
2289
|
+
# let you locate the referenced object inside the same namespace.
|
|
2349
2290
|
# Corresponds to the JSON property `localObjectReference`
|
|
2350
2291
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
|
2351
2292
|
attr_accessor :local_object_reference
|
|
2352
2293
|
|
|
2353
|
-
#
|
|
2354
|
-
# Secret to select from.
|
|
2294
|
+
# The Secret to select from.
|
|
2355
2295
|
# Corresponds to the JSON property `name`
|
|
2356
2296
|
# @return [String]
|
|
2357
2297
|
attr_accessor :name
|
|
2358
2298
|
|
|
2359
|
-
# (Optional)
|
|
2360
|
-
# supported Specify whether the Secret must be defined
|
|
2299
|
+
# (Optional) Specify whether the Secret must be defined
|
|
2361
2300
|
# Corresponds to the JSON property `optional`
|
|
2362
2301
|
# @return [Boolean]
|
|
2363
2302
|
attr_accessor :optional
|
|
@@ -2375,39 +2314,34 @@ module Google
|
|
|
2375
2314
|
end
|
|
2376
2315
|
end
|
|
2377
2316
|
|
|
2378
|
-
# Cloud Run fully managed: supported Cloud Run for Anthos: supported
|
|
2379
2317
|
# SecretKeySelector selects a key of a Secret.
|
|
2380
2318
|
class SecretKeySelector
|
|
2381
2319
|
include Google::Apis::Core::Hashable
|
|
2382
2320
|
|
|
2383
|
-
#
|
|
2384
|
-
#
|
|
2385
|
-
#
|
|
2386
|
-
# valid secret key.
|
|
2321
|
+
# A Cloud Secret Manager secret version. Must be 'latest' for the latest version
|
|
2322
|
+
# or an integer for a specific version. The key of the secret to select from.
|
|
2323
|
+
# Must be a valid secret key.
|
|
2387
2324
|
# Corresponds to the JSON property `key`
|
|
2388
2325
|
# @return [String]
|
|
2389
2326
|
attr_accessor :key
|
|
2390
2327
|
|
|
2391
|
-
#
|
|
2392
|
-
#
|
|
2393
|
-
# referenced object inside the same namespace.
|
|
2328
|
+
# Not supported by Cloud Run LocalObjectReference contains enough information to
|
|
2329
|
+
# let you locate the referenced object inside the same namespace.
|
|
2394
2330
|
# Corresponds to the JSON property `localObjectReference`
|
|
2395
2331
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
|
2396
2332
|
attr_accessor :local_object_reference
|
|
2397
2333
|
|
|
2398
|
-
#
|
|
2399
|
-
#
|
|
2400
|
-
#
|
|
2401
|
-
#
|
|
2402
|
-
#
|
|
2403
|
-
#
|
|
2404
|
-
# the secret in the pod's namespace to select from.
|
|
2334
|
+
# The name of the secret in Cloud Secret Manager. By default, the secret is
|
|
2335
|
+
# assumed to be in the same project. If the secret is in another project, you
|
|
2336
|
+
# must define an alias. An alias definition has the form: :projects//secrets/.
|
|
2337
|
+
# If multiple alias definitions are needed, they must be separated by commas.
|
|
2338
|
+
# The alias definitions must be set on the run.googleapis.com/secrets annotation.
|
|
2339
|
+
# The name of the secret in the pod's namespace to select from.
|
|
2405
2340
|
# Corresponds to the JSON property `name`
|
|
2406
2341
|
# @return [String]
|
|
2407
2342
|
attr_accessor :name
|
|
2408
2343
|
|
|
2409
|
-
# (Optional)
|
|
2410
|
-
# supported Specify whether the Secret or its key must be defined
|
|
2344
|
+
# (Optional) Specify whether the Secret or its key must be defined
|
|
2411
2345
|
# Corresponds to the JSON property `optional`
|
|
2412
2346
|
# @return [Boolean]
|
|
2413
2347
|
attr_accessor :optional
|
|
@@ -2426,16 +2360,14 @@ module Google
|
|
|
2426
2360
|
end
|
|
2427
2361
|
end
|
|
2428
2362
|
|
|
2429
|
-
#
|
|
2430
|
-
#
|
|
2431
|
-
#
|
|
2432
|
-
#
|
|
2433
|
-
# a volume as files using the keys in the Data field as the file names.
|
|
2363
|
+
# The secret's value will be presented as the content of a file whose name is
|
|
2364
|
+
# defined in the item path. If no items are defined, the name of the file is the
|
|
2365
|
+
# secret_name. The contents of the target Secret's Data field will be presented
|
|
2366
|
+
# in a volume as files using the keys in the Data field as the file names.
|
|
2434
2367
|
class SecretVolumeSource
|
|
2435
2368
|
include Google::Apis::Core::Hashable
|
|
2436
2369
|
|
|
2437
|
-
# (Optional)
|
|
2438
|
-
# supported Mode bits to use on created files by default. Must be a value
|
|
2370
|
+
# (Optional) Mode bits to use on created files by default. Must be a value
|
|
2439
2371
|
# between 0000 and 0777. Defaults to 0644. Directories within the path are not
|
|
2440
2372
|
# affected by this setting. This might be in conflict with other options that
|
|
2441
2373
|
# affect the file mode, like fsGroup, and the result can be other mode bits set.
|
|
@@ -2446,34 +2378,32 @@ module Google
|
|
|
2446
2378
|
# @return [Fixnum]
|
|
2447
2379
|
attr_accessor :default_mode
|
|
2448
2380
|
|
|
2449
|
-
# (Optional)
|
|
2450
|
-
#
|
|
2451
|
-
#
|
|
2452
|
-
#
|
|
2453
|
-
#
|
|
2454
|
-
#
|
|
2455
|
-
#
|
|
2456
|
-
# specified,
|
|
2457
|
-
#
|
|
2458
|
-
#
|
|
2381
|
+
# (Optional) If unspecified, the volume will expose a file whose name is the
|
|
2382
|
+
# secret_name. If specified, the key will be used as the version to fetch from
|
|
2383
|
+
# Cloud Secret Manager and the path will be the name of the file exposed in the
|
|
2384
|
+
# volume. When items are defined, they must specify a key and a path. If
|
|
2385
|
+
# unspecified, each key-value pair in the Data field of the referenced Secret
|
|
2386
|
+
# will be projected into the volume as a file whose name is the key and content
|
|
2387
|
+
# is the value. If specified, the listed keys will be projected into the
|
|
2388
|
+
# specified paths, and unlisted keys will not be present. If a key is specified
|
|
2389
|
+
# that is not present in the Secret, the volume setup will error unless it is
|
|
2390
|
+
# marked optional.
|
|
2459
2391
|
# Corresponds to the JSON property `items`
|
|
2460
2392
|
# @return [Array<Google::Apis::RunV1::KeyToPath>]
|
|
2461
2393
|
attr_accessor :items
|
|
2462
2394
|
|
|
2463
|
-
# (Optional)
|
|
2464
|
-
# supported Specify whether the Secret or its keys must be defined.
|
|
2395
|
+
# (Optional) Specify whether the Secret or its keys must be defined.
|
|
2465
2396
|
# Corresponds to the JSON property `optional`
|
|
2466
2397
|
# @return [Boolean]
|
|
2467
2398
|
attr_accessor :optional
|
|
2468
2399
|
alias_method :optional?, :optional
|
|
2469
2400
|
|
|
2470
|
-
#
|
|
2471
|
-
#
|
|
2472
|
-
#
|
|
2473
|
-
#
|
|
2474
|
-
#
|
|
2475
|
-
#
|
|
2476
|
-
# secret in the container's namespace to use.
|
|
2401
|
+
# The name of the secret in Cloud Secret Manager. By default, the secret is
|
|
2402
|
+
# assumed to be in the same project. If the secret is in another project, you
|
|
2403
|
+
# must define an alias. An alias definition has the form: :projects//secrets/.
|
|
2404
|
+
# If multiple alias definitions are needed, they must be separated by commas.
|
|
2405
|
+
# The alias definitions must be set on the run.googleapis.com/secrets annotation.
|
|
2406
|
+
# Name of the secret in the container's namespace to use.
|
|
2477
2407
|
# Corresponds to the JSON property `secretName`
|
|
2478
2408
|
# @return [String]
|
|
2479
2409
|
attr_accessor :secret_name
|
|
@@ -2491,16 +2421,14 @@ module Google
|
|
|
2491
2421
|
end
|
|
2492
2422
|
end
|
|
2493
2423
|
|
|
2494
|
-
#
|
|
2495
|
-
#
|
|
2496
|
-
#
|
|
2497
|
-
#
|
|
2498
|
-
# precedence.
|
|
2424
|
+
# Not supported by Cloud Run SecurityContext holds security configuration that
|
|
2425
|
+
# will be applied to a container. Some fields are present in both
|
|
2426
|
+
# SecurityContext and PodSecurityContext. When both are set, the values in
|
|
2427
|
+
# SecurityContext take precedence.
|
|
2499
2428
|
class SecurityContext
|
|
2500
2429
|
include Google::Apis::Core::Hashable
|
|
2501
2430
|
|
|
2502
|
-
# (Optional)
|
|
2503
|
-
# supported The UID to run the entrypoint of the container process. Defaults to
|
|
2431
|
+
# (Optional) The UID to run the entrypoint of the container process. Defaults to
|
|
2504
2432
|
# user specified in image metadata if unspecified. May also be set in
|
|
2505
2433
|
# PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the
|
|
2506
2434
|
# value specified in SecurityContext takes precedence.
|
|
@@ -2887,22 +2815,20 @@ module Google
|
|
|
2887
2815
|
end
|
|
2888
2816
|
end
|
|
2889
2817
|
|
|
2890
|
-
#
|
|
2891
|
-
#
|
|
2818
|
+
# Not supported by Cloud Run TCPSocketAction describes an action based on
|
|
2819
|
+
# opening a socket
|
|
2892
2820
|
class TcpSocketAction
|
|
2893
2821
|
include Google::Apis::Core::Hashable
|
|
2894
2822
|
|
|
2895
|
-
# (Optional)
|
|
2896
|
-
# supported Optional: Host name to connect to, defaults to the pod IP.
|
|
2823
|
+
# (Optional) Optional: Host name to connect to, defaults to the pod IP.
|
|
2897
2824
|
# Corresponds to the JSON property `host`
|
|
2898
2825
|
# @return [String]
|
|
2899
2826
|
attr_accessor :host
|
|
2900
2827
|
|
|
2901
|
-
#
|
|
2902
|
-
#
|
|
2903
|
-
# to
|
|
2904
|
-
#
|
|
2905
|
-
# IntOrString golang type.
|
|
2828
|
+
# Number or name of the port to access on the container. Number must be in the
|
|
2829
|
+
# range 1 to 65535. Name must be an IANA_SVC_NAME. This field is currently
|
|
2830
|
+
# limited to integer types only because of proto's inability to properly support
|
|
2831
|
+
# the IntOrString golang type.
|
|
2906
2832
|
# Corresponds to the JSON property `port`
|
|
2907
2833
|
# @return [Fixnum]
|
|
2908
2834
|
attr_accessor :port
|
|
@@ -3024,31 +2950,27 @@ module Google
|
|
|
3024
2950
|
end
|
|
3025
2951
|
end
|
|
3026
2952
|
|
|
3027
|
-
# Cloud Run
|
|
3028
|
-
# represents a named volume in a container.
|
|
2953
|
+
# Not supported by Cloud Run Volume represents a named volume in a container.
|
|
3029
2954
|
class Volume
|
|
3030
2955
|
include Google::Apis::Core::Hashable
|
|
3031
2956
|
|
|
3032
|
-
# Cloud Run
|
|
3033
|
-
#
|
|
3034
|
-
#
|
|
3035
|
-
#
|
|
3036
|
-
# keys to paths.
|
|
2957
|
+
# Not supported by Cloud Run Adapts a ConfigMap into a volume. The contents of
|
|
2958
|
+
# the target ConfigMap's Data field will be presented in a volume as files using
|
|
2959
|
+
# the keys in the Data field as the file names, unless the items element is
|
|
2960
|
+
# populated with specific mappings of keys to paths.
|
|
3037
2961
|
# Corresponds to the JSON property `configMap`
|
|
3038
2962
|
# @return [Google::Apis::RunV1::ConfigMapVolumeSource]
|
|
3039
2963
|
attr_accessor :config_map
|
|
3040
2964
|
|
|
3041
|
-
#
|
|
3042
|
-
# name.
|
|
2965
|
+
# Volume's name.
|
|
3043
2966
|
# Corresponds to the JSON property `name`
|
|
3044
2967
|
# @return [String]
|
|
3045
2968
|
attr_accessor :name
|
|
3046
2969
|
|
|
3047
|
-
#
|
|
3048
|
-
#
|
|
3049
|
-
#
|
|
3050
|
-
#
|
|
3051
|
-
# a volume as files using the keys in the Data field as the file names.
|
|
2970
|
+
# The secret's value will be presented as the content of a file whose name is
|
|
2971
|
+
# defined in the item path. If no items are defined, the name of the file is the
|
|
2972
|
+
# secret_name. The contents of the target Secret's Data field will be presented
|
|
2973
|
+
# in a volume as files using the keys in the Data field as the file names.
|
|
3052
2974
|
# Corresponds to the JSON property `secret`
|
|
3053
2975
|
# @return [Google::Apis::RunV1::SecretVolumeSource]
|
|
3054
2976
|
attr_accessor :secret
|
|
@@ -3065,32 +2987,29 @@ module Google
|
|
|
3065
2987
|
end
|
|
3066
2988
|
end
|
|
3067
2989
|
|
|
3068
|
-
# Cloud Run
|
|
3069
|
-
#
|
|
2990
|
+
# Not supported by Cloud Run VolumeMount describes a mounting of a Volume within
|
|
2991
|
+
# a container.
|
|
3070
2992
|
class VolumeMount
|
|
3071
2993
|
include Google::Apis::Core::Hashable
|
|
3072
2994
|
|
|
3073
|
-
#
|
|
3074
|
-
#
|
|
2995
|
+
# Path within the container at which the volume should be mounted. Must not
|
|
2996
|
+
# contain ':'.
|
|
3075
2997
|
# Corresponds to the JSON property `mountPath`
|
|
3076
2998
|
# @return [String]
|
|
3077
2999
|
attr_accessor :mount_path
|
|
3078
3000
|
|
|
3079
|
-
#
|
|
3080
|
-
# match the Name of a Volume.
|
|
3001
|
+
# This must match the Name of a Volume.
|
|
3081
3002
|
# Corresponds to the JSON property `name`
|
|
3082
3003
|
# @return [String]
|
|
3083
3004
|
attr_accessor :name
|
|
3084
3005
|
|
|
3085
|
-
# (Optional)
|
|
3086
|
-
# Only true is accepted. Defaults to true.
|
|
3006
|
+
# (Optional) Only true is accepted. Defaults to true.
|
|
3087
3007
|
# Corresponds to the JSON property `readOnly`
|
|
3088
3008
|
# @return [Boolean]
|
|
3089
3009
|
attr_accessor :read_only
|
|
3090
3010
|
alias_method :read_only?, :read_only
|
|
3091
3011
|
|
|
3092
|
-
# (Optional)
|
|
3093
|
-
# supported Path within the volume from which the container's volume should be
|
|
3012
|
+
# (Optional) Path within the volume from which the container's volume should be
|
|
3094
3013
|
# mounted. Defaults to "" (volume's root).
|
|
3095
3014
|
# Corresponds to the JSON property `subPath`
|
|
3096
3015
|
# @return [String]
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module RunV1
|
|
18
18
|
# Version of the google-apis-run_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.9.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20210611"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -23,7 +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
|
|
26
|
+
# based on incoming requets. The Cloud Run Admin API follows the Knative Serving
|
|
27
|
+
# API specification.
|
|
27
28
|
#
|
|
28
29
|
# @example
|
|
29
30
|
# require 'google/apis/run_v1'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-run_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.9.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-06-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -52,7 +52,7 @@ licenses:
|
|
|
52
52
|
metadata:
|
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-run_v1/CHANGELOG.md
|
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.
|
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.9.0
|
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-run_v1
|
|
57
57
|
post_install_message:
|
|
58
58
|
rdoc_options: []
|