google-apis-run_v1 0.35.0 → 0.36.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 +4 -0
- data/lib/google/apis/run_v1/classes.rb +359 -440
- data/lib/google/apis/run_v1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1/service.rb +110 -131
- metadata +3 -3
@@ -227,14 +227,14 @@ module Google
|
|
227
227
|
end
|
228
228
|
end
|
229
229
|
|
230
|
-
# Not supported by Cloud Run ConfigMapEnvSource selects a ConfigMap to populate
|
230
|
+
# Not supported by Cloud Run. ConfigMapEnvSource selects a ConfigMap to populate
|
231
231
|
# the environment variables with. The contents of the target ConfigMap's Data
|
232
232
|
# field will represent the key-value pairs as environment variables.
|
233
233
|
class ConfigMapEnvSource
|
234
234
|
include Google::Apis::Core::Hashable
|
235
235
|
|
236
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
237
|
-
# let you locate the referenced object inside the same namespace.
|
236
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
237
|
+
# to let you locate the referenced object inside the same namespace.
|
238
238
|
# Corresponds to the JSON property `localObjectReference`
|
239
239
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
240
240
|
attr_accessor :local_object_reference
|
@@ -244,7 +244,7 @@ module Google
|
|
244
244
|
# @return [String]
|
245
245
|
attr_accessor :name
|
246
246
|
|
247
|
-
#
|
247
|
+
# Specify whether the ConfigMap must be defined.
|
248
248
|
# Corresponds to the JSON property `optional`
|
249
249
|
# @return [Boolean]
|
250
250
|
attr_accessor :optional
|
@@ -262,27 +262,27 @@ module Google
|
|
262
262
|
end
|
263
263
|
end
|
264
264
|
|
265
|
-
# Not supported by Cloud Run Selects a key from a ConfigMap.
|
265
|
+
# Not supported by Cloud Run. Selects a key from a ConfigMap.
|
266
266
|
class ConfigMapKeySelector
|
267
267
|
include Google::Apis::Core::Hashable
|
268
268
|
|
269
|
-
# The key to select.
|
269
|
+
# Required. The key to select.
|
270
270
|
# Corresponds to the JSON property `key`
|
271
271
|
# @return [String]
|
272
272
|
attr_accessor :key
|
273
273
|
|
274
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
275
|
-
# let you locate the referenced object inside the same namespace.
|
274
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
275
|
+
# to let you locate the referenced object inside the same namespace.
|
276
276
|
# Corresponds to the JSON property `localObjectReference`
|
277
277
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
278
278
|
attr_accessor :local_object_reference
|
279
279
|
|
280
|
-
# The ConfigMap to select from.
|
280
|
+
# Required. The ConfigMap to select from.
|
281
281
|
# Corresponds to the JSON property `name`
|
282
282
|
# @return [String]
|
283
283
|
attr_accessor :name
|
284
284
|
|
285
|
-
#
|
285
|
+
# Specify whether the ConfigMap or its key must be defined
|
286
286
|
# Corresponds to the JSON property `optional`
|
287
287
|
# @return [Boolean]
|
288
288
|
attr_accessor :optional
|
@@ -301,7 +301,7 @@ module Google
|
|
301
301
|
end
|
302
302
|
end
|
303
303
|
|
304
|
-
# Not supported by Cloud Run Adapts a ConfigMap into a volume. The contents of
|
304
|
+
# Not supported by Cloud Run. Adapts a ConfigMap into a volume. The contents of
|
305
305
|
# the target ConfigMap's Data field will be presented in a volume as files using
|
306
306
|
# the keys in the Data field as the file names, unless the items element is
|
307
307
|
# populated with specific mappings of keys to paths.
|
@@ -361,7 +361,7 @@ module Google
|
|
361
361
|
# and optionally how the containers those revisions reference are built. Users
|
362
362
|
# create new Revisions by updating the Configuration's spec. The "latest created"
|
363
363
|
# revision's name is available under status, as is the "latest ready" revision'
|
364
|
-
# s name. See also: https://github.com/knative/
|
364
|
+
# s name. See also: https://github.com/knative/specs/blob/main/specs/serving/
|
365
365
|
# overview.md#configuration
|
366
366
|
class Configuration
|
367
367
|
include Google::Apis::Core::Hashable
|
@@ -435,14 +435,15 @@ module Google
|
|
435
435
|
class ConfigurationStatus
|
436
436
|
include Google::Apis::Core::Hashable
|
437
437
|
|
438
|
-
# Conditions
|
438
|
+
# Conditions communicate information about ongoing/complete reconciliation
|
439
439
|
# processes that bring the "spec" inline with the observed state of the world.
|
440
440
|
# Corresponds to the JSON property `conditions`
|
441
441
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
442
442
|
attr_accessor :conditions
|
443
443
|
|
444
444
|
# LatestCreatedRevisionName is the last revision that was created from this
|
445
|
-
# Configuration. It might not be ready yet, for
|
445
|
+
# Configuration. It might not be ready yet, so for the latest ready revision,
|
446
|
+
# use LatestReadyRevisionName.
|
446
447
|
# Corresponds to the JSON property `latestCreatedRevisionName`
|
447
448
|
# @return [String]
|
448
449
|
attr_accessor :latest_created_revision_name
|
@@ -481,68 +482,69 @@ module Google
|
|
481
482
|
class Container
|
482
483
|
include Google::Apis::Core::Hashable
|
483
484
|
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
#
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
485
|
+
# Arguments to the entrypoint. The docker image's CMD is used if this is not
|
486
|
+
# provided. Variable references $(VAR_NAME) are expanded using the container's
|
487
|
+
# environment. If a variable cannot be resolved, the reference in the input
|
488
|
+
# string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $
|
489
|
+
# $, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of
|
490
|
+
# whether the variable exists or not. More info: https://kubernetes.io/docs/
|
491
|
+
# tasks/inject-data-application/define-command-argument-container/#running-a-
|
492
|
+
# command-in-a-shell
|
492
493
|
# Corresponds to the JSON property `args`
|
493
494
|
# @return [Array<String>]
|
494
495
|
attr_accessor :args
|
495
496
|
|
496
|
-
#
|
497
|
+
# Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT
|
498
|
+
# is used if this is not provided. Variable references $(VAR_NAME) are expanded
|
499
|
+
# using the container's environment. If a variable cannot be resolved, the
|
500
|
+
# reference in the input string will be unchanged. The $(VAR_NAME) syntax can be
|
501
|
+
# escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be
|
502
|
+
# expanded, regardless of whether the variable exists or not. More info: https://
|
503
|
+
# kubernetes.io/docs/tasks/inject-data-application/define-command-argument-
|
504
|
+
# container/#running-a-command-in-a-shell
|
497
505
|
# Corresponds to the JSON property `command`
|
498
506
|
# @return [Array<String>]
|
499
507
|
attr_accessor :command
|
500
508
|
|
501
|
-
#
|
509
|
+
# List of environment variables to set in the container.
|
502
510
|
# Corresponds to the JSON property `env`
|
503
511
|
# @return [Array<Google::Apis::RunV1::EnvVar>]
|
504
512
|
attr_accessor :env
|
505
513
|
|
506
|
-
#
|
507
|
-
# The keys defined within a source must be a C_IDENTIFIER. All invalid keys will
|
508
|
-
# be reported as an event when the container is starting. When a key exists in
|
509
|
-
# multiple sources, the value associated with the last source will take
|
510
|
-
# precedence. Values defined by an Env with a duplicate key will take precedence.
|
511
|
-
# Cannot be updated.
|
514
|
+
# Not supported by Cloud Run.
|
512
515
|
# Corresponds to the JSON property `envFrom`
|
513
516
|
# @return [Array<Google::Apis::RunV1::EnvFromSource>]
|
514
517
|
attr_accessor :env_from
|
515
518
|
|
516
|
-
#
|
517
|
-
#
|
518
|
-
#
|
519
|
+
# Required. URL of the Container image in Google Container Registry or Google
|
520
|
+
# Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/
|
521
|
+
# images
|
519
522
|
# Corresponds to the JSON property `image`
|
520
523
|
# @return [String]
|
521
524
|
attr_accessor :image
|
522
525
|
|
523
|
-
#
|
524
|
-
#
|
525
|
-
#
|
526
|
+
# Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :
|
527
|
+
# latest tag is specified, or IfNotPresent otherwise. More info: https://
|
528
|
+
# kubernetes.io/docs/concepts/containers/images#updating-images
|
526
529
|
# Corresponds to the JSON property `imagePullPolicy`
|
527
530
|
# @return [String]
|
528
531
|
attr_accessor :image_pull_policy
|
529
532
|
|
530
|
-
#
|
531
|
-
#
|
532
|
-
# traffic.
|
533
|
+
# Probe describes a health check to be performed against a container to
|
534
|
+
# determine whether it is alive or ready to receive traffic.
|
533
535
|
# Corresponds to the JSON property `livenessProbe`
|
534
536
|
# @return [Google::Apis::RunV1::Probe]
|
535
537
|
attr_accessor :liveness_probe
|
536
538
|
|
537
|
-
#
|
538
|
-
#
|
539
|
-
#
|
539
|
+
# Name of the container specified as a DNS_LABEL. Currently unused in Cloud Run.
|
540
|
+
# More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/
|
541
|
+
# names/#dns-label-names
|
540
542
|
# Corresponds to the JSON property `name`
|
541
543
|
# @return [String]
|
542
544
|
attr_accessor :name
|
543
545
|
|
544
|
-
#
|
545
|
-
#
|
546
|
+
# List of ports to expose from the container. Only a single port can be
|
547
|
+
# specified. The specified ports must be listening on all interfaces (0.0.0.0)
|
546
548
|
# within the container to be accessible. If omitted, a port number will be
|
547
549
|
# chosen and passed to the container through the PORT environment variable for
|
548
550
|
# the container to listen on.
|
@@ -550,9 +552,8 @@ module Google
|
|
550
552
|
# @return [Array<Google::Apis::RunV1::ContainerPort>]
|
551
553
|
attr_accessor :ports
|
552
554
|
|
553
|
-
#
|
554
|
-
#
|
555
|
-
# traffic.
|
555
|
+
# Probe describes a health check to be performed against a container to
|
556
|
+
# determine whether it is alive or ready to receive traffic.
|
556
557
|
# Corresponds to the JSON property `readinessProbe`
|
557
558
|
# @return [Google::Apis::RunV1::Probe]
|
558
559
|
attr_accessor :readiness_probe
|
@@ -562,7 +563,7 @@ module Google
|
|
562
563
|
# @return [Google::Apis::RunV1::ResourceRequirements]
|
563
564
|
attr_accessor :resources
|
564
565
|
|
565
|
-
# Not supported by Cloud Run SecurityContext holds security configuration that
|
566
|
+
# Not supported by Cloud Run. SecurityContext holds security configuration that
|
566
567
|
# will be applied to a container. Some fields are present in both
|
567
568
|
# SecurityContext and PodSecurityContext. When both are set, the values in
|
568
569
|
# SecurityContext take precedence.
|
@@ -570,15 +571,14 @@ module Google
|
|
570
571
|
# @return [Google::Apis::RunV1::SecurityContext]
|
571
572
|
attr_accessor :security_context
|
572
573
|
|
573
|
-
#
|
574
|
-
#
|
575
|
-
# traffic.
|
574
|
+
# Probe describes a health check to be performed against a container to
|
575
|
+
# determine whether it is alive or ready to receive traffic.
|
576
576
|
# Corresponds to the JSON property `startupProbe`
|
577
577
|
# @return [Google::Apis::RunV1::Probe]
|
578
578
|
attr_accessor :startup_probe
|
579
579
|
|
580
|
-
#
|
581
|
-
#
|
580
|
+
# Path at which the file to which the container's termination message will be
|
581
|
+
# written is mounted into the container's filesystem. Message written is
|
582
582
|
# intended to be brief final status, such as an assertion failure message. Will
|
583
583
|
# be truncated by the node if greater than 4096 bytes. The total message length
|
584
584
|
# across all containers will be limited to 12kb. Defaults to /dev/termination-
|
@@ -587,25 +587,24 @@ module Google
|
|
587
587
|
# @return [String]
|
588
588
|
attr_accessor :termination_message_path
|
589
589
|
|
590
|
-
#
|
591
|
-
#
|
592
|
-
#
|
593
|
-
#
|
590
|
+
# Indicate how the termination message should be populated. File will use the
|
591
|
+
# contents of terminationMessagePath to populate the container status message on
|
592
|
+
# both success and failure. FallbackToLogsOnError will use the last chunk of
|
593
|
+
# container log output if the termination message file is empty and the
|
594
594
|
# container exited with an error. The log output is limited to 2048 bytes or 80
|
595
595
|
# lines, whichever is smaller. Defaults to File. Cannot be updated.
|
596
596
|
# Corresponds to the JSON property `terminationMessagePolicy`
|
597
597
|
# @return [String]
|
598
598
|
attr_accessor :termination_message_policy
|
599
599
|
|
600
|
-
#
|
600
|
+
# Volume to mount into the container's filesystem. Only supports
|
601
601
|
# SecretVolumeSources. Pod volumes to mount into the container's filesystem.
|
602
602
|
# Corresponds to the JSON property `volumeMounts`
|
603
603
|
# @return [Array<Google::Apis::RunV1::VolumeMount>]
|
604
604
|
attr_accessor :volume_mounts
|
605
605
|
|
606
|
-
#
|
607
|
-
#
|
608
|
-
# image.
|
606
|
+
# Container's working directory. If not specified, the container runtime's
|
607
|
+
# default will be used, which might be configured in the container image.
|
609
608
|
# Corresponds to the JSON property `workingDir`
|
610
609
|
# @return [String]
|
611
610
|
attr_accessor :working_dir
|
@@ -640,19 +639,19 @@ module Google
|
|
640
639
|
class ContainerPort
|
641
640
|
include Google::Apis::Core::Hashable
|
642
641
|
|
643
|
-
#
|
644
|
-
#
|
642
|
+
# Port number the container listens on. This must be a valid port number, 0 < x <
|
643
|
+
# 65536.
|
645
644
|
# Corresponds to the JSON property `containerPort`
|
646
645
|
# @return [Fixnum]
|
647
646
|
attr_accessor :container_port
|
648
647
|
|
649
|
-
#
|
650
|
-
#
|
648
|
+
# If specified, used to specify which protocol to use. Allowed values are "http1"
|
649
|
+
# and "h2c".
|
651
650
|
# Corresponds to the JSON property `name`
|
652
651
|
# @return [String]
|
653
652
|
attr_accessor :name
|
654
653
|
|
655
|
-
#
|
654
|
+
# Protocol for port. Must be "TCP". Defaults to "TCP".
|
656
655
|
# Corresponds to the JSON property `protocol`
|
657
656
|
# @return [String]
|
658
657
|
attr_accessor :protocol
|
@@ -780,8 +779,7 @@ module Google
|
|
780
779
|
# @return [Array<Google::Apis::RunV1::ResourceRecord>]
|
781
780
|
attr_accessor :resource_records
|
782
781
|
|
783
|
-
# Optional.
|
784
|
-
# Holds the URL that will serve the traffic of the DomainMapping.
|
782
|
+
# Optional. Not supported by Cloud Run.
|
785
783
|
# Corresponds to the JSON property `url`
|
786
784
|
# @return [String]
|
787
785
|
attr_accessor :url
|
@@ -800,25 +798,25 @@ module Google
|
|
800
798
|
end
|
801
799
|
end
|
802
800
|
|
803
|
-
# Not supported by Cloud Run EnvFromSource represents the source of a set of
|
801
|
+
# Not supported by Cloud Run. EnvFromSource represents the source of a set of
|
804
802
|
# ConfigMaps
|
805
803
|
class EnvFromSource
|
806
804
|
include Google::Apis::Core::Hashable
|
807
805
|
|
808
|
-
# Not supported by Cloud Run ConfigMapEnvSource selects a ConfigMap to populate
|
806
|
+
# Not supported by Cloud Run. ConfigMapEnvSource selects a ConfigMap to populate
|
809
807
|
# the environment variables with. The contents of the target ConfigMap's Data
|
810
808
|
# field will represent the key-value pairs as environment variables.
|
811
809
|
# Corresponds to the JSON property `configMapRef`
|
812
810
|
# @return [Google::Apis::RunV1::ConfigMapEnvSource]
|
813
811
|
attr_accessor :config_map_ref
|
814
812
|
|
815
|
-
#
|
816
|
-
#
|
813
|
+
# An optional identifier to prepend to each key in the ConfigMap. Must be a
|
814
|
+
# C_IDENTIFIER.
|
817
815
|
# Corresponds to the JSON property `prefix`
|
818
816
|
# @return [String]
|
819
817
|
attr_accessor :prefix
|
820
818
|
|
821
|
-
# Not supported by Cloud Run SecretEnvSource selects a Secret to populate the
|
819
|
+
# Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the
|
822
820
|
# environment variables with. The contents of the target Secret's Data field
|
823
821
|
# will represent the key-value pairs as environment variables.
|
824
822
|
# Corresponds to the JSON property `secretRef`
|
@@ -841,16 +839,16 @@ module Google
|
|
841
839
|
class EnvVar
|
842
840
|
include Google::Apis::Core::Hashable
|
843
841
|
|
844
|
-
# Name of the environment variable. Must be a C_IDENTIFIER.
|
842
|
+
# Required. Name of the environment variable. Must be a C_IDENTIFIER.
|
845
843
|
# Corresponds to the JSON property `name`
|
846
844
|
# @return [String]
|
847
845
|
attr_accessor :name
|
848
846
|
|
849
|
-
#
|
850
|
-
#
|
851
|
-
#
|
852
|
-
#
|
853
|
-
#
|
847
|
+
# Variable references $(VAR_NAME) are expanded using the previous defined
|
848
|
+
# environment variables in the container and any route environment variables. If
|
849
|
+
# a variable cannot be resolved, the reference in the input string will be
|
850
|
+
# unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(
|
851
|
+
# VAR_NAME). Escaped references will never be expanded, regardless of whether
|
854
852
|
# the variable exists or not. Defaults to "".
|
855
853
|
# Corresponds to the JSON property `value`
|
856
854
|
# @return [String]
|
@@ -877,7 +875,7 @@ module Google
|
|
877
875
|
class EnvVarSource
|
878
876
|
include Google::Apis::Core::Hashable
|
879
877
|
|
880
|
-
# Not supported by Cloud Run Selects a key from a ConfigMap.
|
878
|
+
# Not supported by Cloud Run. Selects a key from a ConfigMap.
|
881
879
|
# Corresponds to the JSON property `configMapKeyRef`
|
882
880
|
# @return [Google::Apis::RunV1::ConfigMapKeySelector]
|
883
881
|
attr_accessor :config_map_key_ref
|
@@ -898,16 +896,16 @@ module Google
|
|
898
896
|
end
|
899
897
|
end
|
900
898
|
|
901
|
-
# Not supported by Cloud Run ExecAction describes a "run in container" action.
|
899
|
+
# Not supported by Cloud Run. ExecAction describes a "run in container" action.
|
902
900
|
class ExecAction
|
903
901
|
include Google::Apis::Core::Hashable
|
904
902
|
|
905
|
-
#
|
906
|
-
#
|
907
|
-
#
|
908
|
-
#
|
909
|
-
#
|
910
|
-
#
|
903
|
+
# Command is the command line to execute inside the container, the working
|
904
|
+
# directory for the command is root ('/') in the container's filesystem. The
|
905
|
+
# command is simply exec'd, it is not run inside a shell, so traditional shell
|
906
|
+
# instructions ('|', etc) won't work. To use a shell, you need to explicitly
|
907
|
+
# call out to that shell. Exit status of 0 is treated as live/healthy and non-
|
908
|
+
# zero is unhealthy.
|
911
909
|
# Corresponds to the JSON property `command`
|
912
910
|
# @return [Array<String>]
|
913
911
|
attr_accessor :command
|
@@ -922,8 +920,8 @@ module Google
|
|
922
920
|
end
|
923
921
|
end
|
924
922
|
|
925
|
-
# Execution represents the configuration of a single execution.
|
926
|
-
# immutable resource that references a container image which is run to
|
923
|
+
# Execution represents the configuration of a single execution. An execution is
|
924
|
+
# an immutable resource that references a container image which is run to
|
927
925
|
# completion.
|
928
926
|
class Execution
|
929
927
|
include Google::Apis::Core::Hashable
|
@@ -931,7 +929,7 @@ module Google
|
|
931
929
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
932
930
|
# object. Servers should convert recognized schemas to the latest internal value,
|
933
931
|
# and may reject unrecognized values. More info: https://git.k8s.io/community/
|
934
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
932
|
+
# contributors/devel/sig-architecture/api-conventions.md#resources
|
935
933
|
# Corresponds to the JSON property `apiVersion`
|
936
934
|
# @return [String]
|
937
935
|
attr_accessor :api_version
|
@@ -939,8 +937,7 @@ module Google
|
|
939
937
|
# Optional. Kind is a string value representing the REST resource this object
|
940
938
|
# represents. Servers may infer this from the endpoint the client submits
|
941
939
|
# requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/
|
942
|
-
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
943
|
-
# optional
|
940
|
+
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
944
941
|
# Corresponds to the JSON property `kind`
|
945
942
|
# @return [String]
|
946
943
|
attr_accessor :kind
|
@@ -956,7 +953,7 @@ module Google
|
|
956
953
|
# @return [Google::Apis::RunV1::ExecutionSpec]
|
957
954
|
attr_accessor :spec
|
958
955
|
|
959
|
-
# ExecutionStatus represents the current state of
|
956
|
+
# ExecutionStatus represents the current state of an Execution.
|
960
957
|
# Corresponds to the JSON property `status`
|
961
958
|
# @return [Google::Apis::RunV1::ExecutionStatus]
|
962
959
|
attr_accessor :status
|
@@ -1015,16 +1012,15 @@ module Google
|
|
1015
1012
|
# run at given time. Must be <= task_count. When the job is run, if this field
|
1016
1013
|
# is 0 or unset, the maximum possible value will be used for that execution. The
|
1017
1014
|
# actual number of tasks running in steady state will be less than this number
|
1018
|
-
# when there are fewer tasks waiting to be completed
|
1019
|
-
#
|
1015
|
+
# when there are fewer tasks waiting to be completed, i.e. when the work left to
|
1016
|
+
# do is less than max parallelism.
|
1020
1017
|
# Corresponds to the JSON property `parallelism`
|
1021
1018
|
# @return [Fixnum]
|
1022
1019
|
attr_accessor :parallelism
|
1023
1020
|
|
1024
1021
|
# Optional. Specifies the desired number of tasks the execution should run.
|
1025
1022
|
# Setting to 1 means that parallelism is limited to 1 and the success of that
|
1026
|
-
# task signals the success of the execution.
|
1027
|
-
# docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional
|
1023
|
+
# task signals the success of the execution.
|
1028
1024
|
# Corresponds to the JSON property `taskCount`
|
1029
1025
|
# @return [Fixnum]
|
1030
1026
|
attr_accessor :task_count
|
@@ -1047,16 +1043,16 @@ module Google
|
|
1047
1043
|
end
|
1048
1044
|
end
|
1049
1045
|
|
1050
|
-
# ExecutionStatus represents the current state of
|
1046
|
+
# ExecutionStatus represents the current state of an Execution.
|
1051
1047
|
class ExecutionStatus
|
1052
1048
|
include Google::Apis::Core::Hashable
|
1053
1049
|
|
1054
|
-
# Optional. The number of tasks which reached phase Cancelled.
|
1050
|
+
# Optional. The number of tasks which reached phase Cancelled.
|
1055
1051
|
# Corresponds to the JSON property `cancelledCount`
|
1056
1052
|
# @return [Fixnum]
|
1057
1053
|
attr_accessor :cancelled_count
|
1058
1054
|
|
1059
|
-
# Optional. Represents time
|
1055
|
+
# Optional. Represents the time that the execution was completed. It is not
|
1060
1056
|
# guaranteed to be set in happens-before order across separate operations. It is
|
1061
1057
|
# represented in RFC3339 form and is in UTC. +optional
|
1062
1058
|
# Corresponds to the JSON property `completionTime`
|
@@ -1064,13 +1060,11 @@ module Google
|
|
1064
1060
|
attr_accessor :completion_time
|
1065
1061
|
|
1066
1062
|
# Optional. The latest available observations of an execution's current state.
|
1067
|
-
# More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-
|
1068
|
-
# to-completion/ +optional
|
1069
1063
|
# Corresponds to the JSON property `conditions`
|
1070
1064
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
1071
1065
|
attr_accessor :conditions
|
1072
1066
|
|
1073
|
-
# Optional. The number of tasks which reached phase Failed.
|
1067
|
+
# Optional. The number of tasks which reached phase Failed.
|
1074
1068
|
# Corresponds to the JSON property `failedCount`
|
1075
1069
|
# @return [Fixnum]
|
1076
1070
|
attr_accessor :failed_count
|
@@ -1086,24 +1080,24 @@ module Google
|
|
1086
1080
|
# @return [Fixnum]
|
1087
1081
|
attr_accessor :observed_generation
|
1088
1082
|
|
1089
|
-
# Optional. The number of tasks which have retried at least once.
|
1083
|
+
# Optional. The number of tasks which have retried at least once.
|
1090
1084
|
# Corresponds to the JSON property `retriedCount`
|
1091
1085
|
# @return [Fixnum]
|
1092
1086
|
attr_accessor :retried_count
|
1093
1087
|
|
1094
|
-
# Optional. The number of actively running tasks.
|
1088
|
+
# Optional. The number of actively running tasks.
|
1095
1089
|
# Corresponds to the JSON property `runningCount`
|
1096
1090
|
# @return [Fixnum]
|
1097
1091
|
attr_accessor :running_count
|
1098
1092
|
|
1099
|
-
# Optional. Represents time
|
1093
|
+
# Optional. Represents the time that the execution started to run. It is not
|
1100
1094
|
# guaranteed to be set in happens-before order across separate operations. It is
|
1101
|
-
# represented in RFC3339 form and is in UTC.
|
1095
|
+
# represented in RFC3339 form and is in UTC.
|
1102
1096
|
# Corresponds to the JSON property `startTime`
|
1103
1097
|
# @return [String]
|
1104
1098
|
attr_accessor :start_time
|
1105
1099
|
|
1106
|
-
# Optional. The number of tasks which reached phase Succeeded.
|
1100
|
+
# Optional. The number of tasks which reached phase Succeeded.
|
1107
1101
|
# Corresponds to the JSON property `succeededCount`
|
1108
1102
|
# @return [Fixnum]
|
1109
1103
|
attr_accessor :succeeded_count
|
@@ -1236,7 +1230,12 @@ module Google
|
|
1236
1230
|
end
|
1237
1231
|
end
|
1238
1232
|
|
1239
|
-
#
|
1233
|
+
# Conditions show the status of reconciliation progress on a given resource.
|
1234
|
+
# Most resource use a top-level condition type "Ready" or "Completed" to show
|
1235
|
+
# overall status with other conditions to checkpoint each stage of
|
1236
|
+
# reconciliation. Note that if metadata.Generation does not equal status.
|
1237
|
+
# ObservedGeneration, the conditions shown may not be relevant for the current
|
1238
|
+
# spec.
|
1240
1239
|
class GoogleCloudRunV1Condition
|
1241
1240
|
include Google::Apis::Core::Hashable
|
1242
1241
|
|
@@ -1250,13 +1249,16 @@ module Google
|
|
1250
1249
|
# @return [String]
|
1251
1250
|
attr_accessor :message
|
1252
1251
|
|
1253
|
-
# Optional. One-word CamelCase reason for the condition's last transition.
|
1252
|
+
# Optional. One-word CamelCase reason for the condition's last transition. These
|
1253
|
+
# are intended to be stable, unique values which the client may use to trigger
|
1254
|
+
# error handling logic, whereas messages which may be changed later by the
|
1255
|
+
# server.
|
1254
1256
|
# Corresponds to the JSON property `reason`
|
1255
1257
|
# @return [String]
|
1256
1258
|
attr_accessor :reason
|
1257
1259
|
|
1258
|
-
# Optional. How to interpret
|
1259
|
-
# Info
|
1260
|
+
# Optional. How to interpret this condition. One of Error, Warning, or Info.
|
1261
|
+
# Conditions of severity Info do not contribute to resource readiness.
|
1260
1262
|
# Corresponds to the JSON property `severity`
|
1261
1263
|
# @return [String]
|
1262
1264
|
attr_accessor :severity
|
@@ -1268,8 +1270,8 @@ module Google
|
|
1268
1270
|
|
1269
1271
|
# type is used to communicate the status of the reconciliation process. See also:
|
1270
1272
|
# https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-
|
1271
|
-
# conditions-and-reporting Types common to all resources include: * "Ready"
|
1272
|
-
# True when the Resource is ready.
|
1273
|
+
# conditions-and-reporting Types common to all resources include: * "Ready" or "
|
1274
|
+
# Completed": True when the Resource is ready.
|
1273
1275
|
# Corresponds to the JSON property `type`
|
1274
1276
|
# @return [String]
|
1275
1277
|
attr_accessor :type
|
@@ -1332,23 +1334,22 @@ module Google
|
|
1332
1334
|
class HttpGetAction
|
1333
1335
|
include Google::Apis::Core::Hashable
|
1334
1336
|
|
1335
|
-
#
|
1336
|
-
# to set "Host" in httpHeaders instead.
|
1337
|
+
# Not supported by Cloud Run.
|
1337
1338
|
# Corresponds to the JSON property `host`
|
1338
1339
|
# @return [String]
|
1339
1340
|
attr_accessor :host
|
1340
1341
|
|
1341
|
-
#
|
1342
|
+
# Custom headers to set in the request. HTTP allows repeated headers.
|
1342
1343
|
# Corresponds to the JSON property `httpHeaders`
|
1343
1344
|
# @return [Array<Google::Apis::RunV1::HttpHeader>]
|
1344
1345
|
attr_accessor :http_headers
|
1345
1346
|
|
1346
|
-
#
|
1347
|
+
# Path to access on the HTTP server.
|
1347
1348
|
# Corresponds to the JSON property `path`
|
1348
1349
|
# @return [String]
|
1349
1350
|
attr_accessor :path
|
1350
1351
|
|
1351
|
-
#
|
1352
|
+
# Not supported by Cloud Run.
|
1352
1353
|
# Corresponds to the JSON property `scheme`
|
1353
1354
|
# @return [String]
|
1354
1355
|
attr_accessor :scheme
|
@@ -1391,15 +1392,15 @@ module Google
|
|
1391
1392
|
end
|
1392
1393
|
end
|
1393
1394
|
|
1394
|
-
# Job represents the configuration of a single job
|
1395
|
-
#
|
1395
|
+
# Job represents the configuration of a single job, which references a container
|
1396
|
+
# image which is run to completion.
|
1396
1397
|
class Job
|
1397
1398
|
include Google::Apis::Core::Hashable
|
1398
1399
|
|
1399
1400
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
1400
1401
|
# object. Servers should convert recognized schemas to the latest internal value,
|
1401
1402
|
# and may reject unrecognized values. More info: https://git.k8s.io/community/
|
1402
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
1403
|
+
# contributors/devel/sig-architecture/api-conventions.md#resources
|
1403
1404
|
# Corresponds to the JSON property `apiVersion`
|
1404
1405
|
# @return [String]
|
1405
1406
|
attr_accessor :api_version
|
@@ -1407,8 +1408,7 @@ module Google
|
|
1407
1408
|
# Optional. Kind is a string value representing the REST resource this object
|
1408
1409
|
# represents. Servers may infer this from the endpoint the client submits
|
1409
1410
|
# requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/
|
1410
|
-
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
1411
|
-
# optional
|
1411
|
+
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
1412
1412
|
# Corresponds to the JSON property `kind`
|
1413
1413
|
# @return [String]
|
1414
1414
|
attr_accessor :kind
|
@@ -1469,7 +1469,7 @@ module Google
|
|
1469
1469
|
include Google::Apis::Core::Hashable
|
1470
1470
|
|
1471
1471
|
# The latest available observations of a job's current state. More info: https://
|
1472
|
-
# kubernetes.io/docs/concepts/workloads/controllers/
|
1472
|
+
# kubernetes.io/docs/concepts/workloads/controllers/job/
|
1473
1473
|
# Corresponds to the JSON property `conditions`
|
1474
1474
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
1475
1475
|
attr_accessor :conditions
|
@@ -1589,9 +1589,8 @@ module Google
|
|
1589
1589
|
# @return [String]
|
1590
1590
|
attr_accessor :kind
|
1591
1591
|
|
1592
|
-
#
|
1593
|
-
#
|
1594
|
-
# ListMeta`.
|
1592
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1593
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1595
1594
|
# Corresponds to the JSON property `metadata`
|
1596
1595
|
# @return [Google::Apis::RunV1::ListMeta]
|
1597
1596
|
attr_accessor :metadata
|
@@ -1634,9 +1633,8 @@ module Google
|
|
1634
1633
|
# @return [String]
|
1635
1634
|
attr_accessor :kind
|
1636
1635
|
|
1637
|
-
#
|
1638
|
-
#
|
1639
|
-
# ListMeta`.
|
1636
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1637
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1640
1638
|
# Corresponds to the JSON property `metadata`
|
1641
1639
|
# @return [Google::Apis::RunV1::ListMeta]
|
1642
1640
|
attr_accessor :metadata
|
@@ -1679,9 +1677,8 @@ module Google
|
|
1679
1677
|
# @return [String]
|
1680
1678
|
attr_accessor :kind
|
1681
1679
|
|
1682
|
-
#
|
1683
|
-
#
|
1684
|
-
# ListMeta`.
|
1680
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1681
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1685
1682
|
# Corresponds to the JSON property `metadata`
|
1686
1683
|
# @return [Google::Apis::RunV1::ListMeta]
|
1687
1684
|
attr_accessor :metadata
|
@@ -1724,9 +1721,8 @@ module Google
|
|
1724
1721
|
# @return [String]
|
1725
1722
|
attr_accessor :kind
|
1726
1723
|
|
1727
|
-
#
|
1728
|
-
#
|
1729
|
-
# ListMeta`.
|
1724
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1725
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1730
1726
|
# Corresponds to the JSON property `metadata`
|
1731
1727
|
# @return [Google::Apis::RunV1::ListMeta]
|
1732
1728
|
attr_accessor :metadata
|
@@ -1775,35 +1771,28 @@ module Google
|
|
1775
1771
|
end
|
1776
1772
|
end
|
1777
1773
|
|
1778
|
-
#
|
1779
|
-
#
|
1780
|
-
# ListMeta`.
|
1774
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1775
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1781
1776
|
class ListMeta
|
1782
1777
|
include Google::Apis::Core::Hashable
|
1783
1778
|
|
1784
|
-
#
|
1785
|
-
#
|
1786
|
-
#
|
1787
|
-
# retrieve the next set of available objects. Continuing a list may not be
|
1788
|
-
# possible if the server configuration has changed or more than a few minutes
|
1789
|
-
# have passed. The resourceVersion field returned when using this continue value
|
1790
|
-
# will be identical to the value in the first response.
|
1779
|
+
# Continuation token is a value emitted when the count of items is larger than
|
1780
|
+
# the user/system limit. To retrieve the next page of items, pass the value of `
|
1781
|
+
# continue` as the next request's `page_token`.
|
1791
1782
|
# Corresponds to the JSON property `continue`
|
1792
1783
|
# @return [String]
|
1793
1784
|
attr_accessor :continue
|
1794
1785
|
|
1795
|
-
#
|
1796
|
-
# be used by clients to determine when objects have changed.
|
1797
|
-
#
|
1798
|
-
#
|
1799
|
-
#
|
1800
|
-
# optional
|
1786
|
+
# Opaque string that identifies the server's internal version of this object. It
|
1787
|
+
# can be used by clients to determine when objects have changed. If the message
|
1788
|
+
# is passed back to the server, it must be left unmodified. https://git.k8s.io/
|
1789
|
+
# community/contributors/devel/api-conventions.md#concurrency-control-and-
|
1790
|
+
# consistency
|
1801
1791
|
# Corresponds to the JSON property `resourceVersion`
|
1802
1792
|
# @return [String]
|
1803
1793
|
attr_accessor :resource_version
|
1804
1794
|
|
1805
|
-
#
|
1806
|
-
# +optional
|
1795
|
+
# URL representing this object.
|
1807
1796
|
# Corresponds to the JSON property `selfLink`
|
1808
1797
|
# @return [String]
|
1809
1798
|
attr_accessor :self_link
|
@@ -1839,9 +1828,8 @@ module Google
|
|
1839
1828
|
# @return [String]
|
1840
1829
|
attr_accessor :kind
|
1841
1830
|
|
1842
|
-
#
|
1843
|
-
#
|
1844
|
-
# ListMeta`.
|
1831
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1832
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1845
1833
|
# Corresponds to the JSON property `metadata`
|
1846
1834
|
# @return [Google::Apis::RunV1::ListMeta]
|
1847
1835
|
attr_accessor :metadata
|
@@ -1884,9 +1872,8 @@ module Google
|
|
1884
1872
|
# @return [String]
|
1885
1873
|
attr_accessor :kind
|
1886
1874
|
|
1887
|
-
#
|
1888
|
-
#
|
1889
|
-
# ListMeta`.
|
1875
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1876
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1890
1877
|
# Corresponds to the JSON property `metadata`
|
1891
1878
|
# @return [Google::Apis::RunV1::ListMeta]
|
1892
1879
|
attr_accessor :metadata
|
@@ -1914,7 +1901,7 @@ module Google
|
|
1914
1901
|
class ListServicesResponse
|
1915
1902
|
include Google::Apis::Core::Hashable
|
1916
1903
|
|
1917
|
-
# The API version for this call
|
1904
|
+
# The API version for this call; returns "serving.knative.dev/v1".
|
1918
1905
|
# Corresponds to the JSON property `apiVersion`
|
1919
1906
|
# @return [String]
|
1920
1907
|
attr_accessor :api_version
|
@@ -1924,19 +1911,19 @@ module Google
|
|
1924
1911
|
# @return [Array<Google::Apis::RunV1::Service>]
|
1925
1912
|
attr_accessor :items
|
1926
1913
|
|
1927
|
-
# The kind of this resource
|
1914
|
+
# The kind of this resource; returns "ServiceList".
|
1928
1915
|
# Corresponds to the JSON property `kind`
|
1929
1916
|
# @return [String]
|
1930
1917
|
attr_accessor :kind
|
1931
1918
|
|
1932
|
-
#
|
1933
|
-
#
|
1934
|
-
# ListMeta`.
|
1919
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1920
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1935
1921
|
# Corresponds to the JSON property `metadata`
|
1936
1922
|
# @return [Google::Apis::RunV1::ListMeta]
|
1937
1923
|
attr_accessor :metadata
|
1938
1924
|
|
1939
|
-
#
|
1925
|
+
# For calls against the global endpoint, returns the list of Cloud locations
|
1926
|
+
# that could not be reached. For regional calls, this field is not used.
|
1940
1927
|
# Corresponds to the JSON property `unreachable`
|
1941
1928
|
# @return [Array<String>]
|
1942
1929
|
attr_accessor :unreachable
|
@@ -1974,9 +1961,8 @@ module Google
|
|
1974
1961
|
# @return [String]
|
1975
1962
|
attr_accessor :kind
|
1976
1963
|
|
1977
|
-
#
|
1978
|
-
#
|
1979
|
-
# ListMeta`.
|
1964
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1965
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1980
1966
|
# Corresponds to the JSON property `metadata`
|
1981
1967
|
# @return [Google::Apis::RunV1::ListMeta]
|
1982
1968
|
attr_accessor :metadata
|
@@ -2000,13 +1986,13 @@ module Google
|
|
2000
1986
|
end
|
2001
1987
|
end
|
2002
1988
|
|
2003
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
2004
|
-
# let you locate the referenced object inside the same namespace.
|
1989
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
1990
|
+
# to let you locate the referenced object inside the same namespace.
|
2005
1991
|
class LocalObjectReference
|
2006
1992
|
include Google::Apis::Core::Hashable
|
2007
1993
|
|
2008
|
-
#
|
2009
|
-
#
|
1994
|
+
# Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/
|
1995
|
+
# working-with-objects/names/#names
|
2010
1996
|
# Corresponds to the JSON property `name`
|
2011
1997
|
# @return [String]
|
2012
1998
|
attr_accessor :name
|
@@ -2073,150 +2059,119 @@ module Google
|
|
2073
2059
|
class ObjectMeta
|
2074
2060
|
include Google::Apis::Core::Hashable
|
2075
2061
|
|
2076
|
-
#
|
2077
|
-
#
|
2078
|
-
#
|
2079
|
-
#
|
2062
|
+
# Unstructured key value map stored with a resource that may be set by external
|
2063
|
+
# tools to store and retrieve arbitrary metadata. They are not queryable and
|
2064
|
+
# should be preserved when modifying objects. In Cloud Run, annotations with '
|
2065
|
+
# run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the
|
2066
|
+
# accepted annotations will be different depending on the resource type. * `
|
2067
|
+
# autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/
|
2068
|
+
# minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`:
|
2069
|
+
# Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job,
|
2070
|
+
# Execution. * `run.googleapis.com/client-name`: All resources. * `run.
|
2071
|
+
# googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/
|
2072
|
+
# cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. *
|
2073
|
+
# `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-
|
2074
|
+
# key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision,
|
2075
|
+
# Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. *
|
2076
|
+
# `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`:
|
2077
|
+
# Service. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `
|
2078
|
+
# run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.
|
2079
|
+
# googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-
|
2080
|
+
# session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `
|
2081
|
+
# run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-
|
2082
|
+
# access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-
|
2083
|
+
# egress`: Revision, Execution. Execution. More info: https://kubernetes.io/docs/
|
2084
|
+
# user-guide/annotations
|
2080
2085
|
# Corresponds to the JSON property `annotations`
|
2081
2086
|
# @return [Hash<String,String>]
|
2082
2087
|
attr_accessor :annotations
|
2083
2088
|
|
2084
|
-
#
|
2085
|
-
# belongs to. This is used to distinguish resources with same name and namespace
|
2086
|
-
# in different clusters. This field is not set anywhere right now and apiserver
|
2087
|
-
# is going to ignore it if set in create or update request.
|
2089
|
+
# Not supported by Cloud Run
|
2088
2090
|
# Corresponds to the JSON property `clusterName`
|
2089
2091
|
# @return [String]
|
2090
2092
|
attr_accessor :cluster_name
|
2091
2093
|
|
2092
|
-
#
|
2093
|
-
#
|
2094
|
-
#
|
2095
|
-
# represented in RFC3339 form and is in UTC. Populated by the system. Read-only.
|
2096
|
-
# Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-
|
2097
|
-
# conventions.md#metadata
|
2094
|
+
# UTC timestamp representing the server time when this object was created. More
|
2095
|
+
# info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
2096
|
+
# metadata
|
2098
2097
|
# Corresponds to the JSON property `creationTimestamp`
|
2099
2098
|
# @return [String]
|
2100
2099
|
attr_accessor :creation_timestamp
|
2101
2100
|
|
2102
|
-
#
|
2103
|
-
# object to gracefully terminate before it will be removed from the system. Only
|
2104
|
-
# set when deletionTimestamp is also set. May only be shortened. Read-only.
|
2101
|
+
# Not supported by Cloud Run
|
2105
2102
|
# Corresponds to the JSON property `deletionGracePeriodSeconds`
|
2106
2103
|
# @return [Fixnum]
|
2107
2104
|
attr_accessor :deletion_grace_period_seconds
|
2108
2105
|
|
2109
|
-
#
|
2110
|
-
#
|
2111
|
-
#
|
2112
|
-
# settable by a client. The resource is expected to be deleted (no longer
|
2113
|
-
# visible from resource lists, and not reachable by name) after the time in this
|
2114
|
-
# field, once the finalizers list is empty. As long as the finalizers list
|
2115
|
-
# contains items, deletion is blocked. Once the deletionTimestamp is set, this
|
2116
|
-
# value may not be unset or be set further into the future, although it may be
|
2117
|
-
# shortened or the resource may be deleted prior to this time. For example, a
|
2118
|
-
# user may request that a pod is deleted in 30 seconds. The Kubelet will react
|
2119
|
-
# by sending a graceful termination signal to the containers in the pod. After
|
2120
|
-
# that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to
|
2121
|
-
# the container and after cleanup, remove the pod from the API. In the presence
|
2122
|
-
# of network partitions, this object may still exist after this timestamp, until
|
2123
|
-
# an administrator or automated process can determine the resource is fully
|
2124
|
-
# terminated. If not set, graceful deletion of the object has not been requested.
|
2125
|
-
# Populated by the system when a graceful deletion is requested. Read-only.
|
2126
|
-
# More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
2127
|
-
# metadata
|
2106
|
+
# The read-only soft deletion timestamp for this resource. In Cloud Run, users
|
2107
|
+
# are not able to set this field. Instead, they must call the corresponding
|
2108
|
+
# Delete API.
|
2128
2109
|
# Corresponds to the JSON property `deletionTimestamp`
|
2129
2110
|
# @return [String]
|
2130
2111
|
attr_accessor :deletion_timestamp
|
2131
2112
|
|
2132
|
-
#
|
2133
|
-
# deleted from the registry. Each entry is an identifier for the responsible
|
2134
|
-
# component that will remove the entry from the list. If the deletionTimestamp
|
2135
|
-
# of the object is non-nil, entries in this list can only be removed. +
|
2136
|
-
# patchStrategy=merge
|
2113
|
+
# Not supported by Cloud Run
|
2137
2114
|
# Corresponds to the JSON property `finalizers`
|
2138
2115
|
# @return [Array<String>]
|
2139
2116
|
attr_accessor :finalizers
|
2140
2117
|
|
2141
|
-
#
|
2142
|
-
# by the server, to generate a unique name ONLY IF the Name field has not been
|
2143
|
-
# provided. If this field is used, the name returned to the client will be
|
2144
|
-
# different than the name passed. This value will also be combined with a unique
|
2145
|
-
# suffix. The provided value has the same validation rules as the Name field,
|
2146
|
-
# and may be truncated by the length of the suffix required to make the value
|
2147
|
-
# unique on the server. If this field is specified and the generated name exists,
|
2148
|
-
# the server will NOT return a 409 - instead, it will either return 201 Created
|
2149
|
-
# or 500 with Reason ServerTimeout indicating a unique name could not be found
|
2150
|
-
# in the time allotted, and the client should retry (optionally after the time
|
2151
|
-
# indicated in the Retry-After header). Applied only if Name is not specified.
|
2152
|
-
# More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
2153
|
-
# idempotency string generateName = 2;
|
2118
|
+
# Not supported by Cloud Run
|
2154
2119
|
# Corresponds to the JSON property `generateName`
|
2155
2120
|
# @return [String]
|
2156
2121
|
attr_accessor :generate_name
|
2157
2122
|
|
2158
|
-
#
|
2159
|
-
# state.
|
2123
|
+
# A system-provided sequence number representing a specific generation of the
|
2124
|
+
# desired state.
|
2160
2125
|
# Corresponds to the JSON property `generation`
|
2161
2126
|
# @return [Fixnum]
|
2162
2127
|
attr_accessor :generation
|
2163
2128
|
|
2164
|
-
#
|
2165
|
-
#
|
2166
|
-
#
|
2167
|
-
# labels
|
2129
|
+
# Map of string keys and values that can be used to organize and categorize (
|
2130
|
+
# scope and select) objects. May match selectors of replication controllers and
|
2131
|
+
# routes. More info: https://kubernetes.io/docs/user-guide/labels
|
2168
2132
|
# Corresponds to the JSON property `labels`
|
2169
2133
|
# @return [Hash<String,String>]
|
2170
2134
|
attr_accessor :labels
|
2171
2135
|
|
2172
|
-
#
|
2173
|
-
#
|
2174
|
-
#
|
2175
|
-
#
|
2176
|
-
#
|
2177
|
-
# ObjectMeta is part of a namespaces.services.create request, name must contain
|
2178
|
-
# fewer than 50 characters. +optional
|
2136
|
+
# The immutable name of the resource. In Cloud Run, name is required when
|
2137
|
+
# creating top-level resources (Service, Job), and must be unique within a Cloud
|
2138
|
+
# Run project/region. More info: https://kubernetes.io/docs/user-guide/
|
2139
|
+
# identifiers#names If ObjectMeta is part of a CreateServiceRequest, name must
|
2140
|
+
# contain fewer than 50 characters. Otherwise,
|
2179
2141
|
# Corresponds to the JSON property `name`
|
2180
2142
|
# @return [String]
|
2181
2143
|
attr_accessor :name
|
2182
2144
|
|
2183
|
-
#
|
2184
|
-
#
|
2185
|
-
# or project number.
|
2145
|
+
# Defines the space within each name must be unique within a Cloud Run region.
|
2146
|
+
# In Cloud Run, it must be project ID or number.
|
2186
2147
|
# Corresponds to the JSON property `namespace`
|
2187
2148
|
# @return [String]
|
2188
2149
|
attr_accessor :namespace
|
2189
2150
|
|
2190
|
-
#
|
2191
|
-
# ALL objects in the list have been deleted, this object will be garbage
|
2192
|
-
# collected.
|
2151
|
+
# Not supported by Cloud Run
|
2193
2152
|
# Corresponds to the JSON property `ownerReferences`
|
2194
2153
|
# @return [Array<Google::Apis::RunV1::OwnerReference>]
|
2195
2154
|
attr_accessor :owner_references
|
2196
2155
|
|
2197
|
-
# Optional.
|
2198
|
-
# that can be used by clients to determine when objects have
|
2199
|
-
# used for optimistic concurrency, change detection, and the
|
2200
|
-
# a resource or set of resources. Clients must treat these
|
2201
|
-
# passed unmodified back to the server or omit the value to
|
2202
|
-
# detection.
|
2203
|
-
#
|
2204
|
-
#
|
2205
|
-
# devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
2156
|
+
# Optional. Opaque, system-generated value that represents the internal version
|
2157
|
+
# of this object that can be used by clients to determine when objects have
|
2158
|
+
# changed. May be used for optimistic concurrency, change detection, and the
|
2159
|
+
# watch operation on a resource or set of resources. Clients must treat these
|
2160
|
+
# values as opaque and passed unmodified back to the server or omit the value to
|
2161
|
+
# disable conflict-detection. More info: https://git.k8s.io/community/
|
2162
|
+
# contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-
|
2163
|
+
# consistency
|
2206
2164
|
# Corresponds to the JSON property `resourceVersion`
|
2207
2165
|
# @return [String]
|
2208
2166
|
attr_accessor :resource_version
|
2209
2167
|
|
2210
|
-
#
|
2211
|
-
# Read-only. string selfLink = 4;
|
2168
|
+
# URL representing this object.
|
2212
2169
|
# Corresponds to the JSON property `selfLink`
|
2213
2170
|
# @return [String]
|
2214
2171
|
attr_accessor :self_link
|
2215
2172
|
|
2216
|
-
#
|
2217
|
-
#
|
2218
|
-
# not allowed to change on PUT operations. Populated by the system. Read-only.
|
2219
|
-
# More info: https://kubernetes.io/docs/user-guide/identifiers#uids
|
2173
|
+
# Unique, system-generated identifier for this resource. More info: https://
|
2174
|
+
# kubernetes.io/docs/user-guide/identifiers#uids
|
2220
2175
|
# Corresponds to the JSON property `uid`
|
2221
2176
|
# @return [String]
|
2222
2177
|
attr_accessor :uid
|
@@ -2245,47 +2200,38 @@ module Google
|
|
2245
2200
|
end
|
2246
2201
|
end
|
2247
2202
|
|
2248
|
-
#
|
2249
|
-
# object. Currently, an owning object must be in the same namespace, so there is
|
2250
|
-
# no namespace field.
|
2203
|
+
# This is not supported or used by Cloud Run.
|
2251
2204
|
class OwnerReference
|
2252
2205
|
include Google::Apis::Core::Hashable
|
2253
2206
|
|
2254
|
-
#
|
2207
|
+
# This is not supported or used by Cloud Run.
|
2255
2208
|
# Corresponds to the JSON property `apiVersion`
|
2256
2209
|
# @return [String]
|
2257
2210
|
attr_accessor :api_version
|
2258
2211
|
|
2259
|
-
#
|
2260
|
-
# owner cannot be deleted from the key-value store until this reference is
|
2261
|
-
# removed. Defaults to false. To set this field, a user needs "delete"
|
2262
|
-
# permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
|
2263
|
-
# +optional
|
2212
|
+
# This is not supported or used by Cloud Run.
|
2264
2213
|
# Corresponds to the JSON property `blockOwnerDeletion`
|
2265
2214
|
# @return [Boolean]
|
2266
2215
|
attr_accessor :block_owner_deletion
|
2267
2216
|
alias_method :block_owner_deletion?, :block_owner_deletion
|
2268
2217
|
|
2269
|
-
#
|
2218
|
+
# This is not supported or used by Cloud Run.
|
2270
2219
|
# Corresponds to the JSON property `controller`
|
2271
2220
|
# @return [Boolean]
|
2272
2221
|
attr_accessor :controller
|
2273
2222
|
alias_method :controller?, :controller
|
2274
2223
|
|
2275
|
-
#
|
2276
|
-
# devel/sig-architecture/api-conventions.md#types-kinds
|
2224
|
+
# This is not supported or used by Cloud Run.
|
2277
2225
|
# Corresponds to the JSON property `kind`
|
2278
2226
|
# @return [String]
|
2279
2227
|
attr_accessor :kind
|
2280
2228
|
|
2281
|
-
#
|
2282
|
-
# identifiers#names
|
2229
|
+
# This is not supported or used by Cloud Run.
|
2283
2230
|
# Corresponds to the JSON property `name`
|
2284
2231
|
# @return [String]
|
2285
2232
|
attr_accessor :name
|
2286
2233
|
|
2287
|
-
#
|
2288
|
-
# identifiers#uids
|
2234
|
+
# This is not supported or used by Cloud Run.
|
2289
2235
|
# Corresponds to the JSON property `uid`
|
2290
2236
|
# @return [String]
|
2291
2237
|
attr_accessor :uid
|
@@ -2400,19 +2346,18 @@ module Google
|
|
2400
2346
|
end
|
2401
2347
|
end
|
2402
2348
|
|
2403
|
-
#
|
2404
|
-
#
|
2405
|
-
# traffic.
|
2349
|
+
# Probe describes a health check to be performed against a container to
|
2350
|
+
# determine whether it is alive or ready to receive traffic.
|
2406
2351
|
class Probe
|
2407
2352
|
include Google::Apis::Core::Hashable
|
2408
2353
|
|
2409
|
-
# Not supported by Cloud Run ExecAction describes a "run in container" action.
|
2354
|
+
# Not supported by Cloud Run. ExecAction describes a "run in container" action.
|
2410
2355
|
# Corresponds to the JSON property `exec`
|
2411
2356
|
# @return [Google::Apis::RunV1::ExecAction]
|
2412
2357
|
attr_accessor :exec
|
2413
2358
|
|
2414
|
-
#
|
2415
|
-
#
|
2359
|
+
# Minimum consecutive failures for the probe to be considered failed after
|
2360
|
+
# having succeeded. Defaults to 3. Minimum value is 1.
|
2416
2361
|
# Corresponds to the JSON property `failureThreshold`
|
2417
2362
|
# @return [Fixnum]
|
2418
2363
|
attr_accessor :failure_threshold
|
@@ -2427,8 +2372,8 @@ module Google
|
|
2427
2372
|
# @return [Google::Apis::RunV1::HttpGetAction]
|
2428
2373
|
attr_accessor :http_get
|
2429
2374
|
|
2430
|
-
#
|
2431
|
-
#
|
2375
|
+
# Number of seconds after the container has started before the probe is
|
2376
|
+
# initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for
|
2432
2377
|
# liveness probe is 3600. Maximum value for startup probe is 240. More info:
|
2433
2378
|
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
|
2434
2379
|
# probes
|
@@ -2436,15 +2381,15 @@ module Google
|
|
2436
2381
|
# @return [Fixnum]
|
2437
2382
|
attr_accessor :initial_delay_seconds
|
2438
2383
|
|
2439
|
-
#
|
2440
|
-
#
|
2441
|
-
#
|
2384
|
+
# How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
|
2385
|
+
# value is 1. Maximum value for liveness probe is 3600. Maximum value for
|
2386
|
+
# startup probe is 240. Must be greater or equal than timeout_seconds.
|
2442
2387
|
# Corresponds to the JSON property `periodSeconds`
|
2443
2388
|
# @return [Fixnum]
|
2444
2389
|
attr_accessor :period_seconds
|
2445
2390
|
|
2446
|
-
#
|
2447
|
-
#
|
2391
|
+
# Minimum consecutive successes for the probe to be considered successful after
|
2392
|
+
# having failed. Must be 1 if set.
|
2448
2393
|
# Corresponds to the JSON property `successThreshold`
|
2449
2394
|
# @return [Fixnum]
|
2450
2395
|
attr_accessor :success_threshold
|
@@ -2454,10 +2399,10 @@ module Google
|
|
2454
2399
|
# @return [Google::Apis::RunV1::TcpSocketAction]
|
2455
2400
|
attr_accessor :tcp_socket
|
2456
2401
|
|
2457
|
-
#
|
2458
|
-
#
|
2459
|
-
#
|
2460
|
-
#
|
2402
|
+
# Number of seconds after which the probe times out. Defaults to 1 second.
|
2403
|
+
# Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
|
2404
|
+
# More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#
|
2405
|
+
# container-probes
|
2461
2406
|
# Corresponds to the JSON property `timeoutSeconds`
|
2462
2407
|
# @return [Fixnum]
|
2463
2408
|
attr_accessor :timeout_seconds
|
@@ -2517,17 +2462,17 @@ module Google
|
|
2517
2462
|
class ResourceRequirements
|
2518
2463
|
include Google::Apis::Core::Hashable
|
2519
2464
|
|
2520
|
-
#
|
2521
|
-
#
|
2522
|
-
#
|
2465
|
+
# Only memory and CPU are supported. Limits describes the maximum amount of
|
2466
|
+
# compute resources allowed. The values of the map is string form of the '
|
2467
|
+
# quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/
|
2523
2468
|
# staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
2524
2469
|
# Corresponds to the JSON property `limits`
|
2525
2470
|
# @return [Hash<String,String>]
|
2526
2471
|
attr_accessor :limits
|
2527
2472
|
|
2528
|
-
#
|
2529
|
-
#
|
2530
|
-
#
|
2473
|
+
# Only memory and CPU are supported. Requests describes the minimum amount of
|
2474
|
+
# compute resources required. If Requests is omitted for a container, it
|
2475
|
+
# defaults to Limits if that is explicitly specified, otherwise to an
|
2531
2476
|
# implementation-defined value. The values of the map is string form of the '
|
2532
2477
|
# quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/
|
2533
2478
|
# staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
@@ -2548,8 +2493,8 @@ module Google
|
|
2548
2493
|
|
2549
2494
|
# Revision is an immutable snapshot of code and configuration. A revision
|
2550
2495
|
# references a container image. Revisions are created by updates to a
|
2551
|
-
# Configuration. See also: https://github.com/knative/
|
2552
|
-
#
|
2496
|
+
# Configuration. See also: https://github.com/knative/specs/blob/main/specs/
|
2497
|
+
# serving/overview.md#revision
|
2553
2498
|
class Revision
|
2554
2499
|
include Google::Apis::Core::Hashable
|
2555
2500
|
|
@@ -2599,10 +2544,8 @@ module Google
|
|
2599
2544
|
include Google::Apis::Core::Hashable
|
2600
2545
|
|
2601
2546
|
# ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
|
2602
|
-
# requests per container instance of the Revision. Cloud Run
|
2603
|
-
#
|
2604
|
-
# which means concurrency to the application is not limited, and the system
|
2605
|
-
# decides the target concurrency for the autoscaler.
|
2547
|
+
# requests per container instance of the Revision. Cloud Run: supported,
|
2548
|
+
# defaults to 80
|
2606
2549
|
# Corresponds to the JSON property `containerConcurrency`
|
2607
2550
|
# @return [Fixnum]
|
2608
2551
|
attr_accessor :container_concurrency
|
@@ -2611,26 +2554,18 @@ module Google
|
|
2611
2554
|
# this Revision. In the context of a Revision, we disallow a number of fields on
|
2612
2555
|
# this Container, including: name and lifecycle. In Cloud Run, only a single
|
2613
2556
|
# container may be provided. The runtime contract is documented here: https://
|
2614
|
-
# github.com/knative/
|
2557
|
+
# github.com/knative/specs/blob/main/specs/serving/runtime-contract.md
|
2615
2558
|
# Corresponds to the JSON property `containers`
|
2616
2559
|
# @return [Array<Google::Apis::RunV1::Container>]
|
2617
2560
|
attr_accessor :containers
|
2618
2561
|
|
2619
|
-
#
|
2620
|
-
# environment variables, matching the syntax of Docker links. Cloud Run fully
|
2621
|
-
# managed: Not supported. Cloud Run for Anthos: supported, defaults to true.
|
2562
|
+
# Not supported by Cloud Run.
|
2622
2563
|
# Corresponds to the JSON property `enableServiceLinks`
|
2623
2564
|
# @return [Boolean]
|
2624
2565
|
attr_accessor :enable_service_links
|
2625
2566
|
alias_method :enable_service_links?, :enable_service_links
|
2626
2567
|
|
2627
|
-
#
|
2628
|
-
# use for pulling any images in pods that reference this ServiceAccount.
|
2629
|
-
# ImagePullSecrets are distinct from Secrets because Secrets can be mounted in
|
2630
|
-
# the pod, but ImagePullSecrets are only accessed by the kubelet. More info:
|
2631
|
-
# https://kubernetes.io/docs/concepts/containers/images/#specifying-
|
2632
|
-
# imagepullsecrets-on-a-pod Cloud Run fully managed: Not supported. Cloud Run
|
2633
|
-
# for Anthos: supported.
|
2568
|
+
# Not supported by Cloud Run.
|
2634
2569
|
# Corresponds to the JSON property `imagePullSecrets`
|
2635
2570
|
# @return [Array<Google::Apis::RunV1::LocalObjectReference>]
|
2636
2571
|
attr_accessor :image_pull_secrets
|
@@ -2644,10 +2579,8 @@ module Google
|
|
2644
2579
|
attr_accessor :service_account_name
|
2645
2580
|
|
2646
2581
|
# TimeoutSeconds holds the max duration the instance is allowed for responding
|
2647
|
-
# to a request. Cloud Run
|
2648
|
-
#
|
2649
|
-
# to 300 seconds (5 minutes). Maximum allowed value is configurable by the
|
2650
|
-
# cluster operator.
|
2582
|
+
# to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed
|
2583
|
+
# value is 3600 seconds (1 hour).
|
2651
2584
|
# Corresponds to the JSON property `timeoutSeconds`
|
2652
2585
|
# @return [Fixnum]
|
2653
2586
|
attr_accessor :timeout_seconds
|
@@ -2763,8 +2696,8 @@ module Google
|
|
2763
2696
|
# referencing the Configuration responsible for creating them; in these cases
|
2764
2697
|
# the Route is additionally responsible for monitoring the Configuration for "
|
2765
2698
|
# latest ready" revision changes, and smoothly rolling out latest revisions. See
|
2766
|
-
# also: https://github.com/knative/
|
2767
|
-
# Cloud Run currently supports referencing a single Configuration to
|
2699
|
+
# also: https://github.com/knative/specs/blob/main/specs/serving/overview.md#
|
2700
|
+
# route Cloud Run currently supports referencing a single Configuration to
|
2768
2701
|
# automatically deploy the "latest ready" Revision from that Configuration.
|
2769
2702
|
class Route
|
2770
2703
|
include Google::Apis::Core::Hashable
|
@@ -2858,7 +2791,7 @@ module Google
|
|
2858
2791
|
|
2859
2792
|
# Traffic holds the configured traffic distribution. These entries will always
|
2860
2793
|
# contain RevisionName references. When ConfigurationName appears in the spec,
|
2861
|
-
# this will hold the LatestReadyRevisionName that
|
2794
|
+
# this will hold the LatestReadyRevisionName that was last observed.
|
2862
2795
|
# Corresponds to the JSON property `traffic`
|
2863
2796
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
2864
2797
|
attr_accessor :traffic
|
@@ -2897,14 +2830,14 @@ module Google
|
|
2897
2830
|
end
|
2898
2831
|
end
|
2899
2832
|
|
2900
|
-
# Not supported by Cloud Run SecretEnvSource selects a Secret to populate the
|
2833
|
+
# Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the
|
2901
2834
|
# environment variables with. The contents of the target Secret's Data field
|
2902
2835
|
# will represent the key-value pairs as environment variables.
|
2903
2836
|
class SecretEnvSource
|
2904
2837
|
include Google::Apis::Core::Hashable
|
2905
2838
|
|
2906
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
2907
|
-
# let you locate the referenced object inside the same namespace.
|
2839
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
2840
|
+
# to let you locate the referenced object inside the same namespace.
|
2908
2841
|
# Corresponds to the JSON property `localObjectReference`
|
2909
2842
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
2910
2843
|
attr_accessor :local_object_reference
|
@@ -2914,7 +2847,7 @@ module Google
|
|
2914
2847
|
# @return [String]
|
2915
2848
|
attr_accessor :name
|
2916
2849
|
|
2917
|
-
#
|
2850
|
+
# Specify whether the Secret must be defined
|
2918
2851
|
# Corresponds to the JSON property `optional`
|
2919
2852
|
# @return [Boolean]
|
2920
2853
|
attr_accessor :optional
|
@@ -2936,15 +2869,15 @@ module Google
|
|
2936
2869
|
class SecretKeySelector
|
2937
2870
|
include Google::Apis::Core::Hashable
|
2938
2871
|
|
2939
|
-
# A Cloud Secret Manager secret version. Must be 'latest' for the
|
2940
|
-
# or an integer for a specific version. The key of the secret to
|
2941
|
-
# Must be a valid secret key.
|
2872
|
+
# Required. A Cloud Secret Manager secret version. Must be 'latest' for the
|
2873
|
+
# latest version or an integer for a specific version. The key of the secret to
|
2874
|
+
# select from. Must be a valid secret key.
|
2942
2875
|
# Corresponds to the JSON property `key`
|
2943
2876
|
# @return [String]
|
2944
2877
|
attr_accessor :key
|
2945
2878
|
|
2946
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
2947
|
-
# let you locate the referenced object inside the same namespace.
|
2879
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
2880
|
+
# to let you locate the referenced object inside the same namespace.
|
2948
2881
|
# Corresponds to the JSON property `localObjectReference`
|
2949
2882
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
2950
2883
|
attr_accessor :local_object_reference
|
@@ -2959,7 +2892,7 @@ module Google
|
|
2959
2892
|
# @return [String]
|
2960
2893
|
attr_accessor :name
|
2961
2894
|
|
2962
|
-
#
|
2895
|
+
# Specify whether the Secret or its key must be defined.
|
2963
2896
|
# Corresponds to the JSON property `optional`
|
2964
2897
|
# @return [Boolean]
|
2965
2898
|
attr_accessor :optional
|
@@ -2978,10 +2911,11 @@ module Google
|
|
2978
2911
|
end
|
2979
2912
|
end
|
2980
2913
|
|
2981
|
-
#
|
2982
|
-
#
|
2983
|
-
#
|
2984
|
-
#
|
2914
|
+
# A volume representing a secret stored in Google Secret Manager. The secret's
|
2915
|
+
# value will be presented as the content of a file whose name is defined in the
|
2916
|
+
# item path. If no items are defined, the name of the file is the secret_name.
|
2917
|
+
# The contents of the target Secret's Data field will be presented in a volume
|
2918
|
+
# as files using the keys in the Data field as the file names.
|
2985
2919
|
class SecretVolumeSource
|
2986
2920
|
include Google::Apis::Core::Hashable
|
2987
2921
|
|
@@ -3000,21 +2934,17 @@ module Google
|
|
3000
2934
|
# @return [Fixnum]
|
3001
2935
|
attr_accessor :default_mode
|
3002
2936
|
|
3003
|
-
#
|
3004
|
-
#
|
3005
|
-
#
|
3006
|
-
#
|
3007
|
-
#
|
3008
|
-
#
|
3009
|
-
# is the value. If specified, the listed keys will be projected into the
|
3010
|
-
# specified paths, and unlisted keys will not be present. If a key is specified
|
3011
|
-
# that is not present in the Secret, the volume setup will error unless it is
|
3012
|
-
# marked optional.
|
2937
|
+
# A list of secret versions to mount in the volume. If no items are specified,
|
2938
|
+
# the volume will expose a file with the same name as the secret name. The
|
2939
|
+
# contents of the file will be the data in the latest version of the secret. If
|
2940
|
+
# items are specified, the key will be used as the version to fetch from Cloud
|
2941
|
+
# Secret Manager and the path will be the name of the file exposed in the volume.
|
2942
|
+
# When items are defined, they must specify both a key and a path.
|
3013
2943
|
# Corresponds to the JSON property `items`
|
3014
2944
|
# @return [Array<Google::Apis::RunV1::KeyToPath>]
|
3015
2945
|
attr_accessor :items
|
3016
2946
|
|
3017
|
-
#
|
2947
|
+
# Not supported by Cloud Run.
|
3018
2948
|
# Corresponds to the JSON property `optional`
|
3019
2949
|
# @return [Boolean]
|
3020
2950
|
attr_accessor :optional
|
@@ -3043,15 +2973,15 @@ module Google
|
|
3043
2973
|
end
|
3044
2974
|
end
|
3045
2975
|
|
3046
|
-
# Not supported by Cloud Run SecurityContext holds security configuration that
|
2976
|
+
# Not supported by Cloud Run. SecurityContext holds security configuration that
|
3047
2977
|
# will be applied to a container. Some fields are present in both
|
3048
2978
|
# SecurityContext and PodSecurityContext. When both are set, the values in
|
3049
2979
|
# SecurityContext take precedence.
|
3050
2980
|
class SecurityContext
|
3051
2981
|
include Google::Apis::Core::Hashable
|
3052
2982
|
|
3053
|
-
#
|
3054
|
-
#
|
2983
|
+
# The UID to run the entrypoint of the container process. Defaults to user
|
2984
|
+
# specified in image metadata if unspecified. May also be set in
|
3055
2985
|
# PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the
|
3056
2986
|
# value specified in SecurityContext takes precedence.
|
3057
2987
|
# Corresponds to the JSON property `runAsUser`
|
@@ -3081,12 +3011,12 @@ module Google
|
|
3081
3011
|
class Service
|
3082
3012
|
include Google::Apis::Core::Hashable
|
3083
3013
|
|
3084
|
-
# The API version for this call
|
3014
|
+
# The API version for this call. It must be "serving.knative.dev/v1".
|
3085
3015
|
# Corresponds to the JSON property `apiVersion`
|
3086
3016
|
# @return [String]
|
3087
3017
|
attr_accessor :api_version
|
3088
3018
|
|
3089
|
-
# The kind of resource
|
3019
|
+
# The kind of resource. It must be "Service".
|
3090
3020
|
# Corresponds to the JSON property `kind`
|
3091
3021
|
# @return [String]
|
3092
3022
|
attr_accessor :kind
|
@@ -3134,8 +3064,8 @@ module Google
|
|
3134
3064
|
# @return [Google::Apis::RunV1::RevisionTemplate]
|
3135
3065
|
attr_accessor :template
|
3136
3066
|
|
3137
|
-
#
|
3138
|
-
#
|
3067
|
+
# Specifies how to distribute traffic over a collection of Knative Revisions and
|
3068
|
+
# Configurations to the Service's main URL.
|
3139
3069
|
# Corresponds to the JSON property `traffic`
|
3140
3070
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
3141
3071
|
attr_accessor :traffic
|
@@ -3160,49 +3090,45 @@ module Google
|
|
3160
3090
|
# @return [Google::Apis::RunV1::Addressable]
|
3161
3091
|
attr_accessor :address
|
3162
3092
|
|
3163
|
-
#
|
3164
|
-
#
|
3165
|
-
#
|
3166
|
-
#
|
3167
|
-
#
|
3168
|
-
# Configuration are ready.
|
3093
|
+
# Communicates information about ongoing/complete reconciliation processes that
|
3094
|
+
# bring the `spec` inline with the observed state of the world. Service-specific
|
3095
|
+
# conditions include: * `ConfigurationsReady`: `True` when the underlying
|
3096
|
+
# Configuration is ready. * `RoutesReady`: `True` when the underlying Route is
|
3097
|
+
# ready. * `Ready`: `True` when all underlying resources are ready.
|
3169
3098
|
# Corresponds to the JSON property `conditions`
|
3170
3099
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
3171
3100
|
attr_accessor :conditions
|
3172
3101
|
|
3173
|
-
#
|
3174
|
-
#
|
3175
|
-
# that use LatestReadyRevisionName.
|
3102
|
+
# Name of the last revision that was created from this Service's Configuration.
|
3103
|
+
# It might not be ready yet, for that use LatestReadyRevisionName.
|
3176
3104
|
# Corresponds to the JSON property `latestCreatedRevisionName`
|
3177
3105
|
# @return [String]
|
3178
3106
|
attr_accessor :latest_created_revision_name
|
3179
3107
|
|
3180
|
-
#
|
3181
|
-
#
|
3182
|
-
# condition become "True".
|
3108
|
+
# Name of the latest Revision from this Service's Configuration that has had its
|
3109
|
+
# `Ready` condition become `True`.
|
3183
3110
|
# Corresponds to the JSON property `latestReadyRevisionName`
|
3184
3111
|
# @return [String]
|
3185
3112
|
attr_accessor :latest_ready_revision_name
|
3186
3113
|
|
3187
|
-
#
|
3188
|
-
#
|
3189
|
-
#
|
3190
|
-
# True or False.
|
3114
|
+
# Returns the generation last fully processed by the system. This will only
|
3115
|
+
# match metadata.generation when reconciliation is complete. Clients polling for
|
3116
|
+
# completed reconciliation should poll until observedGeneration = metadata.
|
3117
|
+
# generation and the Ready condition's status is True or False.
|
3191
3118
|
# Corresponds to the JSON property `observedGeneration`
|
3192
3119
|
# @return [Fixnum]
|
3193
3120
|
attr_accessor :observed_generation
|
3194
3121
|
|
3195
|
-
#
|
3196
|
-
#
|
3197
|
-
#
|
3198
|
-
# observed.
|
3122
|
+
# Holds the configured traffic distribution. These entries will always contain
|
3123
|
+
# RevisionName references. When ConfigurationName appears in the spec, this will
|
3124
|
+
# hold the LatestReadyRevisionName that we last observed.
|
3199
3125
|
# Corresponds to the JSON property `traffic`
|
3200
3126
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
3201
3127
|
attr_accessor :traffic
|
3202
3128
|
|
3203
|
-
#
|
3204
|
-
#
|
3205
|
-
#
|
3129
|
+
# URL that will distribute traffic over the provided traffic targets. It
|
3130
|
+
# generally has the form https://`route-hash`-`project-hash`-`cluster-level-
|
3131
|
+
# suffix`.a.run.app
|
3206
3132
|
# Corresponds to the JSON property `url`
|
3207
3133
|
# @return [String]
|
3208
3134
|
attr_accessor :url
|
@@ -3276,11 +3202,11 @@ module Google
|
|
3276
3202
|
end
|
3277
3203
|
end
|
3278
3204
|
|
3279
|
-
# Status is a return value for calls that don't return other objects
|
3205
|
+
# Status is a return value for calls that don't return other objects.
|
3280
3206
|
class Status
|
3281
3207
|
include Google::Apis::Core::Hashable
|
3282
3208
|
|
3283
|
-
# Suggested HTTP return code for this status, 0 if not set.
|
3209
|
+
# Suggested HTTP return code for this status, 0 if not set.
|
3284
3210
|
# Corresponds to the JSON property `code`
|
3285
3211
|
# @return [Fixnum]
|
3286
3212
|
attr_accessor :code
|
@@ -3294,28 +3220,27 @@ module Google
|
|
3294
3220
|
# @return [Google::Apis::RunV1::StatusDetails]
|
3295
3221
|
attr_accessor :details
|
3296
3222
|
|
3297
|
-
# A human-readable description of the status of this operation.
|
3223
|
+
# A human-readable description of the status of this operation.
|
3298
3224
|
# Corresponds to the JSON property `message`
|
3299
3225
|
# @return [String]
|
3300
3226
|
attr_accessor :message
|
3301
3227
|
|
3302
|
-
#
|
3303
|
-
#
|
3304
|
-
# ListMeta`.
|
3228
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
3229
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
3305
3230
|
# Corresponds to the JSON property `metadata`
|
3306
3231
|
# @return [Google::Apis::RunV1::ListMeta]
|
3307
3232
|
attr_accessor :metadata
|
3308
3233
|
|
3309
3234
|
# A machine-readable description of why this operation is in the "Failure"
|
3310
3235
|
# status. If this value is empty there is no information available. A Reason
|
3311
|
-
# clarifies an HTTP status code but does not override it.
|
3236
|
+
# clarifies an HTTP status code but does not override it.
|
3312
3237
|
# Corresponds to the JSON property `reason`
|
3313
3238
|
# @return [String]
|
3314
3239
|
attr_accessor :reason
|
3315
3240
|
|
3316
3241
|
# Status of the operation. One of: "Success" or "Failure". More info: https://
|
3317
3242
|
# git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
3318
|
-
# spec-and-status
|
3243
|
+
# spec-and-status
|
3319
3244
|
# Corresponds to the JSON property `status`
|
3320
3245
|
# @return [String]
|
3321
3246
|
attr_accessor :status
|
@@ -3343,21 +3268,21 @@ module Google
|
|
3343
3268
|
# The field of the resource that has caused this error, as named by its JSON
|
3344
3269
|
# serialization. May include dot and postfix notation for nested attributes.
|
3345
3270
|
# Arrays are zero-indexed. Fields may appear more than once in an array of
|
3346
|
-
# causes due to fields having multiple errors.
|
3347
|
-
#
|
3348
|
-
#
|
3271
|
+
# causes due to fields having multiple errors. Examples: "name" - the field "
|
3272
|
+
# name" on the current resource "items[0].name" - the field "name" on the first
|
3273
|
+
# array entry in "items"
|
3349
3274
|
# Corresponds to the JSON property `field`
|
3350
3275
|
# @return [String]
|
3351
3276
|
attr_accessor :field
|
3352
3277
|
|
3353
3278
|
# A human-readable description of the cause of the error. This field may be
|
3354
|
-
# presented as-is to a reader.
|
3279
|
+
# presented as-is to a reader.
|
3355
3280
|
# Corresponds to the JSON property `message`
|
3356
3281
|
# @return [String]
|
3357
3282
|
attr_accessor :message
|
3358
3283
|
|
3359
3284
|
# A machine-readable description of the cause of the error. If this value is
|
3360
|
-
# empty there is no information available.
|
3285
|
+
# empty there is no information available.
|
3361
3286
|
# Corresponds to the JSON property `reason`
|
3362
3287
|
# @return [String]
|
3363
3288
|
attr_accessor :reason
|
@@ -3383,13 +3308,12 @@ module Google
|
|
3383
3308
|
include Google::Apis::Core::Hashable
|
3384
3309
|
|
3385
3310
|
# The Causes array includes more details associated with the StatusReason
|
3386
|
-
# failure. Not all StatusReasons may provide detailed causes.
|
3311
|
+
# failure. Not all StatusReasons may provide detailed causes.
|
3387
3312
|
# Corresponds to the JSON property `causes`
|
3388
3313
|
# @return [Array<Google::Apis::RunV1::StatusCause>]
|
3389
3314
|
attr_accessor :causes
|
3390
3315
|
|
3391
|
-
# The group attribute of the resource associated with the status StatusReason.
|
3392
|
-
# optional
|
3316
|
+
# The group attribute of the resource associated with the status StatusReason.
|
3393
3317
|
# Corresponds to the JSON property `group`
|
3394
3318
|
# @return [String]
|
3395
3319
|
attr_accessor :group
|
@@ -3397,13 +3321,13 @@ module Google
|
|
3397
3321
|
# The kind attribute of the resource associated with the status StatusReason. On
|
3398
3322
|
# some operations may differ from the requested resource Kind. More info: https:/
|
3399
3323
|
# /git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
3400
|
-
# types-kinds
|
3324
|
+
# types-kinds
|
3401
3325
|
# Corresponds to the JSON property `kind`
|
3402
3326
|
# @return [String]
|
3403
3327
|
attr_accessor :kind
|
3404
3328
|
|
3405
3329
|
# The name attribute of the resource associated with the status StatusReason (
|
3406
|
-
# when there is a single name which can be described).
|
3330
|
+
# when there is a single name which can be described).
|
3407
3331
|
# Corresponds to the JSON property `name`
|
3408
3332
|
# @return [String]
|
3409
3333
|
attr_accessor :name
|
@@ -3411,13 +3335,13 @@ module Google
|
|
3411
3335
|
# If specified, the time in seconds before the operation should be retried. Some
|
3412
3336
|
# errors may indicate the client must take an alternate action - for those
|
3413
3337
|
# errors this field may indicate how long to wait before taking the alternate
|
3414
|
-
# action.
|
3338
|
+
# action.
|
3415
3339
|
# Corresponds to the JSON property `retryAfterSeconds`
|
3416
3340
|
# @return [Fixnum]
|
3417
3341
|
attr_accessor :retry_after_seconds
|
3418
3342
|
|
3419
3343
|
# UID of the resource. (when there is a single resource which can be described).
|
3420
|
-
# More info: https://kubernetes.io/docs/user-guide/identifiers#uids
|
3344
|
+
# More info: https://kubernetes.io/docs/user-guide/identifiers#uids
|
3421
3345
|
# Corresponds to the JSON property `uid`
|
3422
3346
|
# @return [String]
|
3423
3347
|
attr_accessor :uid
|
@@ -3441,15 +3365,12 @@ module Google
|
|
3441
3365
|
class TcpSocketAction
|
3442
3366
|
include Google::Apis::Core::Hashable
|
3443
3367
|
|
3444
|
-
#
|
3368
|
+
# Not supported by Cloud Run.
|
3445
3369
|
# Corresponds to the JSON property `host`
|
3446
3370
|
# @return [String]
|
3447
3371
|
attr_accessor :host
|
3448
3372
|
|
3449
|
-
#
|
3450
|
-
# range 1 to 65535. Name must be an IANA_SVC_NAME. This field is currently
|
3451
|
-
# limited to integer types only because of proto's inability to properly support
|
3452
|
-
# the IntOrString golang type.
|
3373
|
+
# Port number to access on the container. Number must be in the range 1 to 65535.
|
3453
3374
|
# Corresponds to the JSON property `port`
|
3454
3375
|
# @return [Fixnum]
|
3455
3376
|
attr_accessor :port
|
@@ -3472,7 +3393,7 @@ module Google
|
|
3472
3393
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
3473
3394
|
# object. Servers should convert recognized schemas to the latest internal value,
|
3474
3395
|
# and may reject unrecognized values. More info: https://git.k8s.io/community/
|
3475
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
3396
|
+
# contributors/devel/sig-architecture/api-conventions.md#resources
|
3476
3397
|
# Corresponds to the JSON property `apiVersion`
|
3477
3398
|
# @return [String]
|
3478
3399
|
attr_accessor :api_version
|
@@ -3480,8 +3401,7 @@ module Google
|
|
3480
3401
|
# Optional. Kind is a string value representing the REST resource this object
|
3481
3402
|
# represents. Servers may infer this from the endpoint the client submits
|
3482
3403
|
# requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/
|
3483
|
-
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
3484
|
-
# optional
|
3404
|
+
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
3485
3405
|
# Corresponds to the JSON property `kind`
|
3486
3406
|
# @return [String]
|
3487
3407
|
attr_accessor :kind
|
@@ -3497,7 +3417,7 @@ module Google
|
|
3497
3417
|
# @return [Google::Apis::RunV1::TaskSpec]
|
3498
3418
|
attr_accessor :spec
|
3499
3419
|
|
3500
|
-
# TaskStatus represents the status of a task
|
3420
|
+
# TaskStatus represents the status of a task.
|
3501
3421
|
# Corresponds to the JSON property `status`
|
3502
3422
|
# @return [Google::Apis::RunV1::TaskStatus]
|
3503
3423
|
attr_accessor :status
|
@@ -3566,21 +3486,20 @@ module Google
|
|
3566
3486
|
# Optional. Email address of the IAM service account associated with the task of
|
3567
3487
|
# a job execution. The service account represents the identity of the running
|
3568
3488
|
# task, and determines what permissions the task has. If not provided, the task
|
3569
|
-
# will use the project's default service account.
|
3489
|
+
# will use the project's default service account.
|
3570
3490
|
# Corresponds to the JSON property `serviceAccountName`
|
3571
3491
|
# @return [String]
|
3572
3492
|
attr_accessor :service_account_name
|
3573
3493
|
|
3574
|
-
# Optional.
|
3575
|
-
#
|
3576
|
-
#
|
3577
|
-
# timeout. +optional
|
3494
|
+
# Optional. Duration in seconds the task may be active before the system will
|
3495
|
+
# actively try to mark it failed and kill associated containers. This applies
|
3496
|
+
# per attempt of a task, meaning each retry can run for the full timeout.
|
3578
3497
|
# Corresponds to the JSON property `timeoutSeconds`
|
3579
3498
|
# @return [Fixnum]
|
3580
3499
|
attr_accessor :timeout_seconds
|
3581
3500
|
|
3582
3501
|
# Optional. List of volumes that can be mounted by containers belonging to the
|
3583
|
-
# task. More info: https://kubernetes.io/docs/concepts/storage/volumes
|
3502
|
+
# task. More info: https://kubernetes.io/docs/concepts/storage/volumes
|
3584
3503
|
# Corresponds to the JSON property `volumes`
|
3585
3504
|
# @return [Array<Google::Apis::RunV1::Volume>]
|
3586
3505
|
attr_accessor :volumes
|
@@ -3599,20 +3518,19 @@ module Google
|
|
3599
3518
|
end
|
3600
3519
|
end
|
3601
3520
|
|
3602
|
-
# TaskStatus represents the status of a task
|
3521
|
+
# TaskStatus represents the status of a task.
|
3603
3522
|
class TaskStatus
|
3604
3523
|
include Google::Apis::Core::Hashable
|
3605
3524
|
|
3606
3525
|
# Optional. Represents time when the task was completed. It is not guaranteed to
|
3607
3526
|
# be set in happens-before order across separate operations. It is represented
|
3608
|
-
# in RFC3339 form and is in UTC.
|
3527
|
+
# in RFC3339 form and is in UTC.
|
3609
3528
|
# Corresponds to the JSON property `completionTime`
|
3610
3529
|
# @return [String]
|
3611
3530
|
attr_accessor :completion_time
|
3612
3531
|
|
3613
3532
|
# Optional. The latest available observations of a task's current state. More
|
3614
|
-
# info: https://kubernetes.io/docs/concepts/workloads/controllers/
|
3615
|
-
# completion/ +optional
|
3533
|
+
# info: https://kubernetes.io/docs/concepts/workloads/controllers/job/
|
3616
3534
|
# Corresponds to the JSON property `conditions`
|
3617
3535
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
3618
3536
|
attr_accessor :conditions
|
@@ -3632,21 +3550,21 @@ module Google
|
|
3632
3550
|
# @return [String]
|
3633
3551
|
attr_accessor :log_uri
|
3634
3552
|
|
3635
|
-
# Optional. The 'generation' of the
|
3553
|
+
# Optional. The 'generation' of the task that was last processed by the
|
3636
3554
|
# controller.
|
3637
3555
|
# Corresponds to the JSON property `observedGeneration`
|
3638
3556
|
# @return [Fixnum]
|
3639
3557
|
attr_accessor :observed_generation
|
3640
3558
|
|
3641
3559
|
# Optional. The number of times this task was retried. Instances are retried
|
3642
|
-
# when they fail up to the maxRetries limit.
|
3560
|
+
# when they fail up to the maxRetries limit.
|
3643
3561
|
# Corresponds to the JSON property `retried`
|
3644
3562
|
# @return [Fixnum]
|
3645
3563
|
attr_accessor :retried
|
3646
3564
|
|
3647
3565
|
# Optional. Represents time when the task started to run. It is not guaranteed
|
3648
3566
|
# to be set in happens-before order across separate operations. It is
|
3649
|
-
# represented in RFC3339 form and is in UTC.
|
3567
|
+
# represented in RFC3339 form and is in UTC.
|
3650
3568
|
# Corresponds to the JSON property `startTime`
|
3651
3569
|
# @return [String]
|
3652
3570
|
attr_accessor :start_time
|
@@ -3732,12 +3650,12 @@ module Google
|
|
3732
3650
|
class TrafficTarget
|
3733
3651
|
include Google::Apis::Core::Hashable
|
3734
3652
|
|
3735
|
-
# ConfigurationName of a configuration to whose latest revision
|
3736
|
-
# this portion of traffic. When the "status.latestReadyRevisionName" of the
|
3737
|
-
# referenced configuration changes,
|
3738
|
-
#
|
3739
|
-
#
|
3740
|
-
#
|
3653
|
+
# ConfigurationName of a configuration to whose latest revision which will be
|
3654
|
+
# sent this portion of traffic. When the "status.latestReadyRevisionName" of the
|
3655
|
+
# referenced configuration changes, traffic will automatically migrate from the
|
3656
|
+
# prior "latest ready" revision to the new one. This field is never set in Route'
|
3657
|
+
# s status, only its spec. This is mutually exclusive with RevisionName. Cloud
|
3658
|
+
# Run currently supports a single ConfigurationName.
|
3741
3659
|
# Corresponds to the JSON property `configurationName`
|
3742
3660
|
# @return [String]
|
3743
3661
|
attr_accessor :configuration_name
|
@@ -3796,7 +3714,7 @@ module Google
|
|
3796
3714
|
class Volume
|
3797
3715
|
include Google::Apis::Core::Hashable
|
3798
3716
|
|
3799
|
-
# Not supported by Cloud Run Adapts a ConfigMap into a volume. The contents of
|
3717
|
+
# Not supported by Cloud Run. Adapts a ConfigMap into a volume. The contents of
|
3800
3718
|
# the target ConfigMap's Data field will be presented in a volume as files using
|
3801
3719
|
# the keys in the Data field as the file names, unless the items element is
|
3802
3720
|
# populated with specific mappings of keys to paths.
|
@@ -3809,10 +3727,11 @@ module Google
|
|
3809
3727
|
# @return [String]
|
3810
3728
|
attr_accessor :name
|
3811
3729
|
|
3812
|
-
#
|
3813
|
-
#
|
3814
|
-
#
|
3815
|
-
#
|
3730
|
+
# A volume representing a secret stored in Google Secret Manager. The secret's
|
3731
|
+
# value will be presented as the content of a file whose name is defined in the
|
3732
|
+
# item path. If no items are defined, the name of the file is the secret_name.
|
3733
|
+
# The contents of the target Secret's Data field will be presented in a volume
|
3734
|
+
# as files using the keys in the Data field as the file names.
|
3816
3735
|
# Corresponds to the JSON property `secret`
|
3817
3736
|
# @return [Google::Apis::RunV1::SecretVolumeSource]
|
3818
3737
|
attr_accessor :secret
|
@@ -3833,26 +3752,26 @@ module Google
|
|
3833
3752
|
class VolumeMount
|
3834
3753
|
include Google::Apis::Core::Hashable
|
3835
3754
|
|
3836
|
-
# Path within the container at which the volume should be mounted.
|
3837
|
-
# contain ':'.
|
3755
|
+
# Required. Path within the container at which the volume should be mounted.
|
3756
|
+
# Must not contain ':'.
|
3838
3757
|
# Corresponds to the JSON property `mountPath`
|
3839
3758
|
# @return [String]
|
3840
3759
|
attr_accessor :mount_path
|
3841
3760
|
|
3842
|
-
# The name of the volume. There must be a corresponding Volume with
|
3843
|
-
# name.
|
3761
|
+
# Required. The name of the volume. There must be a corresponding Volume with
|
3762
|
+
# the same name.
|
3844
3763
|
# Corresponds to the JSON property `name`
|
3845
3764
|
# @return [String]
|
3846
3765
|
attr_accessor :name
|
3847
3766
|
|
3848
|
-
#
|
3767
|
+
# Only true is accepted for Secret Volumes. Defaults to true for Secrets Volumes.
|
3849
3768
|
# Corresponds to the JSON property `readOnly`
|
3850
3769
|
# @return [Boolean]
|
3851
3770
|
attr_accessor :read_only
|
3852
3771
|
alias_method :read_only?, :read_only
|
3853
3772
|
|
3854
|
-
#
|
3855
|
-
#
|
3773
|
+
# Path within the volume from which the container's volume should be mounted.
|
3774
|
+
# Defaults to "" (volume's root).
|
3856
3775
|
# Corresponds to the JSON property `subPath`
|
3857
3776
|
# @return [String]
|
3858
3777
|
attr_accessor :sub_path
|