google-apis-run_v1 0.4.0 → 0.9.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 +21 -0
- data/lib/google/apis/run_v1.rb +2 -1
- data/lib/google/apis/run_v1/classes.rb +247 -298
- data/lib/google/apis/run_v1/gem_version.rb +3 -3
- data/lib/google/apis/run_v1/representations.rb +2 -0
- data/lib/google/apis/run_v1/service.rb +27 -26
- metadata +4 -4
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,26 @@
|
|
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
|
+
|
8
|
+
### v0.8.0 (2021-05-22)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210517
|
11
|
+
|
12
|
+
### v0.7.0 (2021-04-17)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210409
|
15
|
+
|
16
|
+
### v0.6.0 (2021-04-03)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210326
|
19
|
+
|
20
|
+
### v0.5.0 (2021-03-26)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210319
|
23
|
+
|
3
24
|
### v0.4.0 (2021-03-20)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210312
|
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,25 +300,22 @@ 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
|
319
|
-
# a key is specified
|
307
|
+
# a key is specified that is not present in the Secret, the volume setup will
|
320
308
|
# error unless it is marked optional.
|
321
309
|
# Corresponds to the JSON property `items`
|
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,29 +490,30 @@ 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
|
531
513
|
|
532
|
-
# (Optional) Name of the container specified as a DNS_LABEL.
|
514
|
+
# (Optional) Name of the container specified as a DNS_LABEL. Currently unused in
|
515
|
+
# Cloud Run. More info: https://kubernetes.io/docs/concepts/overview/working-
|
516
|
+
# with-objects/names/#dns-label-names
|
533
517
|
# Corresponds to the JSON property `name`
|
534
518
|
# @return [String]
|
535
519
|
attr_accessor :name
|
@@ -543,9 +527,9 @@ module Google
|
|
543
527
|
# @return [Array<Google::Apis::RunV1::ContainerPort>]
|
544
528
|
attr_accessor :ports
|
545
529
|
|
546
|
-
# Cloud Run
|
547
|
-
#
|
548
|
-
#
|
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.
|
549
533
|
# Corresponds to the JSON property `readinessProbe`
|
550
534
|
# @return [Google::Apis::RunV1::Probe]
|
551
535
|
attr_accessor :readiness_probe
|
@@ -555,17 +539,22 @@ module Google
|
|
555
539
|
# @return [Google::Apis::RunV1::ResourceRequirements]
|
556
540
|
attr_accessor :resources
|
557
541
|
|
558
|
-
#
|
559
|
-
#
|
560
|
-
#
|
561
|
-
#
|
562
|
-
# 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.
|
563
546
|
# Corresponds to the JSON property `securityContext`
|
564
547
|
# @return [Google::Apis::RunV1::SecurityContext]
|
565
548
|
attr_accessor :security_context
|
566
549
|
|
567
|
-
#
|
568
|
-
#
|
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.
|
553
|
+
# Corresponds to the JSON property `startupProbe`
|
554
|
+
# @return [Google::Apis::RunV1::Probe]
|
555
|
+
attr_accessor :startup_probe
|
556
|
+
|
557
|
+
# (Optional) Path at which the file to which the container's termination message
|
569
558
|
# will be written is mounted into the container's filesystem. Message written is
|
570
559
|
# intended to be brief final status, such as an assertion failure message. Will
|
571
560
|
# be truncated by the node if greater than 4096 bytes. The total message length
|
@@ -575,8 +564,7 @@ module Google
|
|
575
564
|
# @return [String]
|
576
565
|
attr_accessor :termination_message_path
|
577
566
|
|
578
|
-
# (Optional)
|
579
|
-
# supported Indicate how the termination message should be populated. File will
|
567
|
+
# (Optional) Indicate how the termination message should be populated. File will
|
580
568
|
# use the contents of terminationMessagePath to populate the container status
|
581
569
|
# message on both success and failure. FallbackToLogsOnError will use the last
|
582
570
|
# chunk of container log output if the termination message file is empty and the
|
@@ -586,14 +574,13 @@ module Google
|
|
586
574
|
# @return [String]
|
587
575
|
attr_accessor :termination_message_policy
|
588
576
|
|
589
|
-
# (Optional)
|
590
|
-
#
|
577
|
+
# (Optional) Volume to mount into the container's filesystem. Only supports
|
578
|
+
# SecretVolumeSources. Pod volumes to mount into the container's filesystem.
|
591
579
|
# Corresponds to the JSON property `volumeMounts`
|
592
580
|
# @return [Array<Google::Apis::RunV1::VolumeMount>]
|
593
581
|
attr_accessor :volume_mounts
|
594
582
|
|
595
|
-
# (Optional)
|
596
|
-
# supported Container's working directory. If not specified, the container
|
583
|
+
# (Optional) Container's working directory. If not specified, the container
|
597
584
|
# runtime's default will be used, which might be configured in the container
|
598
585
|
# image.
|
599
586
|
# Corresponds to the JSON property `workingDir`
|
@@ -618,6 +605,7 @@ module Google
|
|
618
605
|
@readiness_probe = args[:readiness_probe] if args.key?(:readiness_probe)
|
619
606
|
@resources = args[:resources] if args.key?(:resources)
|
620
607
|
@security_context = args[:security_context] if args.key?(:security_context)
|
608
|
+
@startup_probe = args[:startup_probe] if args.key?(:startup_probe)
|
621
609
|
@termination_message_path = args[:termination_message_path] if args.key?(:termination_message_path)
|
622
610
|
@termination_message_policy = args[:termination_message_policy] if args.key?(:termination_message_policy)
|
623
611
|
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
|
@@ -641,8 +629,7 @@ module Google
|
|
641
629
|
# @return [String]
|
642
630
|
attr_accessor :name
|
643
631
|
|
644
|
-
# (Optional)
|
645
|
-
# supported Protocol for port. Must be "TCP". Defaults to "TCP".
|
632
|
+
# (Optional) Protocol for port. Must be "TCP". Defaults to "TCP".
|
646
633
|
# Corresponds to the JSON property `protocol`
|
647
634
|
# @return [String]
|
648
635
|
attr_accessor :protocol
|
@@ -790,30 +777,27 @@ module Google
|
|
790
777
|
end
|
791
778
|
end
|
792
779
|
|
793
|
-
# Cloud Run
|
794
|
-
#
|
780
|
+
# Not supported by Cloud Run EnvFromSource represents the source of a set of
|
781
|
+
# ConfigMaps
|
795
782
|
class EnvFromSource
|
796
783
|
include Google::Apis::Core::Hashable
|
797
784
|
|
798
|
-
#
|
799
|
-
#
|
800
|
-
#
|
801
|
-
# 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.
|
802
788
|
# Corresponds to the JSON property `configMapRef`
|
803
789
|
# @return [Google::Apis::RunV1::ConfigMapEnvSource]
|
804
790
|
attr_accessor :config_map_ref
|
805
791
|
|
806
|
-
# (Optional)
|
807
|
-
#
|
808
|
-
# be a C_IDENTIFIER.
|
792
|
+
# (Optional) An optional identifier to prepend to each key in the ConfigMap.
|
793
|
+
# Must be a C_IDENTIFIER.
|
809
794
|
# Corresponds to the JSON property `prefix`
|
810
795
|
# @return [String]
|
811
796
|
attr_accessor :prefix
|
812
797
|
|
813
|
-
# Cloud Run
|
814
|
-
#
|
815
|
-
#
|
816
|
-
# 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.
|
817
801
|
# Corresponds to the JSON property `secretRef`
|
818
802
|
# @return [Google::Apis::RunV1::SecretEnvSource]
|
819
803
|
attr_accessor :secret_ref
|
@@ -849,7 +833,6 @@ module Google
|
|
849
833
|
# @return [String]
|
850
834
|
attr_accessor :value
|
851
835
|
|
852
|
-
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
853
836
|
# EnvVarSource represents a source for the value of an EnvVar.
|
854
837
|
# Corresponds to the JSON property `valueFrom`
|
855
838
|
# @return [Google::Apis::RunV1::EnvVarSource]
|
@@ -867,18 +850,15 @@ module Google
|
|
867
850
|
end
|
868
851
|
end
|
869
852
|
|
870
|
-
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
871
853
|
# EnvVarSource represents a source for the value of an EnvVar.
|
872
854
|
class EnvVarSource
|
873
855
|
include Google::Apis::Core::Hashable
|
874
856
|
|
875
|
-
#
|
876
|
-
# a key from a ConfigMap.
|
857
|
+
# Not supported by Cloud Run Selects a key from a ConfigMap.
|
877
858
|
# Corresponds to the JSON property `configMapKeyRef`
|
878
859
|
# @return [Google::Apis::RunV1::ConfigMapKeySelector]
|
879
860
|
attr_accessor :config_map_key_ref
|
880
861
|
|
881
|
-
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
882
862
|
# SecretKeySelector selects a key of a Secret.
|
883
863
|
# Corresponds to the JSON property `secretKeyRef`
|
884
864
|
# @return [Google::Apis::RunV1::SecretKeySelector]
|
@@ -895,13 +875,11 @@ module Google
|
|
895
875
|
end
|
896
876
|
end
|
897
877
|
|
898
|
-
# Cloud Run
|
899
|
-
# ExecAction describes a "run in container" action.
|
878
|
+
# Not supported by Cloud Run ExecAction describes a "run in container" action.
|
900
879
|
class ExecAction
|
901
880
|
include Google::Apis::Core::Hashable
|
902
881
|
|
903
|
-
# (Optional)
|
904
|
-
# 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
|
905
883
|
# working directory for the command is root ('/') in the container's filesystem.
|
906
884
|
# The command is simply exec'd, it is not run inside a shell, so traditional
|
907
885
|
# shell instructions ('|', etc) won't work. To use a shell, you need to
|
@@ -1028,32 +1006,28 @@ module Google
|
|
1028
1006
|
end
|
1029
1007
|
end
|
1030
1008
|
|
1031
|
-
# Cloud Run
|
1032
|
-
#
|
1009
|
+
# Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
|
1010
|
+
# requests.
|
1033
1011
|
class HttpGetAction
|
1034
1012
|
include Google::Apis::Core::Hashable
|
1035
1013
|
|
1036
|
-
# (Optional)
|
1037
|
-
# 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
|
1038
1015
|
# to set "Host" in httpHeaders instead.
|
1039
1016
|
# Corresponds to the JSON property `host`
|
1040
1017
|
# @return [String]
|
1041
1018
|
attr_accessor :host
|
1042
1019
|
|
1043
|
-
# (Optional)
|
1044
|
-
# 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.
|
1045
1021
|
# Corresponds to the JSON property `httpHeaders`
|
1046
1022
|
# @return [Array<Google::Apis::RunV1::HttpHeader>]
|
1047
1023
|
attr_accessor :http_headers
|
1048
1024
|
|
1049
|
-
# (Optional)
|
1050
|
-
# supported Path to access on the HTTP server.
|
1025
|
+
# (Optional) Path to access on the HTTP server.
|
1051
1026
|
# Corresponds to the JSON property `path`
|
1052
1027
|
# @return [String]
|
1053
1028
|
attr_accessor :path
|
1054
1029
|
|
1055
|
-
# (Optional)
|
1056
|
-
# 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.
|
1057
1031
|
# Corresponds to the JSON property `scheme`
|
1058
1032
|
# @return [String]
|
1059
1033
|
attr_accessor :scheme
|
@@ -1071,19 +1045,17 @@ module Google
|
|
1071
1045
|
end
|
1072
1046
|
end
|
1073
1047
|
|
1074
|
-
# Cloud Run
|
1075
|
-
#
|
1048
|
+
# Not supported by Cloud Run HTTPHeader describes a custom header to be used in
|
1049
|
+
# HTTP probes
|
1076
1050
|
class HttpHeader
|
1077
1051
|
include Google::Apis::Core::Hashable
|
1078
1052
|
|
1079
|
-
#
|
1080
|
-
# header field name
|
1053
|
+
# The header field name
|
1081
1054
|
# Corresponds to the JSON property `name`
|
1082
1055
|
# @return [String]
|
1083
1056
|
attr_accessor :name
|
1084
1057
|
|
1085
|
-
#
|
1086
|
-
# header field value
|
1058
|
+
# The header field value
|
1087
1059
|
# Corresponds to the JSON property `value`
|
1088
1060
|
# @return [String]
|
1089
1061
|
attr_accessor :value
|
@@ -1099,29 +1071,26 @@ module Google
|
|
1099
1071
|
end
|
1100
1072
|
end
|
1101
1073
|
|
1102
|
-
#
|
1103
|
-
# string key to a path within a volume.
|
1074
|
+
# Maps a string key to a path within a volume.
|
1104
1075
|
class KeyToPath
|
1105
1076
|
include Google::Apis::Core::Hashable
|
1106
1077
|
|
1107
|
-
# Cloud
|
1108
|
-
# 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.
|
1109
1080
|
# Corresponds to the JSON property `key`
|
1110
1081
|
# @return [String]
|
1111
1082
|
attr_accessor :key
|
1112
1083
|
|
1113
|
-
# (Optional)
|
1114
|
-
#
|
1115
|
-
# 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
|
1116
1086
|
# conflict with other options that affect the file mode, like fsGroup, and the
|
1117
1087
|
# result can be other mode bits set.
|
1118
1088
|
# Corresponds to the JSON property `mode`
|
1119
1089
|
# @return [Fixnum]
|
1120
1090
|
attr_accessor :mode
|
1121
1091
|
|
1122
|
-
#
|
1123
|
-
#
|
1124
|
-
# 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 '..'.
|
1125
1094
|
# Corresponds to the JSON property `path`
|
1126
1095
|
# @return [String]
|
1127
1096
|
attr_accessor :path
|
@@ -1458,15 +1427,13 @@ module Google
|
|
1458
1427
|
end
|
1459
1428
|
end
|
1460
1429
|
|
1461
|
-
#
|
1462
|
-
#
|
1463
|
-
# 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.
|
1464
1432
|
class LocalObjectReference
|
1465
1433
|
include Google::Apis::Core::Hashable
|
1466
1434
|
|
1467
|
-
# (Optional)
|
1468
|
-
#
|
1469
|
-
# 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
|
1470
1437
|
# Corresponds to the JSON property `name`
|
1471
1438
|
# @return [String]
|
1472
1439
|
attr_accessor :name
|
@@ -1541,11 +1508,10 @@ module Google
|
|
1541
1508
|
# @return [Hash<String,String>]
|
1542
1509
|
attr_accessor :annotations
|
1543
1510
|
|
1544
|
-
# (Optional) Cloud Run
|
1545
|
-
#
|
1546
|
-
#
|
1547
|
-
#
|
1548
|
-
# 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.
|
1549
1515
|
# Corresponds to the JSON property `clusterName`
|
1550
1516
|
# @return [String]
|
1551
1517
|
attr_accessor :cluster_name
|
@@ -1560,30 +1526,28 @@ module Google
|
|
1560
1526
|
# @return [String]
|
1561
1527
|
attr_accessor :creation_timestamp
|
1562
1528
|
|
1563
|
-
# (Optional) Cloud Run
|
1564
|
-
#
|
1565
|
-
#
|
1566
|
-
# 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.
|
1567
1532
|
# Corresponds to the JSON property `deletionGracePeriodSeconds`
|
1568
1533
|
# @return [Fixnum]
|
1569
1534
|
attr_accessor :deletion_grace_period_seconds
|
1570
1535
|
|
1571
|
-
# (Optional) Cloud Run
|
1572
|
-
#
|
1573
|
-
#
|
1574
|
-
#
|
1575
|
-
#
|
1576
|
-
#
|
1577
|
-
#
|
1578
|
-
#
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
#
|
1582
|
-
#
|
1583
|
-
#
|
1584
|
-
#
|
1585
|
-
#
|
1586
|
-
# 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
|
1587
1551
|
# terminated. If not set, graceful deletion of the object has not been requested.
|
1588
1552
|
# Populated by the system when a graceful deletion is requested. Read-only.
|
1589
1553
|
# More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
@@ -1592,29 +1556,28 @@ module Google
|
|
1592
1556
|
# @return [String]
|
1593
1557
|
attr_accessor :deletion_timestamp
|
1594
1558
|
|
1595
|
-
# (Optional) Cloud Run
|
1596
|
-
#
|
1597
|
-
#
|
1598
|
-
#
|
1599
|
-
#
|
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
|
1600
1564
|
# Corresponds to the JSON property `finalizers`
|
1601
1565
|
# @return [Array<String>]
|
1602
1566
|
attr_accessor :finalizers
|
1603
1567
|
|
1604
|
-
# (Optional) Cloud Run
|
1605
|
-
#
|
1606
|
-
#
|
1607
|
-
#
|
1608
|
-
#
|
1609
|
-
#
|
1610
|
-
#
|
1611
|
-
#
|
1612
|
-
#
|
1613
|
-
#
|
1614
|
-
#
|
1615
|
-
#
|
1616
|
-
#
|
1617
|
-
# 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;
|
1618
1581
|
# Corresponds to the JSON property `generateName`
|
1619
1582
|
# @return [String]
|
1620
1583
|
attr_accessor :generate_name
|
@@ -1649,22 +1612,22 @@ module Google
|
|
1649
1612
|
# @return [String]
|
1650
1613
|
attr_accessor :namespace
|
1651
1614
|
|
1652
|
-
# (Optional) Cloud Run
|
1653
|
-
#
|
1654
|
-
#
|
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.
|
1655
1618
|
# Corresponds to the JSON property `ownerReferences`
|
1656
1619
|
# @return [Array<Google::Apis::RunV1::OwnerReference>]
|
1657
1620
|
attr_accessor :owner_references
|
1658
1621
|
|
1659
|
-
#
|
1622
|
+
# Optional. An opaque value that represents the internal version of this object
|
1660
1623
|
# that can be used by clients to determine when objects have changed. May be
|
1661
1624
|
# used for optimistic concurrency, change detection, and the watch operation on
|
1662
1625
|
# a resource or set of resources. Clients must treat these values as opaque and
|
1663
|
-
# passed unmodified back to the server
|
1664
|
-
#
|
1665
|
-
#
|
1666
|
-
#
|
1667
|
-
# consistency
|
1626
|
+
# passed unmodified back to the server or omit the value to disable conflict-
|
1627
|
+
# detection. They may only be valid for a particular resource or set of
|
1628
|
+
# resources. Populated by the system. Read-only. Value must be treated as opaque
|
1629
|
+
# by clients or omitted. More info: https://git.k8s.io/community/contributors/
|
1630
|
+
# devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
1668
1631
|
# Corresponds to the JSON property `resourceVersion`
|
1669
1632
|
# @return [String]
|
1670
1633
|
attr_accessor :resource_version
|
@@ -1735,7 +1698,7 @@ module Google
|
|
1735
1698
|
alias_method :controller?, :controller
|
1736
1699
|
|
1737
1700
|
# Kind of the referent. More info: https://git.k8s.io/community/contributors/
|
1738
|
-
# devel/api-conventions.md#types-kinds
|
1701
|
+
# devel/sig-architecture/api-conventions.md#types-kinds
|
1739
1702
|
# Corresponds to the JSON property `kind`
|
1740
1703
|
# @return [String]
|
1741
1704
|
attr_accessor :kind
|
@@ -1857,62 +1820,56 @@ module Google
|
|
1857
1820
|
end
|
1858
1821
|
end
|
1859
1822
|
|
1860
|
-
# Cloud Run
|
1861
|
-
#
|
1862
|
-
#
|
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.
|
1863
1826
|
class Probe
|
1864
1827
|
include Google::Apis::Core::Hashable
|
1865
1828
|
|
1866
|
-
# Cloud Run
|
1867
|
-
# ExecAction describes a "run in container" action.
|
1829
|
+
# Not supported by Cloud Run ExecAction describes a "run in container" action.
|
1868
1830
|
# Corresponds to the JSON property `exec`
|
1869
1831
|
# @return [Google::Apis::RunV1::ExecAction]
|
1870
1832
|
attr_accessor :exec
|
1871
1833
|
|
1872
|
-
# (Optional)
|
1873
|
-
# supported Minimum consecutive failures for the probe to be considered failed
|
1834
|
+
# (Optional) Minimum consecutive failures for the probe to be considered failed
|
1874
1835
|
# after having succeeded. Defaults to 3. Minimum value is 1.
|
1875
1836
|
# Corresponds to the JSON property `failureThreshold`
|
1876
1837
|
# @return [Fixnum]
|
1877
1838
|
attr_accessor :failure_threshold
|
1878
1839
|
|
1879
|
-
# Cloud Run
|
1880
|
-
#
|
1840
|
+
# Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
|
1841
|
+
# requests.
|
1881
1842
|
# Corresponds to the JSON property `httpGet`
|
1882
1843
|
# @return [Google::Apis::RunV1::HttpGetAction]
|
1883
1844
|
attr_accessor :http_get
|
1884
1845
|
|
1885
|
-
# (Optional)
|
1886
|
-
# supported Number of seconds after the container has started before liveness
|
1846
|
+
# (Optional) Number of seconds after the container has started before liveness
|
1887
1847
|
# probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/
|
1888
1848
|
# pods/pod-lifecycle#container-probes
|
1889
1849
|
# Corresponds to the JSON property `initialDelaySeconds`
|
1890
1850
|
# @return [Fixnum]
|
1891
1851
|
attr_accessor :initial_delay_seconds
|
1892
1852
|
|
1893
|
-
# (Optional)
|
1894
|
-
# 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.
|
1895
1854
|
# Minimum value is 1.
|
1896
1855
|
# Corresponds to the JSON property `periodSeconds`
|
1897
1856
|
# @return [Fixnum]
|
1898
1857
|
attr_accessor :period_seconds
|
1899
1858
|
|
1900
|
-
# (Optional)
|
1901
|
-
# supported Minimum consecutive successes for the probe to be considered
|
1859
|
+
# (Optional) Minimum consecutive successes for the probe to be considered
|
1902
1860
|
# successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum
|
1903
1861
|
# value is 1.
|
1904
1862
|
# Corresponds to the JSON property `successThreshold`
|
1905
1863
|
# @return [Fixnum]
|
1906
1864
|
attr_accessor :success_threshold
|
1907
1865
|
|
1908
|
-
#
|
1909
|
-
#
|
1866
|
+
# Not supported by Cloud Run TCPSocketAction describes an action based on
|
1867
|
+
# opening a socket
|
1910
1868
|
# Corresponds to the JSON property `tcpSocket`
|
1911
1869
|
# @return [Google::Apis::RunV1::TcpSocketAction]
|
1912
1870
|
attr_accessor :tcp_socket
|
1913
1871
|
|
1914
|
-
# (Optional)
|
1915
|
-
# 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
|
1916
1873
|
# second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/
|
1917
1874
|
# workloads/pods/pod-lifecycle#container-probes
|
1918
1875
|
# Corresponds to the JSON property `timeoutSeconds`
|
@@ -1973,25 +1930,23 @@ module Google
|
|
1973
1930
|
class ResourceRequirements
|
1974
1931
|
include Google::Apis::Core::Hashable
|
1975
1932
|
|
1976
|
-
# (Optional)
|
1977
|
-
#
|
1978
|
-
#
|
1979
|
-
#
|
1980
|
-
#
|
1981
|
-
#
|
1982
|
-
# 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
|
1983
1939
|
# Corresponds to the JSON property `limits`
|
1984
1940
|
# @return [Hash<String,String>]
|
1985
1941
|
attr_accessor :limits
|
1986
1942
|
|
1987
|
-
# (Optional)
|
1988
|
-
#
|
1989
|
-
#
|
1990
|
-
#
|
1991
|
-
#
|
1992
|
-
#
|
1993
|
-
#
|
1994
|
-
# 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
|
1995
1950
|
# Corresponds to the JSON property `requests`
|
1996
1951
|
# @return [Hash<String,String>]
|
1997
1952
|
attr_accessor :requests
|
@@ -2324,28 +2279,24 @@ module Google
|
|
2324
2279
|
end
|
2325
2280
|
end
|
2326
2281
|
|
2327
|
-
# Cloud Run
|
2328
|
-
#
|
2329
|
-
#
|
2330
|
-
# 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.
|
2331
2285
|
class SecretEnvSource
|
2332
2286
|
include Google::Apis::Core::Hashable
|
2333
2287
|
|
2334
|
-
#
|
2335
|
-
#
|
2336
|
-
# 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.
|
2337
2290
|
# Corresponds to the JSON property `localObjectReference`
|
2338
2291
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
2339
2292
|
attr_accessor :local_object_reference
|
2340
2293
|
|
2341
|
-
#
|
2342
|
-
# Secret to select from.
|
2294
|
+
# The Secret to select from.
|
2343
2295
|
# Corresponds to the JSON property `name`
|
2344
2296
|
# @return [String]
|
2345
2297
|
attr_accessor :name
|
2346
2298
|
|
2347
|
-
# (Optional)
|
2348
|
-
# supported Specify whether the Secret must be defined
|
2299
|
+
# (Optional) Specify whether the Secret must be defined
|
2349
2300
|
# Corresponds to the JSON property `optional`
|
2350
2301
|
# @return [Boolean]
|
2351
2302
|
attr_accessor :optional
|
@@ -2363,32 +2314,34 @@ module Google
|
|
2363
2314
|
end
|
2364
2315
|
end
|
2365
2316
|
|
2366
|
-
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
2367
2317
|
# SecretKeySelector selects a key of a Secret.
|
2368
2318
|
class SecretKeySelector
|
2369
2319
|
include Google::Apis::Core::Hashable
|
2370
2320
|
|
2371
|
-
# Cloud
|
2372
|
-
#
|
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.
|
2373
2324
|
# Corresponds to the JSON property `key`
|
2374
2325
|
# @return [String]
|
2375
2326
|
attr_accessor :key
|
2376
2327
|
|
2377
|
-
#
|
2378
|
-
#
|
2379
|
-
# 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.
|
2380
2330
|
# Corresponds to the JSON property `localObjectReference`
|
2381
2331
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
2382
2332
|
attr_accessor :local_object_reference
|
2383
2333
|
|
2384
|
-
#
|
2385
|
-
#
|
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.
|
2386
2340
|
# Corresponds to the JSON property `name`
|
2387
2341
|
# @return [String]
|
2388
2342
|
attr_accessor :name
|
2389
2343
|
|
2390
|
-
# (Optional)
|
2391
|
-
# supported Specify whether the Secret or its key must be defined
|
2344
|
+
# (Optional) Specify whether the Secret or its key must be defined
|
2392
2345
|
# Corresponds to the JSON property `optional`
|
2393
2346
|
# @return [Boolean]
|
2394
2347
|
attr_accessor :optional
|
@@ -2407,14 +2360,14 @@ module Google
|
|
2407
2360
|
end
|
2408
2361
|
end
|
2409
2362
|
|
2410
|
-
#
|
2411
|
-
#
|
2412
|
-
#
|
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.
|
2413
2367
|
class SecretVolumeSource
|
2414
2368
|
include Google::Apis::Core::Hashable
|
2415
2369
|
|
2416
|
-
# (Optional)
|
2417
|
-
# 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
|
2418
2371
|
# between 0000 and 0777. Defaults to 0644. Directories within the path are not
|
2419
2372
|
# affected by this setting. This might be in conflict with other options that
|
2420
2373
|
# affect the file mode, like fsGroup, and the result can be other mode bits set.
|
@@ -2425,26 +2378,32 @@ module Google
|
|
2425
2378
|
# @return [Fixnum]
|
2426
2379
|
attr_accessor :default_mode
|
2427
2380
|
|
2428
|
-
# (Optional)
|
2429
|
-
#
|
2430
|
-
#
|
2431
|
-
#
|
2432
|
-
#
|
2433
|
-
#
|
2434
|
-
#
|
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.
|
2435
2391
|
# Corresponds to the JSON property `items`
|
2436
2392
|
# @return [Array<Google::Apis::RunV1::KeyToPath>]
|
2437
2393
|
attr_accessor :items
|
2438
2394
|
|
2439
|
-
# (Optional)
|
2440
|
-
# supported Specify whether the Secret or its keys must be defined.
|
2395
|
+
# (Optional) Specify whether the Secret or its keys must be defined.
|
2441
2396
|
# Corresponds to the JSON property `optional`
|
2442
2397
|
# @return [Boolean]
|
2443
2398
|
attr_accessor :optional
|
2444
2399
|
alias_method :optional?, :optional
|
2445
2400
|
|
2446
|
-
#
|
2447
|
-
#
|
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.
|
2448
2407
|
# Corresponds to the JSON property `secretName`
|
2449
2408
|
# @return [String]
|
2450
2409
|
attr_accessor :secret_name
|
@@ -2462,16 +2421,14 @@ module Google
|
|
2462
2421
|
end
|
2463
2422
|
end
|
2464
2423
|
|
2465
|
-
#
|
2466
|
-
#
|
2467
|
-
#
|
2468
|
-
#
|
2469
|
-
# 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.
|
2470
2428
|
class SecurityContext
|
2471
2429
|
include Google::Apis::Core::Hashable
|
2472
2430
|
|
2473
|
-
# (Optional)
|
2474
|
-
# 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
|
2475
2432
|
# user specified in image metadata if unspecified. May also be set in
|
2476
2433
|
# PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the
|
2477
2434
|
# value specified in SecurityContext takes precedence.
|
@@ -2735,8 +2692,8 @@ module Google
|
|
2735
2692
|
attr_accessor :reason
|
2736
2693
|
|
2737
2694
|
# Status of the operation. One of: "Success" or "Failure". More info: https://
|
2738
|
-
# git.k8s.io/community/contributors/devel/api-conventions.md#
|
2739
|
-
# optional
|
2695
|
+
# git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
2696
|
+
# spec-and-status +optional
|
2740
2697
|
# Corresponds to the JSON property `status`
|
2741
2698
|
# @return [String]
|
2742
2699
|
attr_accessor :status
|
@@ -2817,8 +2774,8 @@ module Google
|
|
2817
2774
|
|
2818
2775
|
# The kind attribute of the resource associated with the status StatusReason. On
|
2819
2776
|
# some operations may differ from the requested resource Kind. More info: https:/
|
2820
|
-
# /git.k8s.io/community/contributors/devel/api-conventions.md#
|
2821
|
-
# optional
|
2777
|
+
# /git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
2778
|
+
# types-kinds +optional
|
2822
2779
|
# Corresponds to the JSON property `kind`
|
2823
2780
|
# @return [String]
|
2824
2781
|
attr_accessor :kind
|
@@ -2858,22 +2815,20 @@ module Google
|
|
2858
2815
|
end
|
2859
2816
|
end
|
2860
2817
|
|
2861
|
-
#
|
2862
|
-
#
|
2818
|
+
# Not supported by Cloud Run TCPSocketAction describes an action based on
|
2819
|
+
# opening a socket
|
2863
2820
|
class TcpSocketAction
|
2864
2821
|
include Google::Apis::Core::Hashable
|
2865
2822
|
|
2866
|
-
# (Optional)
|
2867
|
-
# 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.
|
2868
2824
|
# Corresponds to the JSON property `host`
|
2869
2825
|
# @return [String]
|
2870
2826
|
attr_accessor :host
|
2871
2827
|
|
2872
|
-
#
|
2873
|
-
#
|
2874
|
-
# to
|
2875
|
-
#
|
2876
|
-
# 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.
|
2877
2832
|
# Corresponds to the JSON property `port`
|
2878
2833
|
# @return [Fixnum]
|
2879
2834
|
attr_accessor :port
|
@@ -2995,29 +2950,27 @@ module Google
|
|
2995
2950
|
end
|
2996
2951
|
end
|
2997
2952
|
|
2998
|
-
# Cloud Run
|
2999
|
-
# represents a named volume in a container.
|
2953
|
+
# Not supported by Cloud Run Volume represents a named volume in a container.
|
3000
2954
|
class Volume
|
3001
2955
|
include Google::Apis::Core::Hashable
|
3002
2956
|
|
3003
|
-
# Cloud Run
|
3004
|
-
#
|
3005
|
-
#
|
3006
|
-
#
|
3007
|
-
# 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.
|
3008
2961
|
# Corresponds to the JSON property `configMap`
|
3009
2962
|
# @return [Google::Apis::RunV1::ConfigMapVolumeSource]
|
3010
2963
|
attr_accessor :config_map
|
3011
2964
|
|
3012
|
-
#
|
3013
|
-
# s name.
|
2965
|
+
# Volume's name.
|
3014
2966
|
# Corresponds to the JSON property `name`
|
3015
2967
|
# @return [String]
|
3016
2968
|
attr_accessor :name
|
3017
2969
|
|
3018
|
-
#
|
3019
|
-
#
|
3020
|
-
#
|
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.
|
3021
2974
|
# Corresponds to the JSON property `secret`
|
3022
2975
|
# @return [Google::Apis::RunV1::SecretVolumeSource]
|
3023
2976
|
attr_accessor :secret
|
@@ -3034,33 +2987,29 @@ module Google
|
|
3034
2987
|
end
|
3035
2988
|
end
|
3036
2989
|
|
3037
|
-
# Cloud Run
|
3038
|
-
#
|
2990
|
+
# Not supported by Cloud Run VolumeMount describes a mounting of a Volume within
|
2991
|
+
# a container.
|
3039
2992
|
class VolumeMount
|
3040
2993
|
include Google::Apis::Core::Hashable
|
3041
2994
|
|
3042
|
-
#
|
3043
|
-
#
|
3044
|
-
# '.
|
2995
|
+
# Path within the container at which the volume should be mounted. Must not
|
2996
|
+
# contain ':'.
|
3045
2997
|
# Corresponds to the JSON property `mountPath`
|
3046
2998
|
# @return [String]
|
3047
2999
|
attr_accessor :mount_path
|
3048
3000
|
|
3049
|
-
#
|
3050
|
-
# must match the Name of a Volume.
|
3001
|
+
# This must match the Name of a Volume.
|
3051
3002
|
# Corresponds to the JSON property `name`
|
3052
3003
|
# @return [String]
|
3053
3004
|
attr_accessor :name
|
3054
3005
|
|
3055
|
-
# (Optional)
|
3056
|
-
# supported Only true is accepted. Defaults to true.
|
3006
|
+
# (Optional) Only true is accepted. Defaults to true.
|
3057
3007
|
# Corresponds to the JSON property `readOnly`
|
3058
3008
|
# @return [Boolean]
|
3059
3009
|
attr_accessor :read_only
|
3060
3010
|
alias_method :read_only?, :read_only
|
3061
3011
|
|
3062
|
-
# (Optional)
|
3063
|
-
# 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
|
3064
3013
|
# mounted. Defaults to "" (volume's root).
|
3065
3014
|
# Corresponds to the JSON property `subPath`
|
3066
3015
|
# @return [String]
|