google-apis-run_v1 0.35.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/run_v1/classes.rb +389 -474
- data/lib/google/apis/run_v1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1/service.rb +135 -136
- metadata +3 -3
@@ -167,31 +167,33 @@ module Google
|
|
167
167
|
# members` can have the following values: * `allUsers`: A special identifier
|
168
168
|
# that represents anyone who is on the internet; with or without a Google
|
169
169
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
170
|
-
# anyone who is authenticated with a Google account or a service account.
|
171
|
-
#
|
172
|
-
#
|
173
|
-
#
|
174
|
-
#
|
175
|
-
#
|
176
|
-
#
|
177
|
-
#
|
178
|
-
# .
|
179
|
-
#
|
180
|
-
# email address
|
181
|
-
#
|
182
|
-
#
|
183
|
-
#
|
184
|
-
# emailid
|
185
|
-
#
|
186
|
-
#
|
187
|
-
#
|
188
|
-
#
|
189
|
-
#
|
190
|
-
#
|
191
|
-
#
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
170
|
+
# anyone who is authenticated with a Google account or a service account. Does
|
171
|
+
# not include identities that come from external identity providers (IdPs)
|
172
|
+
# through identity federation. * `user:`emailid``: An email address that
|
173
|
+
# represents a specific Google account. For example, `alice@example.com` . * `
|
174
|
+
# serviceAccount:`emailid``: An email address that represents a Google service
|
175
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
|
176
|
+
# serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
|
177
|
+
# identifier for a [Kubernetes service account](https://cloud.google.com/
|
178
|
+
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
179
|
+
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
180
|
+
# email address that represents a Google group. For example, `admins@example.com`
|
181
|
+
# . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
182
|
+
# identifier) representing a user that has been recently deleted. For example, `
|
183
|
+
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
184
|
+
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
185
|
+
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
186
|
+
# address (plus unique identifier) representing a service account that has been
|
187
|
+
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
188
|
+
# 123456789012345678901`. If the service account is undeleted, this value
|
189
|
+
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
190
|
+
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
191
|
+
# An email address (plus unique identifier) representing a Google group that has
|
192
|
+
# been recently deleted. For example, `admins@example.com?uid=
|
193
|
+
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
194
|
+
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
195
|
+
# domain:`domain``: The G Suite domain (primary) that represents all the users
|
196
|
+
# of that domain. For example, `google.com` or `example.com`.
|
195
197
|
# Corresponds to the JSON property `members`
|
196
198
|
# @return [Array<String>]
|
197
199
|
attr_accessor :members
|
@@ -227,14 +229,14 @@ module Google
|
|
227
229
|
end
|
228
230
|
end
|
229
231
|
|
230
|
-
# Not supported by Cloud Run ConfigMapEnvSource selects a ConfigMap to populate
|
232
|
+
# Not supported by Cloud Run. ConfigMapEnvSource selects a ConfigMap to populate
|
231
233
|
# the environment variables with. The contents of the target ConfigMap's Data
|
232
234
|
# field will represent the key-value pairs as environment variables.
|
233
235
|
class ConfigMapEnvSource
|
234
236
|
include Google::Apis::Core::Hashable
|
235
237
|
|
236
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
237
|
-
# let you locate the referenced object inside the same namespace.
|
238
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
239
|
+
# to let you locate the referenced object inside the same namespace.
|
238
240
|
# Corresponds to the JSON property `localObjectReference`
|
239
241
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
240
242
|
attr_accessor :local_object_reference
|
@@ -244,7 +246,7 @@ module Google
|
|
244
246
|
# @return [String]
|
245
247
|
attr_accessor :name
|
246
248
|
|
247
|
-
#
|
249
|
+
# Specify whether the ConfigMap must be defined.
|
248
250
|
# Corresponds to the JSON property `optional`
|
249
251
|
# @return [Boolean]
|
250
252
|
attr_accessor :optional
|
@@ -262,27 +264,27 @@ module Google
|
|
262
264
|
end
|
263
265
|
end
|
264
266
|
|
265
|
-
# Not supported by Cloud Run
|
267
|
+
# Not supported by Cloud Run.
|
266
268
|
class ConfigMapKeySelector
|
267
269
|
include Google::Apis::Core::Hashable
|
268
270
|
|
269
|
-
#
|
271
|
+
# Required. Not supported by Cloud Run.
|
270
272
|
# Corresponds to the JSON property `key`
|
271
273
|
# @return [String]
|
272
274
|
attr_accessor :key
|
273
275
|
|
274
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
275
|
-
# let you locate the referenced object inside the same namespace.
|
276
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
277
|
+
# to let you locate the referenced object inside the same namespace.
|
276
278
|
# Corresponds to the JSON property `localObjectReference`
|
277
279
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
278
280
|
attr_accessor :local_object_reference
|
279
281
|
|
280
|
-
#
|
282
|
+
# Required. Not supported by Cloud Run.
|
281
283
|
# Corresponds to the JSON property `name`
|
282
284
|
# @return [String]
|
283
285
|
attr_accessor :name
|
284
286
|
|
285
|
-
#
|
287
|
+
# Not supported by Cloud Run.
|
286
288
|
# Corresponds to the JSON property `optional`
|
287
289
|
# @return [Boolean]
|
288
290
|
attr_accessor :optional
|
@@ -301,7 +303,7 @@ module Google
|
|
301
303
|
end
|
302
304
|
end
|
303
305
|
|
304
|
-
# Not supported by Cloud Run Adapts a ConfigMap into a volume. The contents of
|
306
|
+
# Not supported by Cloud Run. Adapts a ConfigMap into a volume. The contents of
|
305
307
|
# the target ConfigMap's Data field will be presented in a volume as files using
|
306
308
|
# the keys in the Data field as the file names, unless the items element is
|
307
309
|
# populated with specific mappings of keys to paths.
|
@@ -361,7 +363,7 @@ module Google
|
|
361
363
|
# and optionally how the containers those revisions reference are built. Users
|
362
364
|
# create new Revisions by updating the Configuration's spec. The "latest created"
|
363
365
|
# revision's name is available under status, as is the "latest ready" revision'
|
364
|
-
# s name. See also: https://github.com/knative/
|
366
|
+
# s name. See also: https://github.com/knative/specs/blob/main/specs/serving/
|
365
367
|
# overview.md#configuration
|
366
368
|
class Configuration
|
367
369
|
include Google::Apis::Core::Hashable
|
@@ -435,14 +437,15 @@ module Google
|
|
435
437
|
class ConfigurationStatus
|
436
438
|
include Google::Apis::Core::Hashable
|
437
439
|
|
438
|
-
# Conditions
|
440
|
+
# Conditions communicate information about ongoing/complete reconciliation
|
439
441
|
# processes that bring the "spec" inline with the observed state of the world.
|
440
442
|
# Corresponds to the JSON property `conditions`
|
441
443
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
442
444
|
attr_accessor :conditions
|
443
445
|
|
444
446
|
# LatestCreatedRevisionName is the last revision that was created from this
|
445
|
-
# Configuration. It might not be ready yet, for
|
447
|
+
# Configuration. It might not be ready yet, so for the latest ready revision,
|
448
|
+
# use LatestReadyRevisionName.
|
446
449
|
# Corresponds to the JSON property `latestCreatedRevisionName`
|
447
450
|
# @return [String]
|
448
451
|
attr_accessor :latest_created_revision_name
|
@@ -481,68 +484,58 @@ module Google
|
|
481
484
|
class Container
|
482
485
|
include Google::Apis::Core::Hashable
|
483
486
|
|
484
|
-
#
|
485
|
-
#
|
486
|
-
# container's environment. If a variable cannot be resolved, the reference in
|
487
|
-
# the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with
|
488
|
-
# a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
|
489
|
-
# regardless of whether the variable exists or not. More info: https://
|
490
|
-
# kubernetes.io/docs/tasks/inject-data-application/define-command-argument-
|
491
|
-
# container/#running-a-command-in-a-shell
|
487
|
+
# Arguments to the entrypoint. The docker image's CMD is used if this is not
|
488
|
+
# provided. Variable references are not supported in Cloud Run.
|
492
489
|
# Corresponds to the JSON property `args`
|
493
490
|
# @return [Array<String>]
|
494
491
|
attr_accessor :args
|
495
492
|
|
496
|
-
#
|
493
|
+
# Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT
|
494
|
+
# is used if this is not provided. Variable references are not supported in
|
495
|
+
# Cloud Run.
|
497
496
|
# Corresponds to the JSON property `command`
|
498
497
|
# @return [Array<String>]
|
499
498
|
attr_accessor :command
|
500
499
|
|
501
|
-
#
|
500
|
+
# List of environment variables to set in the container.
|
502
501
|
# Corresponds to the JSON property `env`
|
503
502
|
# @return [Array<Google::Apis::RunV1::EnvVar>]
|
504
503
|
attr_accessor :env
|
505
504
|
|
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.
|
505
|
+
# Not supported by Cloud Run.
|
512
506
|
# Corresponds to the JSON property `envFrom`
|
513
507
|
# @return [Array<Google::Apis::RunV1::EnvFromSource>]
|
514
508
|
attr_accessor :env_from
|
515
509
|
|
516
|
-
#
|
517
|
-
#
|
518
|
-
#
|
510
|
+
# Required. URL of the Container image in Google Container Registry or Google
|
511
|
+
# Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/
|
512
|
+
# images
|
519
513
|
# Corresponds to the JSON property `image`
|
520
514
|
# @return [String]
|
521
515
|
attr_accessor :image
|
522
516
|
|
523
|
-
#
|
524
|
-
#
|
525
|
-
#
|
517
|
+
# Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :
|
518
|
+
# latest tag is specified, or IfNotPresent otherwise. More info: https://
|
519
|
+
# kubernetes.io/docs/concepts/containers/images#updating-images
|
526
520
|
# Corresponds to the JSON property `imagePullPolicy`
|
527
521
|
# @return [String]
|
528
522
|
attr_accessor :image_pull_policy
|
529
523
|
|
530
|
-
#
|
531
|
-
#
|
532
|
-
# traffic.
|
524
|
+
# Probe describes a health check to be performed against a container to
|
525
|
+
# determine whether it is alive or ready to receive traffic.
|
533
526
|
# Corresponds to the JSON property `livenessProbe`
|
534
527
|
# @return [Google::Apis::RunV1::Probe]
|
535
528
|
attr_accessor :liveness_probe
|
536
529
|
|
537
|
-
#
|
538
|
-
#
|
539
|
-
#
|
530
|
+
# Name of the container specified as a DNS_LABEL. Currently unused in Cloud Run.
|
531
|
+
# More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/
|
532
|
+
# names/#dns-label-names
|
540
533
|
# Corresponds to the JSON property `name`
|
541
534
|
# @return [String]
|
542
535
|
attr_accessor :name
|
543
536
|
|
544
|
-
#
|
545
|
-
#
|
537
|
+
# List of ports to expose from the container. Only a single port can be
|
538
|
+
# specified. The specified ports must be listening on all interfaces (0.0.0.0)
|
546
539
|
# within the container to be accessible. If omitted, a port number will be
|
547
540
|
# chosen and passed to the container through the PORT environment variable for
|
548
541
|
# the container to listen on.
|
@@ -550,9 +543,8 @@ module Google
|
|
550
543
|
# @return [Array<Google::Apis::RunV1::ContainerPort>]
|
551
544
|
attr_accessor :ports
|
552
545
|
|
553
|
-
#
|
554
|
-
#
|
555
|
-
# traffic.
|
546
|
+
# Probe describes a health check to be performed against a container to
|
547
|
+
# determine whether it is alive or ready to receive traffic.
|
556
548
|
# Corresponds to the JSON property `readinessProbe`
|
557
549
|
# @return [Google::Apis::RunV1::Probe]
|
558
550
|
attr_accessor :readiness_probe
|
@@ -562,7 +554,7 @@ module Google
|
|
562
554
|
# @return [Google::Apis::RunV1::ResourceRequirements]
|
563
555
|
attr_accessor :resources
|
564
556
|
|
565
|
-
# Not supported by Cloud Run SecurityContext holds security configuration that
|
557
|
+
# Not supported by Cloud Run. SecurityContext holds security configuration that
|
566
558
|
# will be applied to a container. Some fields are present in both
|
567
559
|
# SecurityContext and PodSecurityContext. When both are set, the values in
|
568
560
|
# SecurityContext take precedence.
|
@@ -570,15 +562,14 @@ module Google
|
|
570
562
|
# @return [Google::Apis::RunV1::SecurityContext]
|
571
563
|
attr_accessor :security_context
|
572
564
|
|
573
|
-
#
|
574
|
-
#
|
575
|
-
# traffic.
|
565
|
+
# Probe describes a health check to be performed against a container to
|
566
|
+
# determine whether it is alive or ready to receive traffic.
|
576
567
|
# Corresponds to the JSON property `startupProbe`
|
577
568
|
# @return [Google::Apis::RunV1::Probe]
|
578
569
|
attr_accessor :startup_probe
|
579
570
|
|
580
|
-
#
|
581
|
-
#
|
571
|
+
# Path at which the file to which the container's termination message will be
|
572
|
+
# written is mounted into the container's filesystem. Message written is
|
582
573
|
# intended to be brief final status, such as an assertion failure message. Will
|
583
574
|
# be truncated by the node if greater than 4096 bytes. The total message length
|
584
575
|
# across all containers will be limited to 12kb. Defaults to /dev/termination-
|
@@ -587,25 +578,24 @@ module Google
|
|
587
578
|
# @return [String]
|
588
579
|
attr_accessor :termination_message_path
|
589
580
|
|
590
|
-
#
|
591
|
-
#
|
592
|
-
#
|
593
|
-
#
|
581
|
+
# Indicate how the termination message should be populated. File will use the
|
582
|
+
# contents of terminationMessagePath to populate the container status message on
|
583
|
+
# both success and failure. FallbackToLogsOnError will use the last chunk of
|
584
|
+
# container log output if the termination message file is empty and the
|
594
585
|
# container exited with an error. The log output is limited to 2048 bytes or 80
|
595
586
|
# lines, whichever is smaller. Defaults to File. Cannot be updated.
|
596
587
|
# Corresponds to the JSON property `terminationMessagePolicy`
|
597
588
|
# @return [String]
|
598
589
|
attr_accessor :termination_message_policy
|
599
590
|
|
600
|
-
#
|
591
|
+
# Volume to mount into the container's filesystem. Only supports
|
601
592
|
# SecretVolumeSources. Pod volumes to mount into the container's filesystem.
|
602
593
|
# Corresponds to the JSON property `volumeMounts`
|
603
594
|
# @return [Array<Google::Apis::RunV1::VolumeMount>]
|
604
595
|
attr_accessor :volume_mounts
|
605
596
|
|
606
|
-
#
|
607
|
-
#
|
608
|
-
# image.
|
597
|
+
# Container's working directory. If not specified, the container runtime's
|
598
|
+
# default will be used, which might be configured in the container image.
|
609
599
|
# Corresponds to the JSON property `workingDir`
|
610
600
|
# @return [String]
|
611
601
|
attr_accessor :working_dir
|
@@ -640,19 +630,19 @@ module Google
|
|
640
630
|
class ContainerPort
|
641
631
|
include Google::Apis::Core::Hashable
|
642
632
|
|
643
|
-
#
|
644
|
-
#
|
633
|
+
# Port number the container listens on. This must be a valid port number, 0 < x <
|
634
|
+
# 65536.
|
645
635
|
# Corresponds to the JSON property `containerPort`
|
646
636
|
# @return [Fixnum]
|
647
637
|
attr_accessor :container_port
|
648
638
|
|
649
|
-
#
|
650
|
-
#
|
639
|
+
# If specified, used to specify which protocol to use. Allowed values are "http1"
|
640
|
+
# and "h2c".
|
651
641
|
# Corresponds to the JSON property `name`
|
652
642
|
# @return [String]
|
653
643
|
attr_accessor :name
|
654
644
|
|
655
|
-
#
|
645
|
+
# Protocol for port. Must be "TCP". Defaults to "TCP".
|
656
646
|
# Corresponds to the JSON property `protocol`
|
657
647
|
# @return [String]
|
658
648
|
attr_accessor :protocol
|
@@ -780,8 +770,7 @@ module Google
|
|
780
770
|
# @return [Array<Google::Apis::RunV1::ResourceRecord>]
|
781
771
|
attr_accessor :resource_records
|
782
772
|
|
783
|
-
# Optional.
|
784
|
-
# Holds the URL that will serve the traffic of the DomainMapping.
|
773
|
+
# Optional. Not supported by Cloud Run.
|
785
774
|
# Corresponds to the JSON property `url`
|
786
775
|
# @return [String]
|
787
776
|
attr_accessor :url
|
@@ -800,25 +789,25 @@ module Google
|
|
800
789
|
end
|
801
790
|
end
|
802
791
|
|
803
|
-
# Not supported by Cloud Run EnvFromSource represents the source of a set of
|
792
|
+
# Not supported by Cloud Run. EnvFromSource represents the source of a set of
|
804
793
|
# ConfigMaps
|
805
794
|
class EnvFromSource
|
806
795
|
include Google::Apis::Core::Hashable
|
807
796
|
|
808
|
-
# Not supported by Cloud Run ConfigMapEnvSource selects a ConfigMap to populate
|
797
|
+
# Not supported by Cloud Run. ConfigMapEnvSource selects a ConfigMap to populate
|
809
798
|
# the environment variables with. The contents of the target ConfigMap's Data
|
810
799
|
# field will represent the key-value pairs as environment variables.
|
811
800
|
# Corresponds to the JSON property `configMapRef`
|
812
801
|
# @return [Google::Apis::RunV1::ConfigMapEnvSource]
|
813
802
|
attr_accessor :config_map_ref
|
814
803
|
|
815
|
-
#
|
816
|
-
#
|
804
|
+
# An optional identifier to prepend to each key in the ConfigMap. Must be a
|
805
|
+
# C_IDENTIFIER.
|
817
806
|
# Corresponds to the JSON property `prefix`
|
818
807
|
# @return [String]
|
819
808
|
attr_accessor :prefix
|
820
809
|
|
821
|
-
# Not supported by Cloud Run SecretEnvSource selects a Secret to populate the
|
810
|
+
# Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the
|
822
811
|
# environment variables with. The contents of the target Secret's Data field
|
823
812
|
# will represent the key-value pairs as environment variables.
|
824
813
|
# Corresponds to the JSON property `secretRef`
|
@@ -841,17 +830,13 @@ module Google
|
|
841
830
|
class EnvVar
|
842
831
|
include Google::Apis::Core::Hashable
|
843
832
|
|
844
|
-
# Name of the environment variable. Must be a C_IDENTIFIER.
|
833
|
+
# Required. Name of the environment variable. Must be a C_IDENTIFIER.
|
845
834
|
# Corresponds to the JSON property `name`
|
846
835
|
# @return [String]
|
847
836
|
attr_accessor :name
|
848
837
|
|
849
|
-
#
|
850
|
-
#
|
851
|
-
# variables. If a variable cannot be resolved, the reference in the input string
|
852
|
-
# will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie:
|
853
|
-
# $$(VAR_NAME). Escaped references will never be expanded, regardless of whether
|
854
|
-
# the variable exists or not. Defaults to "".
|
838
|
+
# Value of the environment variable. Defaults to "". Variable references are not
|
839
|
+
# supported in Cloud Run.
|
855
840
|
# Corresponds to the JSON property `value`
|
856
841
|
# @return [String]
|
857
842
|
attr_accessor :value
|
@@ -877,7 +862,7 @@ module Google
|
|
877
862
|
class EnvVarSource
|
878
863
|
include Google::Apis::Core::Hashable
|
879
864
|
|
880
|
-
# Not supported by Cloud Run
|
865
|
+
# Not supported by Cloud Run.
|
881
866
|
# Corresponds to the JSON property `configMapKeyRef`
|
882
867
|
# @return [Google::Apis::RunV1::ConfigMapKeySelector]
|
883
868
|
attr_accessor :config_map_key_ref
|
@@ -898,16 +883,16 @@ module Google
|
|
898
883
|
end
|
899
884
|
end
|
900
885
|
|
901
|
-
# Not supported by Cloud Run ExecAction describes a "run in container" action.
|
886
|
+
# Not supported by Cloud Run. ExecAction describes a "run in container" action.
|
902
887
|
class ExecAction
|
903
888
|
include Google::Apis::Core::Hashable
|
904
889
|
|
905
|
-
#
|
906
|
-
#
|
907
|
-
#
|
908
|
-
#
|
909
|
-
#
|
910
|
-
#
|
890
|
+
# Command is the command line to execute inside the container, the working
|
891
|
+
# directory for the command is root ('/') in the container's filesystem. The
|
892
|
+
# command is simply exec'd, it is not run inside a shell, so traditional shell
|
893
|
+
# instructions ('|', etc) won't work. To use a shell, you need to explicitly
|
894
|
+
# call out to that shell. Exit status of 0 is treated as live/healthy and non-
|
895
|
+
# zero is unhealthy.
|
911
896
|
# Corresponds to the JSON property `command`
|
912
897
|
# @return [Array<String>]
|
913
898
|
attr_accessor :command
|
@@ -922,8 +907,8 @@ module Google
|
|
922
907
|
end
|
923
908
|
end
|
924
909
|
|
925
|
-
# Execution represents the configuration of a single execution.
|
926
|
-
# immutable resource that references a container image which is run to
|
910
|
+
# Execution represents the configuration of a single execution. An execution is
|
911
|
+
# an immutable resource that references a container image which is run to
|
927
912
|
# completion.
|
928
913
|
class Execution
|
929
914
|
include Google::Apis::Core::Hashable
|
@@ -931,7 +916,7 @@ module Google
|
|
931
916
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
932
917
|
# object. Servers should convert recognized schemas to the latest internal value,
|
933
918
|
# and may reject unrecognized values. More info: https://git.k8s.io/community/
|
934
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
919
|
+
# contributors/devel/sig-architecture/api-conventions.md#resources
|
935
920
|
# Corresponds to the JSON property `apiVersion`
|
936
921
|
# @return [String]
|
937
922
|
attr_accessor :api_version
|
@@ -939,8 +924,7 @@ module Google
|
|
939
924
|
# Optional. Kind is a string value representing the REST resource this object
|
940
925
|
# represents. Servers may infer this from the endpoint the client submits
|
941
926
|
# 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
|
927
|
+
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
944
928
|
# Corresponds to the JSON property `kind`
|
945
929
|
# @return [String]
|
946
930
|
attr_accessor :kind
|
@@ -956,7 +940,7 @@ module Google
|
|
956
940
|
# @return [Google::Apis::RunV1::ExecutionSpec]
|
957
941
|
attr_accessor :spec
|
958
942
|
|
959
|
-
# ExecutionStatus represents the current state of
|
943
|
+
# ExecutionStatus represents the current state of an Execution.
|
960
944
|
# Corresponds to the JSON property `status`
|
961
945
|
# @return [Google::Apis::RunV1::ExecutionStatus]
|
962
946
|
attr_accessor :status
|
@@ -1015,16 +999,15 @@ module Google
|
|
1015
999
|
# run at given time. Must be <= task_count. When the job is run, if this field
|
1016
1000
|
# is 0 or unset, the maximum possible value will be used for that execution. The
|
1017
1001
|
# 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
|
-
#
|
1002
|
+
# when there are fewer tasks waiting to be completed, i.e. when the work left to
|
1003
|
+
# do is less than max parallelism.
|
1020
1004
|
# Corresponds to the JSON property `parallelism`
|
1021
1005
|
# @return [Fixnum]
|
1022
1006
|
attr_accessor :parallelism
|
1023
1007
|
|
1024
1008
|
# Optional. Specifies the desired number of tasks the execution should run.
|
1025
1009
|
# 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
|
1010
|
+
# task signals the success of the execution.
|
1028
1011
|
# Corresponds to the JSON property `taskCount`
|
1029
1012
|
# @return [Fixnum]
|
1030
1013
|
attr_accessor :task_count
|
@@ -1047,30 +1030,33 @@ module Google
|
|
1047
1030
|
end
|
1048
1031
|
end
|
1049
1032
|
|
1050
|
-
# ExecutionStatus represents the current state of
|
1033
|
+
# ExecutionStatus represents the current state of an Execution.
|
1051
1034
|
class ExecutionStatus
|
1052
1035
|
include Google::Apis::Core::Hashable
|
1053
1036
|
|
1054
|
-
# Optional. The number of tasks which reached phase Cancelled.
|
1037
|
+
# Optional. The number of tasks which reached phase Cancelled.
|
1055
1038
|
# Corresponds to the JSON property `cancelledCount`
|
1056
1039
|
# @return [Fixnum]
|
1057
1040
|
attr_accessor :cancelled_count
|
1058
1041
|
|
1059
|
-
# Optional. Represents time
|
1042
|
+
# Optional. Represents the time that the execution was completed. It is not
|
1060
1043
|
# guaranteed to be set in happens-before order across separate operations. It is
|
1061
1044
|
# represented in RFC3339 form and is in UTC. +optional
|
1062
1045
|
# Corresponds to the JSON property `completionTime`
|
1063
1046
|
# @return [String]
|
1064
1047
|
attr_accessor :completion_time
|
1065
1048
|
|
1066
|
-
# Optional.
|
1067
|
-
#
|
1068
|
-
#
|
1049
|
+
# Optional. Conditions communicate information about ongoing/complete
|
1050
|
+
# reconciliation processes that bring the "spec" inline with the observed state
|
1051
|
+
# of the world. Execution-specific conditions include: * `ResourcesAvailable`: `
|
1052
|
+
# True` when underlying resources have been provisioned. * `Started`: `True`
|
1053
|
+
# when the execution has started to execute. * `Completed`: `True` when the
|
1054
|
+
# execution has succeeded. `False` when the execution has failed.
|
1069
1055
|
# Corresponds to the JSON property `conditions`
|
1070
1056
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
1071
1057
|
attr_accessor :conditions
|
1072
1058
|
|
1073
|
-
# Optional. The number of tasks which reached phase Failed.
|
1059
|
+
# Optional. The number of tasks which reached phase Failed.
|
1074
1060
|
# Corresponds to the JSON property `failedCount`
|
1075
1061
|
# @return [Fixnum]
|
1076
1062
|
attr_accessor :failed_count
|
@@ -1086,24 +1072,24 @@ module Google
|
|
1086
1072
|
# @return [Fixnum]
|
1087
1073
|
attr_accessor :observed_generation
|
1088
1074
|
|
1089
|
-
# Optional. The number of tasks which have retried at least once.
|
1075
|
+
# Optional. The number of tasks which have retried at least once.
|
1090
1076
|
# Corresponds to the JSON property `retriedCount`
|
1091
1077
|
# @return [Fixnum]
|
1092
1078
|
attr_accessor :retried_count
|
1093
1079
|
|
1094
|
-
# Optional. The number of actively running tasks.
|
1080
|
+
# Optional. The number of actively running tasks.
|
1095
1081
|
# Corresponds to the JSON property `runningCount`
|
1096
1082
|
# @return [Fixnum]
|
1097
1083
|
attr_accessor :running_count
|
1098
1084
|
|
1099
|
-
# Optional. Represents time
|
1085
|
+
# Optional. Represents the time that the execution started to run. It is not
|
1100
1086
|
# guaranteed to be set in happens-before order across separate operations. It is
|
1101
|
-
# represented in RFC3339 form and is in UTC.
|
1087
|
+
# represented in RFC3339 form and is in UTC.
|
1102
1088
|
# Corresponds to the JSON property `startTime`
|
1103
1089
|
# @return [String]
|
1104
1090
|
attr_accessor :start_time
|
1105
1091
|
|
1106
|
-
# Optional. The number of tasks which reached phase Succeeded.
|
1092
|
+
# Optional. The number of tasks which reached phase Succeeded.
|
1107
1093
|
# Corresponds to the JSON property `succeededCount`
|
1108
1094
|
# @return [Fixnum]
|
1109
1095
|
attr_accessor :succeeded_count
|
@@ -1236,7 +1222,12 @@ module Google
|
|
1236
1222
|
end
|
1237
1223
|
end
|
1238
1224
|
|
1239
|
-
#
|
1225
|
+
# Conditions show the status of reconciliation progress on a given resource.
|
1226
|
+
# Most resource use a top-level condition type "Ready" or "Completed" to show
|
1227
|
+
# overall status with other conditions to checkpoint each stage of
|
1228
|
+
# reconciliation. Note that if metadata.Generation does not equal status.
|
1229
|
+
# ObservedGeneration, the conditions shown may not be relevant for the current
|
1230
|
+
# spec.
|
1240
1231
|
class GoogleCloudRunV1Condition
|
1241
1232
|
include Google::Apis::Core::Hashable
|
1242
1233
|
|
@@ -1250,13 +1241,16 @@ module Google
|
|
1250
1241
|
# @return [String]
|
1251
1242
|
attr_accessor :message
|
1252
1243
|
|
1253
|
-
# Optional. One-word CamelCase reason for the condition's last transition.
|
1244
|
+
# Optional. One-word CamelCase reason for the condition's last transition. These
|
1245
|
+
# are intended to be stable, unique values which the client may use to trigger
|
1246
|
+
# error handling logic, whereas messages which may be changed later by the
|
1247
|
+
# server.
|
1254
1248
|
# Corresponds to the JSON property `reason`
|
1255
1249
|
# @return [String]
|
1256
1250
|
attr_accessor :reason
|
1257
1251
|
|
1258
|
-
# Optional. How to interpret
|
1259
|
-
# Info
|
1252
|
+
# Optional. How to interpret this condition. One of Error, Warning, or Info.
|
1253
|
+
# Conditions of severity Info do not contribute to resource readiness.
|
1260
1254
|
# Corresponds to the JSON property `severity`
|
1261
1255
|
# @return [String]
|
1262
1256
|
attr_accessor :severity
|
@@ -1268,8 +1262,8 @@ module Google
|
|
1268
1262
|
|
1269
1263
|
# type is used to communicate the status of the reconciliation process. See also:
|
1270
1264
|
# 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.
|
1265
|
+
# conditions-and-reporting Types common to all resources include: * "Ready" or "
|
1266
|
+
# Completed": True when the Resource is ready.
|
1273
1267
|
# Corresponds to the JSON property `type`
|
1274
1268
|
# @return [String]
|
1275
1269
|
attr_accessor :type
|
@@ -1332,23 +1326,22 @@ module Google
|
|
1332
1326
|
class HttpGetAction
|
1333
1327
|
include Google::Apis::Core::Hashable
|
1334
1328
|
|
1335
|
-
#
|
1336
|
-
# to set "Host" in httpHeaders instead.
|
1329
|
+
# Not supported by Cloud Run.
|
1337
1330
|
# Corresponds to the JSON property `host`
|
1338
1331
|
# @return [String]
|
1339
1332
|
attr_accessor :host
|
1340
1333
|
|
1341
|
-
#
|
1334
|
+
# Custom headers to set in the request. HTTP allows repeated headers.
|
1342
1335
|
# Corresponds to the JSON property `httpHeaders`
|
1343
1336
|
# @return [Array<Google::Apis::RunV1::HttpHeader>]
|
1344
1337
|
attr_accessor :http_headers
|
1345
1338
|
|
1346
|
-
#
|
1339
|
+
# Path to access on the HTTP server.
|
1347
1340
|
# Corresponds to the JSON property `path`
|
1348
1341
|
# @return [String]
|
1349
1342
|
attr_accessor :path
|
1350
1343
|
|
1351
|
-
#
|
1344
|
+
# Not supported by Cloud Run.
|
1352
1345
|
# Corresponds to the JSON property `scheme`
|
1353
1346
|
# @return [String]
|
1354
1347
|
attr_accessor :scheme
|
@@ -1391,15 +1384,15 @@ module Google
|
|
1391
1384
|
end
|
1392
1385
|
end
|
1393
1386
|
|
1394
|
-
# Job represents the configuration of a single job
|
1395
|
-
#
|
1387
|
+
# Job represents the configuration of a single job, which references a container
|
1388
|
+
# image which is run to completion.
|
1396
1389
|
class Job
|
1397
1390
|
include Google::Apis::Core::Hashable
|
1398
1391
|
|
1399
1392
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
1400
1393
|
# object. Servers should convert recognized schemas to the latest internal value,
|
1401
1394
|
# and may reject unrecognized values. More info: https://git.k8s.io/community/
|
1402
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
1395
|
+
# contributors/devel/sig-architecture/api-conventions.md#resources
|
1403
1396
|
# Corresponds to the JSON property `apiVersion`
|
1404
1397
|
# @return [String]
|
1405
1398
|
attr_accessor :api_version
|
@@ -1407,8 +1400,7 @@ module Google
|
|
1407
1400
|
# Optional. Kind is a string value representing the REST resource this object
|
1408
1401
|
# represents. Servers may infer this from the endpoint the client submits
|
1409
1402
|
# 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
|
1403
|
+
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
1412
1404
|
# Corresponds to the JSON property `kind`
|
1413
1405
|
# @return [String]
|
1414
1406
|
attr_accessor :kind
|
@@ -1468,8 +1460,10 @@ module Google
|
|
1468
1460
|
class JobStatus
|
1469
1461
|
include Google::Apis::Core::Hashable
|
1470
1462
|
|
1471
|
-
#
|
1472
|
-
#
|
1463
|
+
# Conditions communicate information about ongoing/complete reconciliation
|
1464
|
+
# processes that bring the "spec" inline with the observed state of the world.
|
1465
|
+
# Job-specific conditions include: * `Ready`: `True` when the job is ready to be
|
1466
|
+
# executed.
|
1473
1467
|
# Corresponds to the JSON property `conditions`
|
1474
1468
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
1475
1469
|
attr_accessor :conditions
|
@@ -1589,9 +1583,8 @@ module Google
|
|
1589
1583
|
# @return [String]
|
1590
1584
|
attr_accessor :kind
|
1591
1585
|
|
1592
|
-
#
|
1593
|
-
#
|
1594
|
-
# ListMeta`.
|
1586
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1587
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1595
1588
|
# Corresponds to the JSON property `metadata`
|
1596
1589
|
# @return [Google::Apis::RunV1::ListMeta]
|
1597
1590
|
attr_accessor :metadata
|
@@ -1634,9 +1627,8 @@ module Google
|
|
1634
1627
|
# @return [String]
|
1635
1628
|
attr_accessor :kind
|
1636
1629
|
|
1637
|
-
#
|
1638
|
-
#
|
1639
|
-
# ListMeta`.
|
1630
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1631
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1640
1632
|
# Corresponds to the JSON property `metadata`
|
1641
1633
|
# @return [Google::Apis::RunV1::ListMeta]
|
1642
1634
|
attr_accessor :metadata
|
@@ -1679,9 +1671,8 @@ module Google
|
|
1679
1671
|
# @return [String]
|
1680
1672
|
attr_accessor :kind
|
1681
1673
|
|
1682
|
-
#
|
1683
|
-
#
|
1684
|
-
# ListMeta`.
|
1674
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1675
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1685
1676
|
# Corresponds to the JSON property `metadata`
|
1686
1677
|
# @return [Google::Apis::RunV1::ListMeta]
|
1687
1678
|
attr_accessor :metadata
|
@@ -1724,9 +1715,8 @@ module Google
|
|
1724
1715
|
# @return [String]
|
1725
1716
|
attr_accessor :kind
|
1726
1717
|
|
1727
|
-
#
|
1728
|
-
#
|
1729
|
-
# ListMeta`.
|
1718
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1719
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1730
1720
|
# Corresponds to the JSON property `metadata`
|
1731
1721
|
# @return [Google::Apis::RunV1::ListMeta]
|
1732
1722
|
attr_accessor :metadata
|
@@ -1775,35 +1765,28 @@ module Google
|
|
1775
1765
|
end
|
1776
1766
|
end
|
1777
1767
|
|
1778
|
-
#
|
1779
|
-
#
|
1780
|
-
# ListMeta`.
|
1768
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1769
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1781
1770
|
class ListMeta
|
1782
1771
|
include Google::Apis::Core::Hashable
|
1783
1772
|
|
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.
|
1773
|
+
# Continuation token is a value emitted when the count of items is larger than
|
1774
|
+
# the user/system limit. To retrieve the next page of items, pass the value of `
|
1775
|
+
# continue` as the next request's `page_token`.
|
1791
1776
|
# Corresponds to the JSON property `continue`
|
1792
1777
|
# @return [String]
|
1793
1778
|
attr_accessor :continue
|
1794
1779
|
|
1795
|
-
#
|
1796
|
-
# be used by clients to determine when objects have changed.
|
1797
|
-
#
|
1798
|
-
#
|
1799
|
-
#
|
1800
|
-
# optional
|
1780
|
+
# Opaque string that identifies the server's internal version of this object. It
|
1781
|
+
# can be used by clients to determine when objects have changed. If the message
|
1782
|
+
# is passed back to the server, it must be left unmodified. https://git.k8s.io/
|
1783
|
+
# community/contributors/devel/api-conventions.md#concurrency-control-and-
|
1784
|
+
# consistency
|
1801
1785
|
# Corresponds to the JSON property `resourceVersion`
|
1802
1786
|
# @return [String]
|
1803
1787
|
attr_accessor :resource_version
|
1804
1788
|
|
1805
|
-
#
|
1806
|
-
# +optional
|
1789
|
+
# URL representing this object.
|
1807
1790
|
# Corresponds to the JSON property `selfLink`
|
1808
1791
|
# @return [String]
|
1809
1792
|
attr_accessor :self_link
|
@@ -1839,9 +1822,8 @@ module Google
|
|
1839
1822
|
# @return [String]
|
1840
1823
|
attr_accessor :kind
|
1841
1824
|
|
1842
|
-
#
|
1843
|
-
#
|
1844
|
-
# ListMeta`.
|
1825
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1826
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1845
1827
|
# Corresponds to the JSON property `metadata`
|
1846
1828
|
# @return [Google::Apis::RunV1::ListMeta]
|
1847
1829
|
attr_accessor :metadata
|
@@ -1884,9 +1866,8 @@ module Google
|
|
1884
1866
|
# @return [String]
|
1885
1867
|
attr_accessor :kind
|
1886
1868
|
|
1887
|
-
#
|
1888
|
-
#
|
1889
|
-
# ListMeta`.
|
1869
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1870
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1890
1871
|
# Corresponds to the JSON property `metadata`
|
1891
1872
|
# @return [Google::Apis::RunV1::ListMeta]
|
1892
1873
|
attr_accessor :metadata
|
@@ -1914,7 +1895,7 @@ module Google
|
|
1914
1895
|
class ListServicesResponse
|
1915
1896
|
include Google::Apis::Core::Hashable
|
1916
1897
|
|
1917
|
-
# The API version for this call
|
1898
|
+
# The API version for this call; returns "serving.knative.dev/v1".
|
1918
1899
|
# Corresponds to the JSON property `apiVersion`
|
1919
1900
|
# @return [String]
|
1920
1901
|
attr_accessor :api_version
|
@@ -1924,19 +1905,19 @@ module Google
|
|
1924
1905
|
# @return [Array<Google::Apis::RunV1::Service>]
|
1925
1906
|
attr_accessor :items
|
1926
1907
|
|
1927
|
-
# The kind of this resource
|
1908
|
+
# The kind of this resource; returns "ServiceList".
|
1928
1909
|
# Corresponds to the JSON property `kind`
|
1929
1910
|
# @return [String]
|
1930
1911
|
attr_accessor :kind
|
1931
1912
|
|
1932
|
-
#
|
1933
|
-
#
|
1934
|
-
# ListMeta`.
|
1913
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1914
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1935
1915
|
# Corresponds to the JSON property `metadata`
|
1936
1916
|
# @return [Google::Apis::RunV1::ListMeta]
|
1937
1917
|
attr_accessor :metadata
|
1938
1918
|
|
1939
|
-
#
|
1919
|
+
# For calls against the global endpoint, returns the list of Cloud locations
|
1920
|
+
# that could not be reached. For regional calls, this field is not used.
|
1940
1921
|
# Corresponds to the JSON property `unreachable`
|
1941
1922
|
# @return [Array<String>]
|
1942
1923
|
attr_accessor :unreachable
|
@@ -1974,9 +1955,8 @@ module Google
|
|
1974
1955
|
# @return [String]
|
1975
1956
|
attr_accessor :kind
|
1976
1957
|
|
1977
|
-
#
|
1978
|
-
#
|
1979
|
-
# ListMeta`.
|
1958
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1959
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1980
1960
|
# Corresponds to the JSON property `metadata`
|
1981
1961
|
# @return [Google::Apis::RunV1::ListMeta]
|
1982
1962
|
attr_accessor :metadata
|
@@ -2000,13 +1980,13 @@ module Google
|
|
2000
1980
|
end
|
2001
1981
|
end
|
2002
1982
|
|
2003
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
2004
|
-
# let you locate the referenced object inside the same namespace.
|
1983
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
1984
|
+
# to let you locate the referenced object inside the same namespace.
|
2005
1985
|
class LocalObjectReference
|
2006
1986
|
include Google::Apis::Core::Hashable
|
2007
1987
|
|
2008
|
-
#
|
2009
|
-
#
|
1988
|
+
# Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/
|
1989
|
+
# working-with-objects/names/#names
|
2010
1990
|
# Corresponds to the JSON property `name`
|
2011
1991
|
# @return [String]
|
2012
1992
|
attr_accessor :name
|
@@ -2073,150 +2053,118 @@ module Google
|
|
2073
2053
|
class ObjectMeta
|
2074
2054
|
include Google::Apis::Core::Hashable
|
2075
2055
|
|
2076
|
-
#
|
2077
|
-
#
|
2078
|
-
#
|
2079
|
-
#
|
2056
|
+
# Unstructured key value map stored with a resource that may be set by external
|
2057
|
+
# tools to store and retrieve arbitrary metadata. They are not queryable and
|
2058
|
+
# should be preserved when modifying objects. In Cloud Run, annotations with '
|
2059
|
+
# run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the
|
2060
|
+
# accepted annotations will be different depending on the resource type. * `
|
2061
|
+
# autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/
|
2062
|
+
# minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`:
|
2063
|
+
# Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job,
|
2064
|
+
# Execution. * `run.googleapis.com/client-name`: All resources. * `run.
|
2065
|
+
# googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/
|
2066
|
+
# cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. *
|
2067
|
+
# `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-
|
2068
|
+
# key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision,
|
2069
|
+
# Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. *
|
2070
|
+
# `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`:
|
2071
|
+
# Service. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `
|
2072
|
+
# run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.
|
2073
|
+
# googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-
|
2074
|
+
# session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `
|
2075
|
+
# run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-
|
2076
|
+
# access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-
|
2077
|
+
# egress`: Revision, Execution. Execution. More info: https://kubernetes.io/docs/
|
2078
|
+
# user-guide/annotations
|
2080
2079
|
# Corresponds to the JSON property `annotations`
|
2081
2080
|
# @return [Hash<String,String>]
|
2082
2081
|
attr_accessor :annotations
|
2083
2082
|
|
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.
|
2083
|
+
# Not supported by Cloud Run
|
2088
2084
|
# Corresponds to the JSON property `clusterName`
|
2089
2085
|
# @return [String]
|
2090
2086
|
attr_accessor :cluster_name
|
2091
2087
|
|
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
|
2088
|
+
# UTC timestamp representing the server time when this object was created. More
|
2089
|
+
# info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
2090
|
+
# metadata
|
2098
2091
|
# Corresponds to the JSON property `creationTimestamp`
|
2099
2092
|
# @return [String]
|
2100
2093
|
attr_accessor :creation_timestamp
|
2101
2094
|
|
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.
|
2095
|
+
# Not supported by Cloud Run
|
2105
2096
|
# Corresponds to the JSON property `deletionGracePeriodSeconds`
|
2106
2097
|
# @return [Fixnum]
|
2107
2098
|
attr_accessor :deletion_grace_period_seconds
|
2108
2099
|
|
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
|
2100
|
+
# The read-only soft deletion timestamp for this resource. In Cloud Run, users
|
2101
|
+
# are not able to set this field. Instead, they must call the corresponding
|
2102
|
+
# Delete API.
|
2128
2103
|
# Corresponds to the JSON property `deletionTimestamp`
|
2129
2104
|
# @return [String]
|
2130
2105
|
attr_accessor :deletion_timestamp
|
2131
2106
|
|
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
|
2107
|
+
# Not supported by Cloud Run
|
2137
2108
|
# Corresponds to the JSON property `finalizers`
|
2138
2109
|
# @return [Array<String>]
|
2139
2110
|
attr_accessor :finalizers
|
2140
2111
|
|
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;
|
2112
|
+
# Not supported by Cloud Run
|
2154
2113
|
# Corresponds to the JSON property `generateName`
|
2155
2114
|
# @return [String]
|
2156
2115
|
attr_accessor :generate_name
|
2157
2116
|
|
2158
|
-
#
|
2159
|
-
# state.
|
2117
|
+
# A system-provided sequence number representing a specific generation of the
|
2118
|
+
# desired state.
|
2160
2119
|
# Corresponds to the JSON property `generation`
|
2161
2120
|
# @return [Fixnum]
|
2162
2121
|
attr_accessor :generation
|
2163
2122
|
|
2164
|
-
#
|
2165
|
-
#
|
2166
|
-
#
|
2167
|
-
# labels
|
2123
|
+
# Map of string keys and values that can be used to organize and categorize (
|
2124
|
+
# scope and select) objects. May match selectors of replication controllers and
|
2125
|
+
# routes. More info: https://kubernetes.io/docs/user-guide/labels
|
2168
2126
|
# Corresponds to the JSON property `labels`
|
2169
2127
|
# @return [Hash<String,String>]
|
2170
2128
|
attr_accessor :labels
|
2171
2129
|
|
2172
|
-
#
|
2173
|
-
#
|
2174
|
-
#
|
2175
|
-
#
|
2176
|
-
#
|
2177
|
-
# ObjectMeta is part of a namespaces.services.create request, name must contain
|
2178
|
-
# fewer than 50 characters. +optional
|
2130
|
+
# Required. The name of the resource. In Cloud Run, name is required when
|
2131
|
+
# creating top-level resources (Service, Job), must be unique within a Cloud Run
|
2132
|
+
# project/region, and cannot be changed once created. More info: https://
|
2133
|
+
# kubernetes.io/docs/user-guide/identifiers#names If ObjectMeta is part of a
|
2134
|
+
# CreateServiceRequest, name must contain fewer than 50 characters.
|
2179
2135
|
# Corresponds to the JSON property `name`
|
2180
2136
|
# @return [String]
|
2181
2137
|
attr_accessor :name
|
2182
2138
|
|
2183
|
-
#
|
2184
|
-
#
|
2185
|
-
# or project number.
|
2139
|
+
# Required. Defines the space within each name must be unique within a Cloud Run
|
2140
|
+
# region. In Cloud Run, it must be project ID or number.
|
2186
2141
|
# Corresponds to the JSON property `namespace`
|
2187
2142
|
# @return [String]
|
2188
2143
|
attr_accessor :namespace
|
2189
2144
|
|
2190
|
-
#
|
2191
|
-
# ALL objects in the list have been deleted, this object will be garbage
|
2192
|
-
# collected.
|
2145
|
+
# Not supported by Cloud Run
|
2193
2146
|
# Corresponds to the JSON property `ownerReferences`
|
2194
2147
|
# @return [Array<Google::Apis::RunV1::OwnerReference>]
|
2195
2148
|
attr_accessor :owner_references
|
2196
2149
|
|
2197
|
-
#
|
2198
|
-
# that can be used by clients to determine when objects have changed. May
|
2199
|
-
# used for optimistic concurrency, change detection, and the watch operation
|
2200
|
-
# a resource or set of resources. Clients must treat these values as opaque
|
2201
|
-
# passed unmodified back to the server or omit the value to disable conflict-
|
2202
|
-
# detection.
|
2203
|
-
#
|
2204
|
-
# by clients or omitted. More info: https://git.k8s.io/community/contributors/
|
2205
|
-
# devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
2150
|
+
# Opaque, system-generated value that represents the internal version of this
|
2151
|
+
# object that can be used by clients to determine when objects have changed. May
|
2152
|
+
# be used for optimistic concurrency, change detection, and the watch operation
|
2153
|
+
# on a resource or set of resources. Clients must treat these values as opaque
|
2154
|
+
# and passed unmodified back to the server or omit the value to disable conflict-
|
2155
|
+
# detection. More info: https://git.k8s.io/community/contributors/devel/sig-
|
2156
|
+
# architecture/api-conventions.md#concurrency-control-and-consistency
|
2206
2157
|
# Corresponds to the JSON property `resourceVersion`
|
2207
2158
|
# @return [String]
|
2208
2159
|
attr_accessor :resource_version
|
2209
2160
|
|
2210
|
-
#
|
2211
|
-
# Read-only. string selfLink = 4;
|
2161
|
+
# URL representing this object.
|
2212
2162
|
# Corresponds to the JSON property `selfLink`
|
2213
2163
|
# @return [String]
|
2214
2164
|
attr_accessor :self_link
|
2215
2165
|
|
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
|
2166
|
+
# Unique, system-generated identifier for this resource. More info: https://
|
2167
|
+
# kubernetes.io/docs/user-guide/identifiers#uids
|
2220
2168
|
# Corresponds to the JSON property `uid`
|
2221
2169
|
# @return [String]
|
2222
2170
|
attr_accessor :uid
|
@@ -2245,47 +2193,38 @@ module Google
|
|
2245
2193
|
end
|
2246
2194
|
end
|
2247
2195
|
|
2248
|
-
#
|
2249
|
-
# object. Currently, an owning object must be in the same namespace, so there is
|
2250
|
-
# no namespace field.
|
2196
|
+
# This is not supported or used by Cloud Run.
|
2251
2197
|
class OwnerReference
|
2252
2198
|
include Google::Apis::Core::Hashable
|
2253
2199
|
|
2254
|
-
#
|
2200
|
+
# This is not supported or used by Cloud Run.
|
2255
2201
|
# Corresponds to the JSON property `apiVersion`
|
2256
2202
|
# @return [String]
|
2257
2203
|
attr_accessor :api_version
|
2258
2204
|
|
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
|
2205
|
+
# This is not supported or used by Cloud Run.
|
2264
2206
|
# Corresponds to the JSON property `blockOwnerDeletion`
|
2265
2207
|
# @return [Boolean]
|
2266
2208
|
attr_accessor :block_owner_deletion
|
2267
2209
|
alias_method :block_owner_deletion?, :block_owner_deletion
|
2268
2210
|
|
2269
|
-
#
|
2211
|
+
# This is not supported or used by Cloud Run.
|
2270
2212
|
# Corresponds to the JSON property `controller`
|
2271
2213
|
# @return [Boolean]
|
2272
2214
|
attr_accessor :controller
|
2273
2215
|
alias_method :controller?, :controller
|
2274
2216
|
|
2275
|
-
#
|
2276
|
-
# devel/sig-architecture/api-conventions.md#types-kinds
|
2217
|
+
# This is not supported or used by Cloud Run.
|
2277
2218
|
# Corresponds to the JSON property `kind`
|
2278
2219
|
# @return [String]
|
2279
2220
|
attr_accessor :kind
|
2280
2221
|
|
2281
|
-
#
|
2282
|
-
# identifiers#names
|
2222
|
+
# This is not supported or used by Cloud Run.
|
2283
2223
|
# Corresponds to the JSON property `name`
|
2284
2224
|
# @return [String]
|
2285
2225
|
attr_accessor :name
|
2286
2226
|
|
2287
|
-
#
|
2288
|
-
# identifiers#uids
|
2227
|
+
# This is not supported or used by Cloud Run.
|
2289
2228
|
# Corresponds to the JSON property `uid`
|
2290
2229
|
# @return [String]
|
2291
2230
|
attr_accessor :uid
|
@@ -2400,19 +2339,18 @@ module Google
|
|
2400
2339
|
end
|
2401
2340
|
end
|
2402
2341
|
|
2403
|
-
#
|
2404
|
-
#
|
2405
|
-
# traffic.
|
2342
|
+
# Probe describes a health check to be performed against a container to
|
2343
|
+
# determine whether it is alive or ready to receive traffic.
|
2406
2344
|
class Probe
|
2407
2345
|
include Google::Apis::Core::Hashable
|
2408
2346
|
|
2409
|
-
# Not supported by Cloud Run ExecAction describes a "run in container" action.
|
2347
|
+
# Not supported by Cloud Run. ExecAction describes a "run in container" action.
|
2410
2348
|
# Corresponds to the JSON property `exec`
|
2411
2349
|
# @return [Google::Apis::RunV1::ExecAction]
|
2412
2350
|
attr_accessor :exec
|
2413
2351
|
|
2414
|
-
#
|
2415
|
-
#
|
2352
|
+
# Minimum consecutive failures for the probe to be considered failed after
|
2353
|
+
# having succeeded. Defaults to 3. Minimum value is 1.
|
2416
2354
|
# Corresponds to the JSON property `failureThreshold`
|
2417
2355
|
# @return [Fixnum]
|
2418
2356
|
attr_accessor :failure_threshold
|
@@ -2427,8 +2365,8 @@ module Google
|
|
2427
2365
|
# @return [Google::Apis::RunV1::HttpGetAction]
|
2428
2366
|
attr_accessor :http_get
|
2429
2367
|
|
2430
|
-
#
|
2431
|
-
#
|
2368
|
+
# Number of seconds after the container has started before the probe is
|
2369
|
+
# initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for
|
2432
2370
|
# liveness probe is 3600. Maximum value for startup probe is 240. More info:
|
2433
2371
|
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
|
2434
2372
|
# probes
|
@@ -2436,15 +2374,15 @@ module Google
|
|
2436
2374
|
# @return [Fixnum]
|
2437
2375
|
attr_accessor :initial_delay_seconds
|
2438
2376
|
|
2439
|
-
#
|
2440
|
-
#
|
2441
|
-
#
|
2377
|
+
# How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
|
2378
|
+
# value is 1. Maximum value for liveness probe is 3600. Maximum value for
|
2379
|
+
# startup probe is 240. Must be greater or equal than timeout_seconds.
|
2442
2380
|
# Corresponds to the JSON property `periodSeconds`
|
2443
2381
|
# @return [Fixnum]
|
2444
2382
|
attr_accessor :period_seconds
|
2445
2383
|
|
2446
|
-
#
|
2447
|
-
#
|
2384
|
+
# Minimum consecutive successes for the probe to be considered successful after
|
2385
|
+
# having failed. Must be 1 if set.
|
2448
2386
|
# Corresponds to the JSON property `successThreshold`
|
2449
2387
|
# @return [Fixnum]
|
2450
2388
|
attr_accessor :success_threshold
|
@@ -2454,10 +2392,10 @@ module Google
|
|
2454
2392
|
# @return [Google::Apis::RunV1::TcpSocketAction]
|
2455
2393
|
attr_accessor :tcp_socket
|
2456
2394
|
|
2457
|
-
#
|
2458
|
-
#
|
2459
|
-
#
|
2460
|
-
#
|
2395
|
+
# Number of seconds after which the probe times out. Defaults to 1 second.
|
2396
|
+
# Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
|
2397
|
+
# More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#
|
2398
|
+
# container-probes
|
2461
2399
|
# Corresponds to the JSON property `timeoutSeconds`
|
2462
2400
|
# @return [Fixnum]
|
2463
2401
|
attr_accessor :timeout_seconds
|
@@ -2517,17 +2455,17 @@ module Google
|
|
2517
2455
|
class ResourceRequirements
|
2518
2456
|
include Google::Apis::Core::Hashable
|
2519
2457
|
|
2520
|
-
#
|
2521
|
-
#
|
2522
|
-
#
|
2458
|
+
# Only memory and CPU are supported. Limits describes the maximum amount of
|
2459
|
+
# compute resources allowed. The values of the map is string form of the '
|
2460
|
+
# quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/
|
2523
2461
|
# staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
2524
2462
|
# Corresponds to the JSON property `limits`
|
2525
2463
|
# @return [Hash<String,String>]
|
2526
2464
|
attr_accessor :limits
|
2527
2465
|
|
2528
|
-
#
|
2529
|
-
#
|
2530
|
-
#
|
2466
|
+
# Only memory and CPU are supported. Requests describes the minimum amount of
|
2467
|
+
# compute resources required. If Requests is omitted for a container, it
|
2468
|
+
# defaults to Limits if that is explicitly specified, otherwise to an
|
2531
2469
|
# implementation-defined value. The values of the map is string form of the '
|
2532
2470
|
# quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/
|
2533
2471
|
# staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
@@ -2548,8 +2486,8 @@ module Google
|
|
2548
2486
|
|
2549
2487
|
# Revision is an immutable snapshot of code and configuration. A revision
|
2550
2488
|
# references a container image. Revisions are created by updates to a
|
2551
|
-
# Configuration. See also: https://github.com/knative/
|
2552
|
-
#
|
2489
|
+
# Configuration. See also: https://github.com/knative/specs/blob/main/specs/
|
2490
|
+
# serving/overview.md#revision
|
2553
2491
|
class Revision
|
2554
2492
|
include Google::Apis::Core::Hashable
|
2555
2493
|
|
@@ -2599,10 +2537,8 @@ module Google
|
|
2599
2537
|
include Google::Apis::Core::Hashable
|
2600
2538
|
|
2601
2539
|
# ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
|
2602
|
-
# requests per container instance of the Revision.
|
2603
|
-
#
|
2604
|
-
# which means concurrency to the application is not limited, and the system
|
2605
|
-
# decides the target concurrency for the autoscaler.
|
2540
|
+
# requests per container instance of the Revision. If not specified, defaults to
|
2541
|
+
# 80.
|
2606
2542
|
# Corresponds to the JSON property `containerConcurrency`
|
2607
2543
|
# @return [Fixnum]
|
2608
2544
|
attr_accessor :container_concurrency
|
@@ -2611,26 +2547,18 @@ module Google
|
|
2611
2547
|
# this Revision. In the context of a Revision, we disallow a number of fields on
|
2612
2548
|
# this Container, including: name and lifecycle. In Cloud Run, only a single
|
2613
2549
|
# container may be provided. The runtime contract is documented here: https://
|
2614
|
-
# github.com/knative/
|
2550
|
+
# github.com/knative/specs/blob/main/specs/serving/runtime-contract.md
|
2615
2551
|
# Corresponds to the JSON property `containers`
|
2616
2552
|
# @return [Array<Google::Apis::RunV1::Container>]
|
2617
2553
|
attr_accessor :containers
|
2618
2554
|
|
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.
|
2555
|
+
# Not supported by Cloud Run.
|
2622
2556
|
# Corresponds to the JSON property `enableServiceLinks`
|
2623
2557
|
# @return [Boolean]
|
2624
2558
|
attr_accessor :enable_service_links
|
2625
2559
|
alias_method :enable_service_links?, :enable_service_links
|
2626
2560
|
|
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.
|
2561
|
+
# Not supported by Cloud Run.
|
2634
2562
|
# Corresponds to the JSON property `imagePullSecrets`
|
2635
2563
|
# @return [Array<Google::Apis::RunV1::LocalObjectReference>]
|
2636
2564
|
attr_accessor :image_pull_secrets
|
@@ -2644,10 +2572,8 @@ module Google
|
|
2644
2572
|
attr_accessor :service_account_name
|
2645
2573
|
|
2646
2574
|
# 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.
|
2575
|
+
# to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed
|
2576
|
+
# value is 3600 seconds (1 hour).
|
2651
2577
|
# Corresponds to the JSON property `timeoutSeconds`
|
2652
2578
|
# @return [Fixnum]
|
2653
2579
|
attr_accessor :timeout_seconds
|
@@ -2678,13 +2604,13 @@ module Google
|
|
2678
2604
|
class RevisionStatus
|
2679
2605
|
include Google::Apis::Core::Hashable
|
2680
2606
|
|
2681
|
-
# Conditions
|
2607
|
+
# Conditions communicate information about ongoing/complete reconciliation
|
2682
2608
|
# processes that bring the "spec" inline with the observed state of the world.
|
2683
2609
|
# As a Revision is being prepared, it will incrementally update conditions.
|
2684
|
-
# Revision-specific conditions include: *
|
2685
|
-
# underlying resources have been provisioned. *
|
2686
|
-
# the Revision readiness check completes. *
|
2687
|
-
# receive traffic.
|
2610
|
+
# Revision-specific conditions include: * `ResourcesAvailable`: `True` when
|
2611
|
+
# underlying resources have been provisioned. * `ContainerHealthy`: `True` when
|
2612
|
+
# the Revision readiness check completes. * `Active`: `True` when the Revision
|
2613
|
+
# may receive traffic.
|
2688
2614
|
# Corresponds to the JSON property `conditions`
|
2689
2615
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
2690
2616
|
attr_accessor :conditions
|
@@ -2763,8 +2689,8 @@ module Google
|
|
2763
2689
|
# referencing the Configuration responsible for creating them; in these cases
|
2764
2690
|
# the Route is additionally responsible for monitoring the Configuration for "
|
2765
2691
|
# 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
|
2692
|
+
# also: https://github.com/knative/specs/blob/main/specs/serving/overview.md#
|
2693
|
+
# route Cloud Run currently supports referencing a single Configuration to
|
2768
2694
|
# automatically deploy the "latest ready" Revision from that Configuration.
|
2769
2695
|
class Route
|
2770
2696
|
include Google::Apis::Core::Hashable
|
@@ -2858,7 +2784,7 @@ module Google
|
|
2858
2784
|
|
2859
2785
|
# Traffic holds the configured traffic distribution. These entries will always
|
2860
2786
|
# contain RevisionName references. When ConfigurationName appears in the spec,
|
2861
|
-
# this will hold the LatestReadyRevisionName that
|
2787
|
+
# this will hold the LatestReadyRevisionName that was last observed.
|
2862
2788
|
# Corresponds to the JSON property `traffic`
|
2863
2789
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
2864
2790
|
attr_accessor :traffic
|
@@ -2897,14 +2823,14 @@ module Google
|
|
2897
2823
|
end
|
2898
2824
|
end
|
2899
2825
|
|
2900
|
-
# Not supported by Cloud Run SecretEnvSource selects a Secret to populate the
|
2826
|
+
# Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the
|
2901
2827
|
# environment variables with. The contents of the target Secret's Data field
|
2902
2828
|
# will represent the key-value pairs as environment variables.
|
2903
2829
|
class SecretEnvSource
|
2904
2830
|
include Google::Apis::Core::Hashable
|
2905
2831
|
|
2906
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
2907
|
-
# let you locate the referenced object inside the same namespace.
|
2832
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
2833
|
+
# to let you locate the referenced object inside the same namespace.
|
2908
2834
|
# Corresponds to the JSON property `localObjectReference`
|
2909
2835
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
2910
2836
|
attr_accessor :local_object_reference
|
@@ -2914,7 +2840,7 @@ module Google
|
|
2914
2840
|
# @return [String]
|
2915
2841
|
attr_accessor :name
|
2916
2842
|
|
2917
|
-
#
|
2843
|
+
# Specify whether the Secret must be defined
|
2918
2844
|
# Corresponds to the JSON property `optional`
|
2919
2845
|
# @return [Boolean]
|
2920
2846
|
attr_accessor :optional
|
@@ -2936,15 +2862,15 @@ module Google
|
|
2936
2862
|
class SecretKeySelector
|
2937
2863
|
include Google::Apis::Core::Hashable
|
2938
2864
|
|
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.
|
2865
|
+
# Required. A Cloud Secret Manager secret version. Must be 'latest' for the
|
2866
|
+
# latest version or an integer for a specific version. The key of the secret to
|
2867
|
+
# select from. Must be a valid secret key.
|
2942
2868
|
# Corresponds to the JSON property `key`
|
2943
2869
|
# @return [String]
|
2944
2870
|
attr_accessor :key
|
2945
2871
|
|
2946
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
2947
|
-
# let you locate the referenced object inside the same namespace.
|
2872
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
2873
|
+
# to let you locate the referenced object inside the same namespace.
|
2948
2874
|
# Corresponds to the JSON property `localObjectReference`
|
2949
2875
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
2950
2876
|
attr_accessor :local_object_reference
|
@@ -2959,7 +2885,7 @@ module Google
|
|
2959
2885
|
# @return [String]
|
2960
2886
|
attr_accessor :name
|
2961
2887
|
|
2962
|
-
#
|
2888
|
+
# Specify whether the Secret or its key must be defined.
|
2963
2889
|
# Corresponds to the JSON property `optional`
|
2964
2890
|
# @return [Boolean]
|
2965
2891
|
attr_accessor :optional
|
@@ -2978,10 +2904,11 @@ module Google
|
|
2978
2904
|
end
|
2979
2905
|
end
|
2980
2906
|
|
2981
|
-
#
|
2982
|
-
#
|
2983
|
-
#
|
2984
|
-
#
|
2907
|
+
# A volume representing a secret stored in Google Secret Manager. The secret's
|
2908
|
+
# value will be presented as the content of a file whose name is defined in the
|
2909
|
+
# item path. If no items are defined, the name of the file is the secret_name.
|
2910
|
+
# The contents of the target Secret's Data field will be presented in a volume
|
2911
|
+
# as files using the keys in the Data field as the file names.
|
2985
2912
|
class SecretVolumeSource
|
2986
2913
|
include Google::Apis::Core::Hashable
|
2987
2914
|
|
@@ -3000,21 +2927,17 @@ module Google
|
|
3000
2927
|
# @return [Fixnum]
|
3001
2928
|
attr_accessor :default_mode
|
3002
2929
|
|
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.
|
2930
|
+
# A list of secret versions to mount in the volume. If no items are specified,
|
2931
|
+
# the volume will expose a file with the same name as the secret name. The
|
2932
|
+
# contents of the file will be the data in the latest version of the secret. If
|
2933
|
+
# items are specified, the key will be used as the version to fetch from Cloud
|
2934
|
+
# Secret Manager and the path will be the name of the file exposed in the volume.
|
2935
|
+
# When items are defined, they must specify both a key and a path.
|
3013
2936
|
# Corresponds to the JSON property `items`
|
3014
2937
|
# @return [Array<Google::Apis::RunV1::KeyToPath>]
|
3015
2938
|
attr_accessor :items
|
3016
2939
|
|
3017
|
-
#
|
2940
|
+
# Not supported by Cloud Run.
|
3018
2941
|
# Corresponds to the JSON property `optional`
|
3019
2942
|
# @return [Boolean]
|
3020
2943
|
attr_accessor :optional
|
@@ -3043,15 +2966,15 @@ module Google
|
|
3043
2966
|
end
|
3044
2967
|
end
|
3045
2968
|
|
3046
|
-
# Not supported by Cloud Run SecurityContext holds security configuration that
|
2969
|
+
# Not supported by Cloud Run. SecurityContext holds security configuration that
|
3047
2970
|
# will be applied to a container. Some fields are present in both
|
3048
2971
|
# SecurityContext and PodSecurityContext. When both are set, the values in
|
3049
2972
|
# SecurityContext take precedence.
|
3050
2973
|
class SecurityContext
|
3051
2974
|
include Google::Apis::Core::Hashable
|
3052
2975
|
|
3053
|
-
#
|
3054
|
-
#
|
2976
|
+
# The UID to run the entrypoint of the container process. Defaults to user
|
2977
|
+
# specified in image metadata if unspecified. May also be set in
|
3055
2978
|
# PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the
|
3056
2979
|
# value specified in SecurityContext takes precedence.
|
3057
2980
|
# Corresponds to the JSON property `runAsUser`
|
@@ -3081,12 +3004,12 @@ module Google
|
|
3081
3004
|
class Service
|
3082
3005
|
include Google::Apis::Core::Hashable
|
3083
3006
|
|
3084
|
-
# The API version for this call
|
3007
|
+
# The API version for this call. It must be "serving.knative.dev/v1".
|
3085
3008
|
# Corresponds to the JSON property `apiVersion`
|
3086
3009
|
# @return [String]
|
3087
3010
|
attr_accessor :api_version
|
3088
3011
|
|
3089
|
-
# The kind of resource
|
3012
|
+
# The kind of resource. It must be "Service".
|
3090
3013
|
# Corresponds to the JSON property `kind`
|
3091
3014
|
# @return [String]
|
3092
3015
|
attr_accessor :kind
|
@@ -3134,8 +3057,8 @@ module Google
|
|
3134
3057
|
# @return [Google::Apis::RunV1::RevisionTemplate]
|
3135
3058
|
attr_accessor :template
|
3136
3059
|
|
3137
|
-
#
|
3138
|
-
#
|
3060
|
+
# Specifies how to distribute traffic over a collection of Knative Revisions and
|
3061
|
+
# Configurations to the Service's main URL.
|
3139
3062
|
# Corresponds to the JSON property `traffic`
|
3140
3063
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
3141
3064
|
attr_accessor :traffic
|
@@ -3160,49 +3083,45 @@ module Google
|
|
3160
3083
|
# @return [Google::Apis::RunV1::Addressable]
|
3161
3084
|
attr_accessor :address
|
3162
3085
|
|
3163
|
-
# Conditions
|
3164
|
-
# processes that bring the
|
3165
|
-
# Service-specific conditions include: *
|
3166
|
-
# underlying Configuration is ready. *
|
3167
|
-
# Route is ready. *
|
3168
|
-
# Configuration are ready.
|
3086
|
+
# Conditions communicate information about ongoing/complete reconciliation
|
3087
|
+
# processes that bring the `spec` inline with the observed state of the world.
|
3088
|
+
# Service-specific conditions include: * `ConfigurationsReady`: `True` when the
|
3089
|
+
# underlying Configuration is ready. * `RoutesReady`: `True` when the underlying
|
3090
|
+
# Route is ready. * `Ready`: `True` when all underlying resources are ready.
|
3169
3091
|
# Corresponds to the JSON property `conditions`
|
3170
3092
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
3171
3093
|
attr_accessor :conditions
|
3172
3094
|
|
3173
|
-
#
|
3174
|
-
#
|
3175
|
-
# that use LatestReadyRevisionName.
|
3095
|
+
# Name of the last revision that was created from this Service's Configuration.
|
3096
|
+
# It might not be ready yet, for that use LatestReadyRevisionName.
|
3176
3097
|
# Corresponds to the JSON property `latestCreatedRevisionName`
|
3177
3098
|
# @return [String]
|
3178
3099
|
attr_accessor :latest_created_revision_name
|
3179
3100
|
|
3180
|
-
#
|
3181
|
-
#
|
3182
|
-
# condition become "True".
|
3101
|
+
# Name of the latest Revision from this Service's Configuration that has had its
|
3102
|
+
# `Ready` condition become `True`.
|
3183
3103
|
# Corresponds to the JSON property `latestReadyRevisionName`
|
3184
3104
|
# @return [String]
|
3185
3105
|
attr_accessor :latest_ready_revision_name
|
3186
3106
|
|
3187
|
-
#
|
3188
|
-
#
|
3189
|
-
#
|
3190
|
-
# True or False.
|
3107
|
+
# Returns the generation last fully processed by the system. This will only
|
3108
|
+
# match metadata.generation when reconciliation is complete. Clients polling for
|
3109
|
+
# completed reconciliation should poll until observedGeneration = metadata.
|
3110
|
+
# generation and the Ready condition's status is True or False.
|
3191
3111
|
# Corresponds to the JSON property `observedGeneration`
|
3192
3112
|
# @return [Fixnum]
|
3193
3113
|
attr_accessor :observed_generation
|
3194
3114
|
|
3195
|
-
#
|
3196
|
-
#
|
3197
|
-
#
|
3198
|
-
# observed.
|
3115
|
+
# Holds the configured traffic distribution. These entries will always contain
|
3116
|
+
# RevisionName references. When ConfigurationName appears in the spec, this will
|
3117
|
+
# hold the LatestReadyRevisionName that we last observed.
|
3199
3118
|
# Corresponds to the JSON property `traffic`
|
3200
3119
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
3201
3120
|
attr_accessor :traffic
|
3202
3121
|
|
3203
|
-
#
|
3204
|
-
#
|
3205
|
-
#
|
3122
|
+
# URL that will distribute traffic over the provided traffic targets. It
|
3123
|
+
# generally has the form https://`route-hash`-`project-hash`-`cluster-level-
|
3124
|
+
# suffix`.a.run.app
|
3206
3125
|
# Corresponds to the JSON property `url`
|
3207
3126
|
# @return [String]
|
3208
3127
|
attr_accessor :url
|
@@ -3276,11 +3195,11 @@ module Google
|
|
3276
3195
|
end
|
3277
3196
|
end
|
3278
3197
|
|
3279
|
-
# Status is a return value for calls that don't return other objects
|
3198
|
+
# Status is a return value for calls that don't return other objects.
|
3280
3199
|
class Status
|
3281
3200
|
include Google::Apis::Core::Hashable
|
3282
3201
|
|
3283
|
-
# Suggested HTTP return code for this status, 0 if not set.
|
3202
|
+
# Suggested HTTP return code for this status, 0 if not set.
|
3284
3203
|
# Corresponds to the JSON property `code`
|
3285
3204
|
# @return [Fixnum]
|
3286
3205
|
attr_accessor :code
|
@@ -3294,28 +3213,27 @@ module Google
|
|
3294
3213
|
# @return [Google::Apis::RunV1::StatusDetails]
|
3295
3214
|
attr_accessor :details
|
3296
3215
|
|
3297
|
-
# A human-readable description of the status of this operation.
|
3216
|
+
# A human-readable description of the status of this operation.
|
3298
3217
|
# Corresponds to the JSON property `message`
|
3299
3218
|
# @return [String]
|
3300
3219
|
attr_accessor :message
|
3301
3220
|
|
3302
|
-
#
|
3303
|
-
#
|
3304
|
-
# ListMeta`.
|
3221
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
3222
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
3305
3223
|
# Corresponds to the JSON property `metadata`
|
3306
3224
|
# @return [Google::Apis::RunV1::ListMeta]
|
3307
3225
|
attr_accessor :metadata
|
3308
3226
|
|
3309
3227
|
# A machine-readable description of why this operation is in the "Failure"
|
3310
3228
|
# status. If this value is empty there is no information available. A Reason
|
3311
|
-
# clarifies an HTTP status code but does not override it.
|
3229
|
+
# clarifies an HTTP status code but does not override it.
|
3312
3230
|
# Corresponds to the JSON property `reason`
|
3313
3231
|
# @return [String]
|
3314
3232
|
attr_accessor :reason
|
3315
3233
|
|
3316
3234
|
# Status of the operation. One of: "Success" or "Failure". More info: https://
|
3317
3235
|
# git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
3318
|
-
# spec-and-status
|
3236
|
+
# spec-and-status
|
3319
3237
|
# Corresponds to the JSON property `status`
|
3320
3238
|
# @return [String]
|
3321
3239
|
attr_accessor :status
|
@@ -3343,21 +3261,21 @@ module Google
|
|
3343
3261
|
# The field of the resource that has caused this error, as named by its JSON
|
3344
3262
|
# serialization. May include dot and postfix notation for nested attributes.
|
3345
3263
|
# Arrays are zero-indexed. Fields may appear more than once in an array of
|
3346
|
-
# causes due to fields having multiple errors.
|
3347
|
-
#
|
3348
|
-
#
|
3264
|
+
# causes due to fields having multiple errors. Examples: "name" - the field "
|
3265
|
+
# name" on the current resource "items[0].name" - the field "name" on the first
|
3266
|
+
# array entry in "items"
|
3349
3267
|
# Corresponds to the JSON property `field`
|
3350
3268
|
# @return [String]
|
3351
3269
|
attr_accessor :field
|
3352
3270
|
|
3353
3271
|
# A human-readable description of the cause of the error. This field may be
|
3354
|
-
# presented as-is to a reader.
|
3272
|
+
# presented as-is to a reader.
|
3355
3273
|
# Corresponds to the JSON property `message`
|
3356
3274
|
# @return [String]
|
3357
3275
|
attr_accessor :message
|
3358
3276
|
|
3359
3277
|
# A machine-readable description of the cause of the error. If this value is
|
3360
|
-
# empty there is no information available.
|
3278
|
+
# empty there is no information available.
|
3361
3279
|
# Corresponds to the JSON property `reason`
|
3362
3280
|
# @return [String]
|
3363
3281
|
attr_accessor :reason
|
@@ -3383,13 +3301,12 @@ module Google
|
|
3383
3301
|
include Google::Apis::Core::Hashable
|
3384
3302
|
|
3385
3303
|
# The Causes array includes more details associated with the StatusReason
|
3386
|
-
# failure. Not all StatusReasons may provide detailed causes.
|
3304
|
+
# failure. Not all StatusReasons may provide detailed causes.
|
3387
3305
|
# Corresponds to the JSON property `causes`
|
3388
3306
|
# @return [Array<Google::Apis::RunV1::StatusCause>]
|
3389
3307
|
attr_accessor :causes
|
3390
3308
|
|
3391
|
-
# The group attribute of the resource associated with the status StatusReason.
|
3392
|
-
# optional
|
3309
|
+
# The group attribute of the resource associated with the status StatusReason.
|
3393
3310
|
# Corresponds to the JSON property `group`
|
3394
3311
|
# @return [String]
|
3395
3312
|
attr_accessor :group
|
@@ -3397,13 +3314,13 @@ module Google
|
|
3397
3314
|
# The kind attribute of the resource associated with the status StatusReason. On
|
3398
3315
|
# some operations may differ from the requested resource Kind. More info: https:/
|
3399
3316
|
# /git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
3400
|
-
# types-kinds
|
3317
|
+
# types-kinds
|
3401
3318
|
# Corresponds to the JSON property `kind`
|
3402
3319
|
# @return [String]
|
3403
3320
|
attr_accessor :kind
|
3404
3321
|
|
3405
3322
|
# The name attribute of the resource associated with the status StatusReason (
|
3406
|
-
# when there is a single name which can be described).
|
3323
|
+
# when there is a single name which can be described).
|
3407
3324
|
# Corresponds to the JSON property `name`
|
3408
3325
|
# @return [String]
|
3409
3326
|
attr_accessor :name
|
@@ -3411,13 +3328,13 @@ module Google
|
|
3411
3328
|
# If specified, the time in seconds before the operation should be retried. Some
|
3412
3329
|
# errors may indicate the client must take an alternate action - for those
|
3413
3330
|
# errors this field may indicate how long to wait before taking the alternate
|
3414
|
-
# action.
|
3331
|
+
# action.
|
3415
3332
|
# Corresponds to the JSON property `retryAfterSeconds`
|
3416
3333
|
# @return [Fixnum]
|
3417
3334
|
attr_accessor :retry_after_seconds
|
3418
3335
|
|
3419
3336
|
# 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
|
3337
|
+
# More info: https://kubernetes.io/docs/user-guide/identifiers#uids
|
3421
3338
|
# Corresponds to the JSON property `uid`
|
3422
3339
|
# @return [String]
|
3423
3340
|
attr_accessor :uid
|
@@ -3441,15 +3358,12 @@ module Google
|
|
3441
3358
|
class TcpSocketAction
|
3442
3359
|
include Google::Apis::Core::Hashable
|
3443
3360
|
|
3444
|
-
#
|
3361
|
+
# Not supported by Cloud Run.
|
3445
3362
|
# Corresponds to the JSON property `host`
|
3446
3363
|
# @return [String]
|
3447
3364
|
attr_accessor :host
|
3448
3365
|
|
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.
|
3366
|
+
# Port number to access on the container. Number must be in the range 1 to 65535.
|
3453
3367
|
# Corresponds to the JSON property `port`
|
3454
3368
|
# @return [Fixnum]
|
3455
3369
|
attr_accessor :port
|
@@ -3472,7 +3386,7 @@ module Google
|
|
3472
3386
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
3473
3387
|
# object. Servers should convert recognized schemas to the latest internal value,
|
3474
3388
|
# and may reject unrecognized values. More info: https://git.k8s.io/community/
|
3475
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
3389
|
+
# contributors/devel/sig-architecture/api-conventions.md#resources
|
3476
3390
|
# Corresponds to the JSON property `apiVersion`
|
3477
3391
|
# @return [String]
|
3478
3392
|
attr_accessor :api_version
|
@@ -3480,8 +3394,7 @@ module Google
|
|
3480
3394
|
# Optional. Kind is a string value representing the REST resource this object
|
3481
3395
|
# represents. Servers may infer this from the endpoint the client submits
|
3482
3396
|
# 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
|
3397
|
+
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
3485
3398
|
# Corresponds to the JSON property `kind`
|
3486
3399
|
# @return [String]
|
3487
3400
|
attr_accessor :kind
|
@@ -3497,7 +3410,7 @@ module Google
|
|
3497
3410
|
# @return [Google::Apis::RunV1::TaskSpec]
|
3498
3411
|
attr_accessor :spec
|
3499
3412
|
|
3500
|
-
# TaskStatus represents the status of a task
|
3413
|
+
# TaskStatus represents the status of a task.
|
3501
3414
|
# Corresponds to the JSON property `status`
|
3502
3415
|
# @return [Google::Apis::RunV1::TaskStatus]
|
3503
3416
|
attr_accessor :status
|
@@ -3566,21 +3479,20 @@ module Google
|
|
3566
3479
|
# Optional. Email address of the IAM service account associated with the task of
|
3567
3480
|
# a job execution. The service account represents the identity of the running
|
3568
3481
|
# task, and determines what permissions the task has. If not provided, the task
|
3569
|
-
# will use the project's default service account.
|
3482
|
+
# will use the project's default service account.
|
3570
3483
|
# Corresponds to the JSON property `serviceAccountName`
|
3571
3484
|
# @return [String]
|
3572
3485
|
attr_accessor :service_account_name
|
3573
3486
|
|
3574
|
-
# Optional.
|
3575
|
-
#
|
3576
|
-
#
|
3577
|
-
# timeout. +optional
|
3487
|
+
# Optional. Duration in seconds the task may be active before the system will
|
3488
|
+
# actively try to mark it failed and kill associated containers. This applies
|
3489
|
+
# per attempt of a task, meaning each retry can run for the full timeout.
|
3578
3490
|
# Corresponds to the JSON property `timeoutSeconds`
|
3579
3491
|
# @return [Fixnum]
|
3580
3492
|
attr_accessor :timeout_seconds
|
3581
3493
|
|
3582
3494
|
# Optional. List of volumes that can be mounted by containers belonging to the
|
3583
|
-
# task. More info: https://kubernetes.io/docs/concepts/storage/volumes
|
3495
|
+
# task. More info: https://kubernetes.io/docs/concepts/storage/volumes
|
3584
3496
|
# Corresponds to the JSON property `volumes`
|
3585
3497
|
# @return [Array<Google::Apis::RunV1::Volume>]
|
3586
3498
|
attr_accessor :volumes
|
@@ -3599,20 +3511,22 @@ module Google
|
|
3599
3511
|
end
|
3600
3512
|
end
|
3601
3513
|
|
3602
|
-
# TaskStatus represents the status of a task
|
3514
|
+
# TaskStatus represents the status of a task.
|
3603
3515
|
class TaskStatus
|
3604
3516
|
include Google::Apis::Core::Hashable
|
3605
3517
|
|
3606
3518
|
# Optional. Represents time when the task was completed. It is not guaranteed to
|
3607
3519
|
# be set in happens-before order across separate operations. It is represented
|
3608
|
-
# in RFC3339 form and is in UTC.
|
3520
|
+
# in RFC3339 form and is in UTC.
|
3609
3521
|
# Corresponds to the JSON property `completionTime`
|
3610
3522
|
# @return [String]
|
3611
3523
|
attr_accessor :completion_time
|
3612
3524
|
|
3613
|
-
# Optional.
|
3614
|
-
#
|
3615
|
-
#
|
3525
|
+
# Optional. Conditions communicate information about ongoing/complete
|
3526
|
+
# reconciliation processes that bring the "spec" inline with the observed state
|
3527
|
+
# of the world. Task-specific conditions include: * `Started`: `True` when the
|
3528
|
+
# task has started to execute. * `Completed`: `True` when the task has succeeded.
|
3529
|
+
# `False` when the task has failed.
|
3616
3530
|
# Corresponds to the JSON property `conditions`
|
3617
3531
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
3618
3532
|
attr_accessor :conditions
|
@@ -3632,21 +3546,21 @@ module Google
|
|
3632
3546
|
# @return [String]
|
3633
3547
|
attr_accessor :log_uri
|
3634
3548
|
|
3635
|
-
# Optional. The 'generation' of the
|
3549
|
+
# Optional. The 'generation' of the task that was last processed by the
|
3636
3550
|
# controller.
|
3637
3551
|
# Corresponds to the JSON property `observedGeneration`
|
3638
3552
|
# @return [Fixnum]
|
3639
3553
|
attr_accessor :observed_generation
|
3640
3554
|
|
3641
3555
|
# Optional. The number of times this task was retried. Instances are retried
|
3642
|
-
# when they fail up to the maxRetries limit.
|
3556
|
+
# when they fail up to the maxRetries limit.
|
3643
3557
|
# Corresponds to the JSON property `retried`
|
3644
3558
|
# @return [Fixnum]
|
3645
3559
|
attr_accessor :retried
|
3646
3560
|
|
3647
3561
|
# Optional. Represents time when the task started to run. It is not guaranteed
|
3648
3562
|
# to be set in happens-before order across separate operations. It is
|
3649
|
-
# represented in RFC3339 form and is in UTC.
|
3563
|
+
# represented in RFC3339 form and is in UTC.
|
3650
3564
|
# Corresponds to the JSON property `startTime`
|
3651
3565
|
# @return [String]
|
3652
3566
|
attr_accessor :start_time
|
@@ -3732,12 +3646,12 @@ module Google
|
|
3732
3646
|
class TrafficTarget
|
3733
3647
|
include Google::Apis::Core::Hashable
|
3734
3648
|
|
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
|
-
#
|
3649
|
+
# ConfigurationName of a configuration to whose latest revision which will be
|
3650
|
+
# sent this portion of traffic. When the "status.latestReadyRevisionName" of the
|
3651
|
+
# referenced configuration changes, traffic will automatically migrate from the
|
3652
|
+
# prior "latest ready" revision to the new one. This field is never set in Route'
|
3653
|
+
# s status, only its spec. This is mutually exclusive with RevisionName. Cloud
|
3654
|
+
# Run currently supports a single ConfigurationName.
|
3741
3655
|
# Corresponds to the JSON property `configurationName`
|
3742
3656
|
# @return [String]
|
3743
3657
|
attr_accessor :configuration_name
|
@@ -3796,7 +3710,7 @@ module Google
|
|
3796
3710
|
class Volume
|
3797
3711
|
include Google::Apis::Core::Hashable
|
3798
3712
|
|
3799
|
-
# Not supported by Cloud Run Adapts a ConfigMap into a volume. The contents of
|
3713
|
+
# Not supported by Cloud Run. Adapts a ConfigMap into a volume. The contents of
|
3800
3714
|
# the target ConfigMap's Data field will be presented in a volume as files using
|
3801
3715
|
# the keys in the Data field as the file names, unless the items element is
|
3802
3716
|
# populated with specific mappings of keys to paths.
|
@@ -3809,10 +3723,11 @@ module Google
|
|
3809
3723
|
# @return [String]
|
3810
3724
|
attr_accessor :name
|
3811
3725
|
|
3812
|
-
#
|
3813
|
-
#
|
3814
|
-
#
|
3815
|
-
#
|
3726
|
+
# A volume representing a secret stored in Google Secret Manager. The secret's
|
3727
|
+
# value will be presented as the content of a file whose name is defined in the
|
3728
|
+
# item path. If no items are defined, the name of the file is the secret_name.
|
3729
|
+
# The contents of the target Secret's Data field will be presented in a volume
|
3730
|
+
# as files using the keys in the Data field as the file names.
|
3816
3731
|
# Corresponds to the JSON property `secret`
|
3817
3732
|
# @return [Google::Apis::RunV1::SecretVolumeSource]
|
3818
3733
|
attr_accessor :secret
|
@@ -3833,26 +3748,26 @@ module Google
|
|
3833
3748
|
class VolumeMount
|
3834
3749
|
include Google::Apis::Core::Hashable
|
3835
3750
|
|
3836
|
-
# Path within the container at which the volume should be mounted.
|
3837
|
-
# contain ':'.
|
3751
|
+
# Required. Path within the container at which the volume should be mounted.
|
3752
|
+
# Must not contain ':'.
|
3838
3753
|
# Corresponds to the JSON property `mountPath`
|
3839
3754
|
# @return [String]
|
3840
3755
|
attr_accessor :mount_path
|
3841
3756
|
|
3842
|
-
# The name of the volume. There must be a corresponding Volume with
|
3843
|
-
# name.
|
3757
|
+
# Required. The name of the volume. There must be a corresponding Volume with
|
3758
|
+
# the same name.
|
3844
3759
|
# Corresponds to the JSON property `name`
|
3845
3760
|
# @return [String]
|
3846
3761
|
attr_accessor :name
|
3847
3762
|
|
3848
|
-
#
|
3763
|
+
# Only true is accepted for Secret Volumes. Defaults to true for Secrets Volumes.
|
3849
3764
|
# Corresponds to the JSON property `readOnly`
|
3850
3765
|
# @return [Boolean]
|
3851
3766
|
attr_accessor :read_only
|
3852
3767
|
alias_method :read_only?, :read_only
|
3853
3768
|
|
3854
|
-
#
|
3855
|
-
#
|
3769
|
+
# Path within the volume from which the container's volume should be mounted.
|
3770
|
+
# Defaults to "" (volume's root).
|
3856
3771
|
# Corresponds to the JSON property `subPath`
|
3857
3772
|
# @return [String]
|
3858
3773
|
attr_accessor :sub_path
|