google-apis-run_v1 0.34.0 → 0.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/run_v1/classes.rb +405 -482
- data/lib/google/apis/run_v1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1/representations.rb +12 -0
- data/lib/google/apis/run_v1/service.rb +156 -132
- metadata +3 -3
@@ -170,25 +170,28 @@ module Google
|
|
170
170
|
# anyone who is authenticated with a Google account or a service account. * `
|
171
171
|
# user:`emailid``: An email address that represents a specific Google account.
|
172
172
|
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
173
|
-
# address that represents a service account. For example, `my-other-app@
|
174
|
-
# gserviceaccount.com`. * `
|
175
|
-
#
|
176
|
-
#
|
177
|
-
#
|
178
|
-
#
|
179
|
-
#
|
180
|
-
#
|
181
|
-
#
|
182
|
-
#
|
183
|
-
#
|
184
|
-
# emailid
|
185
|
-
#
|
186
|
-
#
|
187
|
-
#
|
188
|
-
#
|
189
|
-
#
|
190
|
-
#
|
191
|
-
#
|
173
|
+
# address that represents a Google service account. For example, `my-other-app@
|
174
|
+
# appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
|
175
|
+
# namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
|
176
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
|
177
|
+
# accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
|
178
|
+
# . * `group:`emailid``: An email address that represents a Google group. For
|
179
|
+
# example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
|
180
|
+
# email address (plus unique identifier) representing a user that has been
|
181
|
+
# recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
|
182
|
+
# If the user is recovered, this value reverts to `user:`emailid`` and the
|
183
|
+
# recovered user retains the role in the binding. * `deleted:serviceAccount:`
|
184
|
+
# emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
185
|
+
# representing a service account that has been recently deleted. For example, `
|
186
|
+
# my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
|
187
|
+
# service account is undeleted, this value reverts to `serviceAccount:`emailid``
|
188
|
+
# and the undeleted service account retains the role in the binding. * `deleted:
|
189
|
+
# group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
190
|
+
# representing a Google group that has been recently deleted. For example, `
|
191
|
+
# admins@example.com?uid=123456789012345678901`. If the group is recovered, this
|
192
|
+
# value reverts to `group:`emailid`` and the recovered group retains the role in
|
193
|
+
# the binding. * `domain:`domain``: The G Suite domain (primary) that represents
|
194
|
+
# all the users of that domain. For example, `google.com` or `example.com`.
|
192
195
|
# Corresponds to the JSON property `members`
|
193
196
|
# @return [Array<String>]
|
194
197
|
attr_accessor :members
|
@@ -211,14 +214,27 @@ module Google
|
|
211
214
|
end
|
212
215
|
end
|
213
216
|
|
214
|
-
#
|
217
|
+
# Request message for cancelling an execution.
|
218
|
+
class CancelExecutionRequest
|
219
|
+
include Google::Apis::Core::Hashable
|
220
|
+
|
221
|
+
def initialize(**args)
|
222
|
+
update!(**args)
|
223
|
+
end
|
224
|
+
|
225
|
+
# Update properties of this object
|
226
|
+
def update!(**args)
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
# Not supported by Cloud Run. ConfigMapEnvSource selects a ConfigMap to populate
|
215
231
|
# the environment variables with. The contents of the target ConfigMap's Data
|
216
232
|
# field will represent the key-value pairs as environment variables.
|
217
233
|
class ConfigMapEnvSource
|
218
234
|
include Google::Apis::Core::Hashable
|
219
235
|
|
220
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
221
|
-
# let you locate the referenced object inside the same namespace.
|
236
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
237
|
+
# to let you locate the referenced object inside the same namespace.
|
222
238
|
# Corresponds to the JSON property `localObjectReference`
|
223
239
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
224
240
|
attr_accessor :local_object_reference
|
@@ -228,7 +244,7 @@ module Google
|
|
228
244
|
# @return [String]
|
229
245
|
attr_accessor :name
|
230
246
|
|
231
|
-
#
|
247
|
+
# Specify whether the ConfigMap must be defined.
|
232
248
|
# Corresponds to the JSON property `optional`
|
233
249
|
# @return [Boolean]
|
234
250
|
attr_accessor :optional
|
@@ -246,27 +262,27 @@ module Google
|
|
246
262
|
end
|
247
263
|
end
|
248
264
|
|
249
|
-
# Not supported by Cloud Run
|
265
|
+
# Not supported by Cloud Run.
|
250
266
|
class ConfigMapKeySelector
|
251
267
|
include Google::Apis::Core::Hashable
|
252
268
|
|
253
|
-
#
|
269
|
+
# Required. Not supported by Cloud Run.
|
254
270
|
# Corresponds to the JSON property `key`
|
255
271
|
# @return [String]
|
256
272
|
attr_accessor :key
|
257
273
|
|
258
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
259
|
-
# let you locate the referenced object inside the same namespace.
|
274
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
275
|
+
# to let you locate the referenced object inside the same namespace.
|
260
276
|
# Corresponds to the JSON property `localObjectReference`
|
261
277
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
262
278
|
attr_accessor :local_object_reference
|
263
279
|
|
264
|
-
#
|
280
|
+
# Required. Not supported by Cloud Run.
|
265
281
|
# Corresponds to the JSON property `name`
|
266
282
|
# @return [String]
|
267
283
|
attr_accessor :name
|
268
284
|
|
269
|
-
#
|
285
|
+
# Not supported by Cloud Run.
|
270
286
|
# Corresponds to the JSON property `optional`
|
271
287
|
# @return [Boolean]
|
272
288
|
attr_accessor :optional
|
@@ -285,7 +301,7 @@ module Google
|
|
285
301
|
end
|
286
302
|
end
|
287
303
|
|
288
|
-
# Not supported by Cloud Run Adapts a ConfigMap into a volume. The contents of
|
304
|
+
# Not supported by Cloud Run. Adapts a ConfigMap into a volume. The contents of
|
289
305
|
# the target ConfigMap's Data field will be presented in a volume as files using
|
290
306
|
# the keys in the Data field as the file names, unless the items element is
|
291
307
|
# populated with specific mappings of keys to paths.
|
@@ -345,7 +361,7 @@ module Google
|
|
345
361
|
# and optionally how the containers those revisions reference are built. Users
|
346
362
|
# create new Revisions by updating the Configuration's spec. The "latest created"
|
347
363
|
# revision's name is available under status, as is the "latest ready" revision'
|
348
|
-
# s name. See also: https://github.com/knative/
|
364
|
+
# s name. See also: https://github.com/knative/specs/blob/main/specs/serving/
|
349
365
|
# overview.md#configuration
|
350
366
|
class Configuration
|
351
367
|
include Google::Apis::Core::Hashable
|
@@ -419,14 +435,15 @@ module Google
|
|
419
435
|
class ConfigurationStatus
|
420
436
|
include Google::Apis::Core::Hashable
|
421
437
|
|
422
|
-
# Conditions
|
438
|
+
# Conditions communicate information about ongoing/complete reconciliation
|
423
439
|
# processes that bring the "spec" inline with the observed state of the world.
|
424
440
|
# Corresponds to the JSON property `conditions`
|
425
441
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
426
442
|
attr_accessor :conditions
|
427
443
|
|
428
444
|
# LatestCreatedRevisionName is the last revision that was created from this
|
429
|
-
# Configuration. It might not be ready yet, for
|
445
|
+
# Configuration. It might not be ready yet, so for the latest ready revision,
|
446
|
+
# use LatestReadyRevisionName.
|
430
447
|
# Corresponds to the JSON property `latestCreatedRevisionName`
|
431
448
|
# @return [String]
|
432
449
|
attr_accessor :latest_created_revision_name
|
@@ -465,68 +482,58 @@ module Google
|
|
465
482
|
class Container
|
466
483
|
include Google::Apis::Core::Hashable
|
467
484
|
|
468
|
-
#
|
469
|
-
#
|
470
|
-
# container's environment. If a variable cannot be resolved, the reference in
|
471
|
-
# the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with
|
472
|
-
# a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
|
473
|
-
# regardless of whether the variable exists or not. More info: https://
|
474
|
-
# kubernetes.io/docs/tasks/inject-data-application/define-command-argument-
|
475
|
-
# container/#running-a-command-in-a-shell
|
485
|
+
# Arguments to the entrypoint. The docker image's CMD is used if this is not
|
486
|
+
# provided. Variable references are not supported in Cloud Run.
|
476
487
|
# Corresponds to the JSON property `args`
|
477
488
|
# @return [Array<String>]
|
478
489
|
attr_accessor :args
|
479
490
|
|
480
|
-
#
|
491
|
+
# Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT
|
492
|
+
# is used if this is not provided. Variable references are not supported in
|
493
|
+
# Cloud Run.
|
481
494
|
# Corresponds to the JSON property `command`
|
482
495
|
# @return [Array<String>]
|
483
496
|
attr_accessor :command
|
484
497
|
|
485
|
-
#
|
498
|
+
# List of environment variables to set in the container.
|
486
499
|
# Corresponds to the JSON property `env`
|
487
500
|
# @return [Array<Google::Apis::RunV1::EnvVar>]
|
488
501
|
attr_accessor :env
|
489
502
|
|
490
|
-
#
|
491
|
-
# The keys defined within a source must be a C_IDENTIFIER. All invalid keys will
|
492
|
-
# be reported as an event when the container is starting. When a key exists in
|
493
|
-
# multiple sources, the value associated with the last source will take
|
494
|
-
# precedence. Values defined by an Env with a duplicate key will take precedence.
|
495
|
-
# Cannot be updated.
|
503
|
+
# Not supported by Cloud Run.
|
496
504
|
# Corresponds to the JSON property `envFrom`
|
497
505
|
# @return [Array<Google::Apis::RunV1::EnvFromSource>]
|
498
506
|
attr_accessor :env_from
|
499
507
|
|
500
|
-
#
|
501
|
-
#
|
502
|
-
#
|
508
|
+
# Required. URL of the Container image in Google Container Registry or Google
|
509
|
+
# Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/
|
510
|
+
# images
|
503
511
|
# Corresponds to the JSON property `image`
|
504
512
|
# @return [String]
|
505
513
|
attr_accessor :image
|
506
514
|
|
507
|
-
#
|
508
|
-
#
|
509
|
-
#
|
515
|
+
# Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :
|
516
|
+
# latest tag is specified, or IfNotPresent otherwise. More info: https://
|
517
|
+
# kubernetes.io/docs/concepts/containers/images#updating-images
|
510
518
|
# Corresponds to the JSON property `imagePullPolicy`
|
511
519
|
# @return [String]
|
512
520
|
attr_accessor :image_pull_policy
|
513
521
|
|
514
|
-
#
|
515
|
-
#
|
516
|
-
# traffic.
|
522
|
+
# Probe describes a health check to be performed against a container to
|
523
|
+
# determine whether it is alive or ready to receive traffic.
|
517
524
|
# Corresponds to the JSON property `livenessProbe`
|
518
525
|
# @return [Google::Apis::RunV1::Probe]
|
519
526
|
attr_accessor :liveness_probe
|
520
527
|
|
521
|
-
#
|
522
|
-
#
|
523
|
-
#
|
528
|
+
# Name of the container specified as a DNS_LABEL. Currently unused in Cloud Run.
|
529
|
+
# More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/
|
530
|
+
# names/#dns-label-names
|
524
531
|
# Corresponds to the JSON property `name`
|
525
532
|
# @return [String]
|
526
533
|
attr_accessor :name
|
527
534
|
|
528
|
-
#
|
529
|
-
#
|
535
|
+
# List of ports to expose from the container. Only a single port can be
|
536
|
+
# specified. The specified ports must be listening on all interfaces (0.0.0.0)
|
530
537
|
# within the container to be accessible. If omitted, a port number will be
|
531
538
|
# chosen and passed to the container through the PORT environment variable for
|
532
539
|
# the container to listen on.
|
@@ -534,9 +541,8 @@ module Google
|
|
534
541
|
# @return [Array<Google::Apis::RunV1::ContainerPort>]
|
535
542
|
attr_accessor :ports
|
536
543
|
|
537
|
-
#
|
538
|
-
#
|
539
|
-
# traffic.
|
544
|
+
# Probe describes a health check to be performed against a container to
|
545
|
+
# determine whether it is alive or ready to receive traffic.
|
540
546
|
# Corresponds to the JSON property `readinessProbe`
|
541
547
|
# @return [Google::Apis::RunV1::Probe]
|
542
548
|
attr_accessor :readiness_probe
|
@@ -546,7 +552,7 @@ module Google
|
|
546
552
|
# @return [Google::Apis::RunV1::ResourceRequirements]
|
547
553
|
attr_accessor :resources
|
548
554
|
|
549
|
-
# Not supported by Cloud Run SecurityContext holds security configuration that
|
555
|
+
# Not supported by Cloud Run. SecurityContext holds security configuration that
|
550
556
|
# will be applied to a container. Some fields are present in both
|
551
557
|
# SecurityContext and PodSecurityContext. When both are set, the values in
|
552
558
|
# SecurityContext take precedence.
|
@@ -554,15 +560,14 @@ module Google
|
|
554
560
|
# @return [Google::Apis::RunV1::SecurityContext]
|
555
561
|
attr_accessor :security_context
|
556
562
|
|
557
|
-
#
|
558
|
-
#
|
559
|
-
# traffic.
|
563
|
+
# Probe describes a health check to be performed against a container to
|
564
|
+
# determine whether it is alive or ready to receive traffic.
|
560
565
|
# Corresponds to the JSON property `startupProbe`
|
561
566
|
# @return [Google::Apis::RunV1::Probe]
|
562
567
|
attr_accessor :startup_probe
|
563
568
|
|
564
|
-
#
|
565
|
-
#
|
569
|
+
# Path at which the file to which the container's termination message will be
|
570
|
+
# written is mounted into the container's filesystem. Message written is
|
566
571
|
# intended to be brief final status, such as an assertion failure message. Will
|
567
572
|
# be truncated by the node if greater than 4096 bytes. The total message length
|
568
573
|
# across all containers will be limited to 12kb. Defaults to /dev/termination-
|
@@ -571,25 +576,24 @@ module Google
|
|
571
576
|
# @return [String]
|
572
577
|
attr_accessor :termination_message_path
|
573
578
|
|
574
|
-
#
|
575
|
-
#
|
576
|
-
#
|
577
|
-
#
|
579
|
+
# Indicate how the termination message should be populated. File will use the
|
580
|
+
# contents of terminationMessagePath to populate the container status message on
|
581
|
+
# both success and failure. FallbackToLogsOnError will use the last chunk of
|
582
|
+
# container log output if the termination message file is empty and the
|
578
583
|
# container exited with an error. The log output is limited to 2048 bytes or 80
|
579
584
|
# lines, whichever is smaller. Defaults to File. Cannot be updated.
|
580
585
|
# Corresponds to the JSON property `terminationMessagePolicy`
|
581
586
|
# @return [String]
|
582
587
|
attr_accessor :termination_message_policy
|
583
588
|
|
584
|
-
#
|
589
|
+
# Volume to mount into the container's filesystem. Only supports
|
585
590
|
# SecretVolumeSources. Pod volumes to mount into the container's filesystem.
|
586
591
|
# Corresponds to the JSON property `volumeMounts`
|
587
592
|
# @return [Array<Google::Apis::RunV1::VolumeMount>]
|
588
593
|
attr_accessor :volume_mounts
|
589
594
|
|
590
|
-
#
|
591
|
-
#
|
592
|
-
# image.
|
595
|
+
# Container's working directory. If not specified, the container runtime's
|
596
|
+
# default will be used, which might be configured in the container image.
|
593
597
|
# Corresponds to the JSON property `workingDir`
|
594
598
|
# @return [String]
|
595
599
|
attr_accessor :working_dir
|
@@ -624,19 +628,19 @@ module Google
|
|
624
628
|
class ContainerPort
|
625
629
|
include Google::Apis::Core::Hashable
|
626
630
|
|
627
|
-
#
|
628
|
-
#
|
631
|
+
# Port number the container listens on. This must be a valid port number, 0 < x <
|
632
|
+
# 65536.
|
629
633
|
# Corresponds to the JSON property `containerPort`
|
630
634
|
# @return [Fixnum]
|
631
635
|
attr_accessor :container_port
|
632
636
|
|
633
|
-
#
|
634
|
-
#
|
637
|
+
# If specified, used to specify which protocol to use. Allowed values are "http1"
|
638
|
+
# and "h2c".
|
635
639
|
# Corresponds to the JSON property `name`
|
636
640
|
# @return [String]
|
637
641
|
attr_accessor :name
|
638
642
|
|
639
|
-
#
|
643
|
+
# Protocol for port. Must be "TCP". Defaults to "TCP".
|
640
644
|
# Corresponds to the JSON property `protocol`
|
641
645
|
# @return [String]
|
642
646
|
attr_accessor :protocol
|
@@ -764,8 +768,7 @@ module Google
|
|
764
768
|
# @return [Array<Google::Apis::RunV1::ResourceRecord>]
|
765
769
|
attr_accessor :resource_records
|
766
770
|
|
767
|
-
# Optional.
|
768
|
-
# Holds the URL that will serve the traffic of the DomainMapping.
|
771
|
+
# Optional. Not supported by Cloud Run.
|
769
772
|
# Corresponds to the JSON property `url`
|
770
773
|
# @return [String]
|
771
774
|
attr_accessor :url
|
@@ -784,25 +787,25 @@ module Google
|
|
784
787
|
end
|
785
788
|
end
|
786
789
|
|
787
|
-
# Not supported by Cloud Run EnvFromSource represents the source of a set of
|
790
|
+
# Not supported by Cloud Run. EnvFromSource represents the source of a set of
|
788
791
|
# ConfigMaps
|
789
792
|
class EnvFromSource
|
790
793
|
include Google::Apis::Core::Hashable
|
791
794
|
|
792
|
-
# Not supported by Cloud Run ConfigMapEnvSource selects a ConfigMap to populate
|
795
|
+
# Not supported by Cloud Run. ConfigMapEnvSource selects a ConfigMap to populate
|
793
796
|
# the environment variables with. The contents of the target ConfigMap's Data
|
794
797
|
# field will represent the key-value pairs as environment variables.
|
795
798
|
# Corresponds to the JSON property `configMapRef`
|
796
799
|
# @return [Google::Apis::RunV1::ConfigMapEnvSource]
|
797
800
|
attr_accessor :config_map_ref
|
798
801
|
|
799
|
-
#
|
800
|
-
#
|
802
|
+
# An optional identifier to prepend to each key in the ConfigMap. Must be a
|
803
|
+
# C_IDENTIFIER.
|
801
804
|
# Corresponds to the JSON property `prefix`
|
802
805
|
# @return [String]
|
803
806
|
attr_accessor :prefix
|
804
807
|
|
805
|
-
# Not supported by Cloud Run SecretEnvSource selects a Secret to populate the
|
808
|
+
# Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the
|
806
809
|
# environment variables with. The contents of the target Secret's Data field
|
807
810
|
# will represent the key-value pairs as environment variables.
|
808
811
|
# Corresponds to the JSON property `secretRef`
|
@@ -825,17 +828,13 @@ module Google
|
|
825
828
|
class EnvVar
|
826
829
|
include Google::Apis::Core::Hashable
|
827
830
|
|
828
|
-
# Name of the environment variable. Must be a C_IDENTIFIER.
|
831
|
+
# Required. Name of the environment variable. Must be a C_IDENTIFIER.
|
829
832
|
# Corresponds to the JSON property `name`
|
830
833
|
# @return [String]
|
831
834
|
attr_accessor :name
|
832
835
|
|
833
|
-
#
|
834
|
-
#
|
835
|
-
# variables. If a variable cannot be resolved, the reference in the input string
|
836
|
-
# will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie:
|
837
|
-
# $$(VAR_NAME). Escaped references will never be expanded, regardless of whether
|
838
|
-
# the variable exists or not. Defaults to "".
|
836
|
+
# Value of the environment variable. Defaults to "". Variable references are not
|
837
|
+
# supported in Cloud Run.
|
839
838
|
# Corresponds to the JSON property `value`
|
840
839
|
# @return [String]
|
841
840
|
attr_accessor :value
|
@@ -861,7 +860,7 @@ module Google
|
|
861
860
|
class EnvVarSource
|
862
861
|
include Google::Apis::Core::Hashable
|
863
862
|
|
864
|
-
# Not supported by Cloud Run
|
863
|
+
# Not supported by Cloud Run.
|
865
864
|
# Corresponds to the JSON property `configMapKeyRef`
|
866
865
|
# @return [Google::Apis::RunV1::ConfigMapKeySelector]
|
867
866
|
attr_accessor :config_map_key_ref
|
@@ -882,16 +881,16 @@ module Google
|
|
882
881
|
end
|
883
882
|
end
|
884
883
|
|
885
|
-
# Not supported by Cloud Run ExecAction describes a "run in container" action.
|
884
|
+
# Not supported by Cloud Run. ExecAction describes a "run in container" action.
|
886
885
|
class ExecAction
|
887
886
|
include Google::Apis::Core::Hashable
|
888
887
|
|
889
|
-
#
|
890
|
-
#
|
891
|
-
#
|
892
|
-
#
|
893
|
-
#
|
894
|
-
#
|
888
|
+
# Command is the command line to execute inside the container, the working
|
889
|
+
# directory for the command is root ('/') in the container's filesystem. The
|
890
|
+
# command is simply exec'd, it is not run inside a shell, so traditional shell
|
891
|
+
# instructions ('|', etc) won't work. To use a shell, you need to explicitly
|
892
|
+
# call out to that shell. Exit status of 0 is treated as live/healthy and non-
|
893
|
+
# zero is unhealthy.
|
895
894
|
# Corresponds to the JSON property `command`
|
896
895
|
# @return [Array<String>]
|
897
896
|
attr_accessor :command
|
@@ -906,8 +905,8 @@ module Google
|
|
906
905
|
end
|
907
906
|
end
|
908
907
|
|
909
|
-
# Execution represents the configuration of a single execution.
|
910
|
-
# immutable resource that references a container image which is run to
|
908
|
+
# Execution represents the configuration of a single execution. An execution is
|
909
|
+
# an immutable resource that references a container image which is run to
|
911
910
|
# completion.
|
912
911
|
class Execution
|
913
912
|
include Google::Apis::Core::Hashable
|
@@ -915,7 +914,7 @@ module Google
|
|
915
914
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
916
915
|
# object. Servers should convert recognized schemas to the latest internal value,
|
917
916
|
# and may reject unrecognized values. More info: https://git.k8s.io/community/
|
918
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
917
|
+
# contributors/devel/sig-architecture/api-conventions.md#resources
|
919
918
|
# Corresponds to the JSON property `apiVersion`
|
920
919
|
# @return [String]
|
921
920
|
attr_accessor :api_version
|
@@ -923,8 +922,7 @@ module Google
|
|
923
922
|
# Optional. Kind is a string value representing the REST resource this object
|
924
923
|
# represents. Servers may infer this from the endpoint the client submits
|
925
924
|
# requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/
|
926
|
-
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
927
|
-
# optional
|
925
|
+
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
928
926
|
# Corresponds to the JSON property `kind`
|
929
927
|
# @return [String]
|
930
928
|
attr_accessor :kind
|
@@ -940,7 +938,7 @@ module Google
|
|
940
938
|
# @return [Google::Apis::RunV1::ExecutionSpec]
|
941
939
|
attr_accessor :spec
|
942
940
|
|
943
|
-
# ExecutionStatus represents the current state of
|
941
|
+
# ExecutionStatus represents the current state of an Execution.
|
944
942
|
# Corresponds to the JSON property `status`
|
945
943
|
# @return [Google::Apis::RunV1::ExecutionStatus]
|
946
944
|
attr_accessor :status
|
@@ -999,16 +997,15 @@ module Google
|
|
999
997
|
# run at given time. Must be <= task_count. When the job is run, if this field
|
1000
998
|
# is 0 or unset, the maximum possible value will be used for that execution. The
|
1001
999
|
# actual number of tasks running in steady state will be less than this number
|
1002
|
-
# when there are fewer tasks waiting to be completed
|
1003
|
-
#
|
1000
|
+
# when there are fewer tasks waiting to be completed, i.e. when the work left to
|
1001
|
+
# do is less than max parallelism.
|
1004
1002
|
# Corresponds to the JSON property `parallelism`
|
1005
1003
|
# @return [Fixnum]
|
1006
1004
|
attr_accessor :parallelism
|
1007
1005
|
|
1008
1006
|
# Optional. Specifies the desired number of tasks the execution should run.
|
1009
1007
|
# Setting to 1 means that parallelism is limited to 1 and the success of that
|
1010
|
-
# task signals the success of the execution.
|
1011
|
-
# docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional
|
1008
|
+
# task signals the success of the execution.
|
1012
1009
|
# Corresponds to the JSON property `taskCount`
|
1013
1010
|
# @return [Fixnum]
|
1014
1011
|
attr_accessor :task_count
|
@@ -1031,30 +1028,33 @@ module Google
|
|
1031
1028
|
end
|
1032
1029
|
end
|
1033
1030
|
|
1034
|
-
# ExecutionStatus represents the current state of
|
1031
|
+
# ExecutionStatus represents the current state of an Execution.
|
1035
1032
|
class ExecutionStatus
|
1036
1033
|
include Google::Apis::Core::Hashable
|
1037
1034
|
|
1038
|
-
# Optional. The number of tasks which reached phase Cancelled.
|
1035
|
+
# Optional. The number of tasks which reached phase Cancelled.
|
1039
1036
|
# Corresponds to the JSON property `cancelledCount`
|
1040
1037
|
# @return [Fixnum]
|
1041
1038
|
attr_accessor :cancelled_count
|
1042
1039
|
|
1043
|
-
# Optional. Represents time
|
1040
|
+
# Optional. Represents the time that the execution was completed. It is not
|
1044
1041
|
# guaranteed to be set in happens-before order across separate operations. It is
|
1045
1042
|
# represented in RFC3339 form and is in UTC. +optional
|
1046
1043
|
# Corresponds to the JSON property `completionTime`
|
1047
1044
|
# @return [String]
|
1048
1045
|
attr_accessor :completion_time
|
1049
1046
|
|
1050
|
-
# Optional.
|
1051
|
-
#
|
1052
|
-
#
|
1047
|
+
# Optional. Conditions communicate information about ongoing/complete
|
1048
|
+
# reconciliation processes that bring the "spec" inline with the observed state
|
1049
|
+
# of the world. Execution-specific conditions include: * `ResourcesAvailable`: `
|
1050
|
+
# True` when underlying resources have been provisioned. * `Started`: `True`
|
1051
|
+
# when the execution has started to execute. * `Completed`: `True` when the
|
1052
|
+
# execution has succeeded. `False` when the execution has failed.
|
1053
1053
|
# Corresponds to the JSON property `conditions`
|
1054
1054
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
1055
1055
|
attr_accessor :conditions
|
1056
1056
|
|
1057
|
-
# Optional. The number of tasks which reached phase Failed.
|
1057
|
+
# Optional. The number of tasks which reached phase Failed.
|
1058
1058
|
# Corresponds to the JSON property `failedCount`
|
1059
1059
|
# @return [Fixnum]
|
1060
1060
|
attr_accessor :failed_count
|
@@ -1070,24 +1070,24 @@ module Google
|
|
1070
1070
|
# @return [Fixnum]
|
1071
1071
|
attr_accessor :observed_generation
|
1072
1072
|
|
1073
|
-
# Optional. The number of tasks which have retried at least once.
|
1073
|
+
# Optional. The number of tasks which have retried at least once.
|
1074
1074
|
# Corresponds to the JSON property `retriedCount`
|
1075
1075
|
# @return [Fixnum]
|
1076
1076
|
attr_accessor :retried_count
|
1077
1077
|
|
1078
|
-
# Optional. The number of actively running tasks.
|
1078
|
+
# Optional. The number of actively running tasks.
|
1079
1079
|
# Corresponds to the JSON property `runningCount`
|
1080
1080
|
# @return [Fixnum]
|
1081
1081
|
attr_accessor :running_count
|
1082
1082
|
|
1083
|
-
# Optional. Represents time
|
1083
|
+
# Optional. Represents the time that the execution started to run. It is not
|
1084
1084
|
# guaranteed to be set in happens-before order across separate operations. It is
|
1085
|
-
# represented in RFC3339 form and is in UTC.
|
1085
|
+
# represented in RFC3339 form and is in UTC.
|
1086
1086
|
# Corresponds to the JSON property `startTime`
|
1087
1087
|
# @return [String]
|
1088
1088
|
attr_accessor :start_time
|
1089
1089
|
|
1090
|
-
# Optional. The number of tasks which reached phase Succeeded.
|
1090
|
+
# Optional. The number of tasks which reached phase Succeeded.
|
1091
1091
|
# Corresponds to the JSON property `succeededCount`
|
1092
1092
|
# @return [Fixnum]
|
1093
1093
|
attr_accessor :succeeded_count
|
@@ -1193,8 +1193,7 @@ module Google
|
|
1193
1193
|
end
|
1194
1194
|
end
|
1195
1195
|
|
1196
|
-
#
|
1197
|
-
# port.
|
1196
|
+
# GRPCAction describes an action involving a GRPC port.
|
1198
1197
|
class GrpcAction
|
1199
1198
|
include Google::Apis::Core::Hashable
|
1200
1199
|
|
@@ -1221,7 +1220,12 @@ module Google
|
|
1221
1220
|
end
|
1222
1221
|
end
|
1223
1222
|
|
1224
|
-
#
|
1223
|
+
# Conditions show the status of reconciliation progress on a given resource.
|
1224
|
+
# Most resource use a top-level condition type "Ready" or "Completed" to show
|
1225
|
+
# overall status with other conditions to checkpoint each stage of
|
1226
|
+
# reconciliation. Note that if metadata.Generation does not equal status.
|
1227
|
+
# ObservedGeneration, the conditions shown may not be relevant for the current
|
1228
|
+
# spec.
|
1225
1229
|
class GoogleCloudRunV1Condition
|
1226
1230
|
include Google::Apis::Core::Hashable
|
1227
1231
|
|
@@ -1235,13 +1239,16 @@ module Google
|
|
1235
1239
|
# @return [String]
|
1236
1240
|
attr_accessor :message
|
1237
1241
|
|
1238
|
-
# Optional. One-word CamelCase reason for the condition's last transition.
|
1242
|
+
# Optional. One-word CamelCase reason for the condition's last transition. These
|
1243
|
+
# are intended to be stable, unique values which the client may use to trigger
|
1244
|
+
# error handling logic, whereas messages which may be changed later by the
|
1245
|
+
# server.
|
1239
1246
|
# Corresponds to the JSON property `reason`
|
1240
1247
|
# @return [String]
|
1241
1248
|
attr_accessor :reason
|
1242
1249
|
|
1243
|
-
# Optional. How to interpret
|
1244
|
-
# Info
|
1250
|
+
# Optional. How to interpret this condition. One of Error, Warning, or Info.
|
1251
|
+
# Conditions of severity Info do not contribute to resource readiness.
|
1245
1252
|
# Corresponds to the JSON property `severity`
|
1246
1253
|
# @return [String]
|
1247
1254
|
attr_accessor :severity
|
@@ -1253,8 +1260,8 @@ module Google
|
|
1253
1260
|
|
1254
1261
|
# type is used to communicate the status of the reconciliation process. See also:
|
1255
1262
|
# https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-
|
1256
|
-
# conditions-and-reporting Types common to all resources include: * "Ready"
|
1257
|
-
# True when the Resource is ready.
|
1263
|
+
# conditions-and-reporting Types common to all resources include: * "Ready" or "
|
1264
|
+
# Completed": True when the Resource is ready.
|
1258
1265
|
# Corresponds to the JSON property `type`
|
1259
1266
|
# @return [String]
|
1260
1267
|
attr_accessor :type
|
@@ -1313,28 +1320,26 @@ module Google
|
|
1313
1320
|
end
|
1314
1321
|
end
|
1315
1322
|
|
1316
|
-
#
|
1317
|
-
# requests.
|
1323
|
+
# HTTPGetAction describes an action based on HTTP Get requests.
|
1318
1324
|
class HttpGetAction
|
1319
1325
|
include Google::Apis::Core::Hashable
|
1320
1326
|
|
1321
|
-
#
|
1322
|
-
# to set "Host" in httpHeaders instead.
|
1327
|
+
# Not supported by Cloud Run.
|
1323
1328
|
# Corresponds to the JSON property `host`
|
1324
1329
|
# @return [String]
|
1325
1330
|
attr_accessor :host
|
1326
1331
|
|
1327
|
-
#
|
1332
|
+
# Custom headers to set in the request. HTTP allows repeated headers.
|
1328
1333
|
# Corresponds to the JSON property `httpHeaders`
|
1329
1334
|
# @return [Array<Google::Apis::RunV1::HttpHeader>]
|
1330
1335
|
attr_accessor :http_headers
|
1331
1336
|
|
1332
|
-
#
|
1337
|
+
# Path to access on the HTTP server.
|
1333
1338
|
# Corresponds to the JSON property `path`
|
1334
1339
|
# @return [String]
|
1335
1340
|
attr_accessor :path
|
1336
1341
|
|
1337
|
-
#
|
1342
|
+
# Not supported by Cloud Run.
|
1338
1343
|
# Corresponds to the JSON property `scheme`
|
1339
1344
|
# @return [String]
|
1340
1345
|
attr_accessor :scheme
|
@@ -1352,8 +1357,7 @@ module Google
|
|
1352
1357
|
end
|
1353
1358
|
end
|
1354
1359
|
|
1355
|
-
#
|
1356
|
-
# HTTP probes
|
1360
|
+
# HTTPHeader describes a custom header to be used in HTTP probes
|
1357
1361
|
class HttpHeader
|
1358
1362
|
include Google::Apis::Core::Hashable
|
1359
1363
|
|
@@ -1378,15 +1382,15 @@ module Google
|
|
1378
1382
|
end
|
1379
1383
|
end
|
1380
1384
|
|
1381
|
-
# Job represents the configuration of a single job
|
1382
|
-
#
|
1385
|
+
# Job represents the configuration of a single job, which references a container
|
1386
|
+
# image which is run to completion.
|
1383
1387
|
class Job
|
1384
1388
|
include Google::Apis::Core::Hashable
|
1385
1389
|
|
1386
1390
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
1387
1391
|
# object. Servers should convert recognized schemas to the latest internal value,
|
1388
1392
|
# and may reject unrecognized values. More info: https://git.k8s.io/community/
|
1389
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
1393
|
+
# contributors/devel/sig-architecture/api-conventions.md#resources
|
1390
1394
|
# Corresponds to the JSON property `apiVersion`
|
1391
1395
|
# @return [String]
|
1392
1396
|
attr_accessor :api_version
|
@@ -1394,8 +1398,7 @@ module Google
|
|
1394
1398
|
# Optional. Kind is a string value representing the REST resource this object
|
1395
1399
|
# represents. Servers may infer this from the endpoint the client submits
|
1396
1400
|
# requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/
|
1397
|
-
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
1398
|
-
# optional
|
1401
|
+
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
1399
1402
|
# Corresponds to the JSON property `kind`
|
1400
1403
|
# @return [String]
|
1401
1404
|
attr_accessor :kind
|
@@ -1455,8 +1458,10 @@ module Google
|
|
1455
1458
|
class JobStatus
|
1456
1459
|
include Google::Apis::Core::Hashable
|
1457
1460
|
|
1458
|
-
#
|
1459
|
-
#
|
1461
|
+
# Conditions communicate information about ongoing/complete reconciliation
|
1462
|
+
# processes that bring the "spec" inline with the observed state of the world.
|
1463
|
+
# Job-specific conditions include: * `Ready`: `True` when the job is ready to be
|
1464
|
+
# executed.
|
1460
1465
|
# Corresponds to the JSON property `conditions`
|
1461
1466
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
1462
1467
|
attr_accessor :conditions
|
@@ -1576,9 +1581,8 @@ module Google
|
|
1576
1581
|
# @return [String]
|
1577
1582
|
attr_accessor :kind
|
1578
1583
|
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
# ListMeta`.
|
1584
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1585
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1582
1586
|
# Corresponds to the JSON property `metadata`
|
1583
1587
|
# @return [Google::Apis::RunV1::ListMeta]
|
1584
1588
|
attr_accessor :metadata
|
@@ -1621,9 +1625,8 @@ module Google
|
|
1621
1625
|
# @return [String]
|
1622
1626
|
attr_accessor :kind
|
1623
1627
|
|
1624
|
-
#
|
1625
|
-
#
|
1626
|
-
# ListMeta`.
|
1628
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1629
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1627
1630
|
# Corresponds to the JSON property `metadata`
|
1628
1631
|
# @return [Google::Apis::RunV1::ListMeta]
|
1629
1632
|
attr_accessor :metadata
|
@@ -1666,9 +1669,8 @@ module Google
|
|
1666
1669
|
# @return [String]
|
1667
1670
|
attr_accessor :kind
|
1668
1671
|
|
1669
|
-
#
|
1670
|
-
#
|
1671
|
-
# ListMeta`.
|
1672
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1673
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1672
1674
|
# Corresponds to the JSON property `metadata`
|
1673
1675
|
# @return [Google::Apis::RunV1::ListMeta]
|
1674
1676
|
attr_accessor :metadata
|
@@ -1711,9 +1713,8 @@ module Google
|
|
1711
1713
|
# @return [String]
|
1712
1714
|
attr_accessor :kind
|
1713
1715
|
|
1714
|
-
#
|
1715
|
-
#
|
1716
|
-
# ListMeta`.
|
1716
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1717
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1717
1718
|
# Corresponds to the JSON property `metadata`
|
1718
1719
|
# @return [Google::Apis::RunV1::ListMeta]
|
1719
1720
|
attr_accessor :metadata
|
@@ -1762,35 +1763,28 @@ module Google
|
|
1762
1763
|
end
|
1763
1764
|
end
|
1764
1765
|
|
1765
|
-
#
|
1766
|
-
#
|
1767
|
-
# ListMeta`.
|
1766
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1767
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1768
1768
|
class ListMeta
|
1769
1769
|
include Google::Apis::Core::Hashable
|
1770
1770
|
|
1771
|
-
#
|
1772
|
-
#
|
1773
|
-
#
|
1774
|
-
# retrieve the next set of available objects. Continuing a list may not be
|
1775
|
-
# possible if the server configuration has changed or more than a few minutes
|
1776
|
-
# have passed. The resourceVersion field returned when using this continue value
|
1777
|
-
# will be identical to the value in the first response.
|
1771
|
+
# Continuation token is a value emitted when the count of items is larger than
|
1772
|
+
# the user/system limit. To retrieve the next page of items, pass the value of `
|
1773
|
+
# continue` as the next request's `page_token`.
|
1778
1774
|
# Corresponds to the JSON property `continue`
|
1779
1775
|
# @return [String]
|
1780
1776
|
attr_accessor :continue
|
1781
1777
|
|
1782
|
-
#
|
1783
|
-
# be used by clients to determine when objects have changed.
|
1784
|
-
#
|
1785
|
-
#
|
1786
|
-
#
|
1787
|
-
# optional
|
1778
|
+
# Opaque string that identifies the server's internal version of this object. It
|
1779
|
+
# can be used by clients to determine when objects have changed. If the message
|
1780
|
+
# is passed back to the server, it must be left unmodified. https://git.k8s.io/
|
1781
|
+
# community/contributors/devel/api-conventions.md#concurrency-control-and-
|
1782
|
+
# consistency
|
1788
1783
|
# Corresponds to the JSON property `resourceVersion`
|
1789
1784
|
# @return [String]
|
1790
1785
|
attr_accessor :resource_version
|
1791
1786
|
|
1792
|
-
#
|
1793
|
-
# +optional
|
1787
|
+
# URL representing this object.
|
1794
1788
|
# Corresponds to the JSON property `selfLink`
|
1795
1789
|
# @return [String]
|
1796
1790
|
attr_accessor :self_link
|
@@ -1826,9 +1820,8 @@ module Google
|
|
1826
1820
|
# @return [String]
|
1827
1821
|
attr_accessor :kind
|
1828
1822
|
|
1829
|
-
#
|
1830
|
-
#
|
1831
|
-
# ListMeta`.
|
1823
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1824
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1832
1825
|
# Corresponds to the JSON property `metadata`
|
1833
1826
|
# @return [Google::Apis::RunV1::ListMeta]
|
1834
1827
|
attr_accessor :metadata
|
@@ -1871,9 +1864,8 @@ module Google
|
|
1871
1864
|
# @return [String]
|
1872
1865
|
attr_accessor :kind
|
1873
1866
|
|
1874
|
-
#
|
1875
|
-
#
|
1876
|
-
# ListMeta`.
|
1867
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1868
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1877
1869
|
# Corresponds to the JSON property `metadata`
|
1878
1870
|
# @return [Google::Apis::RunV1::ListMeta]
|
1879
1871
|
attr_accessor :metadata
|
@@ -1901,7 +1893,7 @@ module Google
|
|
1901
1893
|
class ListServicesResponse
|
1902
1894
|
include Google::Apis::Core::Hashable
|
1903
1895
|
|
1904
|
-
# The API version for this call
|
1896
|
+
# The API version for this call; returns "serving.knative.dev/v1".
|
1905
1897
|
# Corresponds to the JSON property `apiVersion`
|
1906
1898
|
# @return [String]
|
1907
1899
|
attr_accessor :api_version
|
@@ -1911,19 +1903,19 @@ module Google
|
|
1911
1903
|
# @return [Array<Google::Apis::RunV1::Service>]
|
1912
1904
|
attr_accessor :items
|
1913
1905
|
|
1914
|
-
# The kind of this resource
|
1906
|
+
# The kind of this resource; returns "ServiceList".
|
1915
1907
|
# Corresponds to the JSON property `kind`
|
1916
1908
|
# @return [String]
|
1917
1909
|
attr_accessor :kind
|
1918
1910
|
|
1919
|
-
#
|
1920
|
-
#
|
1921
|
-
# ListMeta`.
|
1911
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1912
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1922
1913
|
# Corresponds to the JSON property `metadata`
|
1923
1914
|
# @return [Google::Apis::RunV1::ListMeta]
|
1924
1915
|
attr_accessor :metadata
|
1925
1916
|
|
1926
|
-
#
|
1917
|
+
# For calls against the global endpoint, returns the list of Cloud locations
|
1918
|
+
# that could not be reached. For regional calls, this field is not used.
|
1927
1919
|
# Corresponds to the JSON property `unreachable`
|
1928
1920
|
# @return [Array<String>]
|
1929
1921
|
attr_accessor :unreachable
|
@@ -1961,9 +1953,8 @@ module Google
|
|
1961
1953
|
# @return [String]
|
1962
1954
|
attr_accessor :kind
|
1963
1955
|
|
1964
|
-
#
|
1965
|
-
#
|
1966
|
-
# ListMeta`.
|
1956
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1957
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1967
1958
|
# Corresponds to the JSON property `metadata`
|
1968
1959
|
# @return [Google::Apis::RunV1::ListMeta]
|
1969
1960
|
attr_accessor :metadata
|
@@ -1987,13 +1978,13 @@ module Google
|
|
1987
1978
|
end
|
1988
1979
|
end
|
1989
1980
|
|
1990
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
1991
|
-
# let you locate the referenced object inside the same namespace.
|
1981
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
1982
|
+
# to let you locate the referenced object inside the same namespace.
|
1992
1983
|
class LocalObjectReference
|
1993
1984
|
include Google::Apis::Core::Hashable
|
1994
1985
|
|
1995
|
-
#
|
1996
|
-
#
|
1986
|
+
# Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/
|
1987
|
+
# working-with-objects/names/#names
|
1997
1988
|
# Corresponds to the JSON property `name`
|
1998
1989
|
# @return [String]
|
1999
1990
|
attr_accessor :name
|
@@ -2060,150 +2051,119 @@ module Google
|
|
2060
2051
|
class ObjectMeta
|
2061
2052
|
include Google::Apis::Core::Hashable
|
2062
2053
|
|
2063
|
-
#
|
2064
|
-
#
|
2065
|
-
#
|
2066
|
-
#
|
2054
|
+
# Unstructured key value map stored with a resource that may be set by external
|
2055
|
+
# tools to store and retrieve arbitrary metadata. They are not queryable and
|
2056
|
+
# should be preserved when modifying objects. In Cloud Run, annotations with '
|
2057
|
+
# run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the
|
2058
|
+
# accepted annotations will be different depending on the resource type. * `
|
2059
|
+
# autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/
|
2060
|
+
# minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`:
|
2061
|
+
# Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job,
|
2062
|
+
# Execution. * `run.googleapis.com/client-name`: All resources. * `run.
|
2063
|
+
# googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/
|
2064
|
+
# cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. *
|
2065
|
+
# `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-
|
2066
|
+
# key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision,
|
2067
|
+
# Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. *
|
2068
|
+
# `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`:
|
2069
|
+
# Service. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `
|
2070
|
+
# run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.
|
2071
|
+
# googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-
|
2072
|
+
# session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `
|
2073
|
+
# run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-
|
2074
|
+
# access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-
|
2075
|
+
# egress`: Revision, Execution. Execution. More info: https://kubernetes.io/docs/
|
2076
|
+
# user-guide/annotations
|
2067
2077
|
# Corresponds to the JSON property `annotations`
|
2068
2078
|
# @return [Hash<String,String>]
|
2069
2079
|
attr_accessor :annotations
|
2070
2080
|
|
2071
|
-
#
|
2072
|
-
# belongs to. This is used to distinguish resources with same name and namespace
|
2073
|
-
# in different clusters. This field is not set anywhere right now and apiserver
|
2074
|
-
# is going to ignore it if set in create or update request.
|
2081
|
+
# Not supported by Cloud Run
|
2075
2082
|
# Corresponds to the JSON property `clusterName`
|
2076
2083
|
# @return [String]
|
2077
2084
|
attr_accessor :cluster_name
|
2078
2085
|
|
2079
|
-
#
|
2080
|
-
#
|
2081
|
-
#
|
2082
|
-
# represented in RFC3339 form and is in UTC. Populated by the system. Read-only.
|
2083
|
-
# Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-
|
2084
|
-
# conventions.md#metadata
|
2086
|
+
# UTC timestamp representing the server time when this object was created. More
|
2087
|
+
# info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
2088
|
+
# metadata
|
2085
2089
|
# Corresponds to the JSON property `creationTimestamp`
|
2086
2090
|
# @return [String]
|
2087
2091
|
attr_accessor :creation_timestamp
|
2088
2092
|
|
2089
|
-
#
|
2090
|
-
# object to gracefully terminate before it will be removed from the system. Only
|
2091
|
-
# set when deletionTimestamp is also set. May only be shortened. Read-only.
|
2093
|
+
# Not supported by Cloud Run
|
2092
2094
|
# Corresponds to the JSON property `deletionGracePeriodSeconds`
|
2093
2095
|
# @return [Fixnum]
|
2094
2096
|
attr_accessor :deletion_grace_period_seconds
|
2095
2097
|
|
2096
|
-
#
|
2097
|
-
#
|
2098
|
-
#
|
2099
|
-
# settable by a client. The resource is expected to be deleted (no longer
|
2100
|
-
# visible from resource lists, and not reachable by name) after the time in this
|
2101
|
-
# field, once the finalizers list is empty. As long as the finalizers list
|
2102
|
-
# contains items, deletion is blocked. Once the deletionTimestamp is set, this
|
2103
|
-
# value may not be unset or be set further into the future, although it may be
|
2104
|
-
# shortened or the resource may be deleted prior to this time. For example, a
|
2105
|
-
# user may request that a pod is deleted in 30 seconds. The Kubelet will react
|
2106
|
-
# by sending a graceful termination signal to the containers in the pod. After
|
2107
|
-
# that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to
|
2108
|
-
# the container and after cleanup, remove the pod from the API. In the presence
|
2109
|
-
# of network partitions, this object may still exist after this timestamp, until
|
2110
|
-
# an administrator or automated process can determine the resource is fully
|
2111
|
-
# terminated. If not set, graceful deletion of the object has not been requested.
|
2112
|
-
# Populated by the system when a graceful deletion is requested. Read-only.
|
2113
|
-
# More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
2114
|
-
# metadata
|
2098
|
+
# The read-only soft deletion timestamp for this resource. In Cloud Run, users
|
2099
|
+
# are not able to set this field. Instead, they must call the corresponding
|
2100
|
+
# Delete API.
|
2115
2101
|
# Corresponds to the JSON property `deletionTimestamp`
|
2116
2102
|
# @return [String]
|
2117
2103
|
attr_accessor :deletion_timestamp
|
2118
2104
|
|
2119
|
-
#
|
2120
|
-
# deleted from the registry. Each entry is an identifier for the responsible
|
2121
|
-
# component that will remove the entry from the list. If the deletionTimestamp
|
2122
|
-
# of the object is non-nil, entries in this list can only be removed. +
|
2123
|
-
# patchStrategy=merge
|
2105
|
+
# Not supported by Cloud Run
|
2124
2106
|
# Corresponds to the JSON property `finalizers`
|
2125
2107
|
# @return [Array<String>]
|
2126
2108
|
attr_accessor :finalizers
|
2127
2109
|
|
2128
|
-
#
|
2129
|
-
# by the server, to generate a unique name ONLY IF the Name field has not been
|
2130
|
-
# provided. If this field is used, the name returned to the client will be
|
2131
|
-
# different than the name passed. This value will also be combined with a unique
|
2132
|
-
# suffix. The provided value has the same validation rules as the Name field,
|
2133
|
-
# and may be truncated by the length of the suffix required to make the value
|
2134
|
-
# unique on the server. If this field is specified and the generated name exists,
|
2135
|
-
# the server will NOT return a 409 - instead, it will either return 201 Created
|
2136
|
-
# or 500 with Reason ServerTimeout indicating a unique name could not be found
|
2137
|
-
# in the time allotted, and the client should retry (optionally after the time
|
2138
|
-
# indicated in the Retry-After header). Applied only if Name is not specified.
|
2139
|
-
# More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
2140
|
-
# idempotency string generateName = 2;
|
2110
|
+
# Not supported by Cloud Run
|
2141
2111
|
# Corresponds to the JSON property `generateName`
|
2142
2112
|
# @return [String]
|
2143
2113
|
attr_accessor :generate_name
|
2144
2114
|
|
2145
|
-
#
|
2146
|
-
# state.
|
2115
|
+
# A system-provided sequence number representing a specific generation of the
|
2116
|
+
# desired state.
|
2147
2117
|
# Corresponds to the JSON property `generation`
|
2148
2118
|
# @return [Fixnum]
|
2149
2119
|
attr_accessor :generation
|
2150
2120
|
|
2151
|
-
#
|
2152
|
-
#
|
2153
|
-
#
|
2154
|
-
# labels
|
2121
|
+
# Map of string keys and values that can be used to organize and categorize (
|
2122
|
+
# scope and select) objects. May match selectors of replication controllers and
|
2123
|
+
# routes. More info: https://kubernetes.io/docs/user-guide/labels
|
2155
2124
|
# Corresponds to the JSON property `labels`
|
2156
2125
|
# @return [Hash<String,String>]
|
2157
2126
|
attr_accessor :labels
|
2158
2127
|
|
2159
|
-
#
|
2160
|
-
#
|
2161
|
-
#
|
2162
|
-
#
|
2163
|
-
#
|
2164
|
-
# ObjectMeta is part of a namespaces.services.create request, name must contain
|
2165
|
-
# fewer than 50 characters. +optional
|
2128
|
+
# The immutable name of the resource. In Cloud Run, name is required when
|
2129
|
+
# creating top-level resources (Service, Job), and must be unique within a Cloud
|
2130
|
+
# Run project/region. More info: https://kubernetes.io/docs/user-guide/
|
2131
|
+
# identifiers#names If ObjectMeta is part of a CreateServiceRequest, name must
|
2132
|
+
# contain fewer than 50 characters. Otherwise,
|
2166
2133
|
# Corresponds to the JSON property `name`
|
2167
2134
|
# @return [String]
|
2168
2135
|
attr_accessor :name
|
2169
2136
|
|
2170
|
-
#
|
2171
|
-
#
|
2172
|
-
# or project number.
|
2137
|
+
# Defines the space within each name must be unique within a Cloud Run region.
|
2138
|
+
# In Cloud Run, it must be project ID or number.
|
2173
2139
|
# Corresponds to the JSON property `namespace`
|
2174
2140
|
# @return [String]
|
2175
2141
|
attr_accessor :namespace
|
2176
2142
|
|
2177
|
-
#
|
2178
|
-
# ALL objects in the list have been deleted, this object will be garbage
|
2179
|
-
# collected.
|
2143
|
+
# Not supported by Cloud Run
|
2180
2144
|
# Corresponds to the JSON property `ownerReferences`
|
2181
2145
|
# @return [Array<Google::Apis::RunV1::OwnerReference>]
|
2182
2146
|
attr_accessor :owner_references
|
2183
2147
|
|
2184
|
-
# Optional.
|
2185
|
-
# that can be used by clients to determine when objects have
|
2186
|
-
# used for optimistic concurrency, change detection, and the
|
2187
|
-
# a resource or set of resources. Clients must treat these
|
2188
|
-
# passed unmodified back to the server or omit the value to
|
2189
|
-
# detection.
|
2190
|
-
#
|
2191
|
-
#
|
2192
|
-
# devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
2148
|
+
# Optional. Opaque, system-generated value that represents the internal version
|
2149
|
+
# of this object that can be used by clients to determine when objects have
|
2150
|
+
# changed. May be used for optimistic concurrency, change detection, and the
|
2151
|
+
# watch operation on a resource or set of resources. Clients must treat these
|
2152
|
+
# values as opaque and passed unmodified back to the server or omit the value to
|
2153
|
+
# disable conflict-detection. More info: https://git.k8s.io/community/
|
2154
|
+
# contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-
|
2155
|
+
# consistency
|
2193
2156
|
# Corresponds to the JSON property `resourceVersion`
|
2194
2157
|
# @return [String]
|
2195
2158
|
attr_accessor :resource_version
|
2196
2159
|
|
2197
|
-
#
|
2198
|
-
# Read-only. string selfLink = 4;
|
2160
|
+
# URL representing this object.
|
2199
2161
|
# Corresponds to the JSON property `selfLink`
|
2200
2162
|
# @return [String]
|
2201
2163
|
attr_accessor :self_link
|
2202
2164
|
|
2203
|
-
#
|
2204
|
-
#
|
2205
|
-
# not allowed to change on PUT operations. Populated by the system. Read-only.
|
2206
|
-
# More info: https://kubernetes.io/docs/user-guide/identifiers#uids
|
2165
|
+
# Unique, system-generated identifier for this resource. More info: https://
|
2166
|
+
# kubernetes.io/docs/user-guide/identifiers#uids
|
2207
2167
|
# Corresponds to the JSON property `uid`
|
2208
2168
|
# @return [String]
|
2209
2169
|
attr_accessor :uid
|
@@ -2232,47 +2192,38 @@ module Google
|
|
2232
2192
|
end
|
2233
2193
|
end
|
2234
2194
|
|
2235
|
-
#
|
2236
|
-
# object. Currently, an owning object must be in the same namespace, so there is
|
2237
|
-
# no namespace field.
|
2195
|
+
# This is not supported or used by Cloud Run.
|
2238
2196
|
class OwnerReference
|
2239
2197
|
include Google::Apis::Core::Hashable
|
2240
2198
|
|
2241
|
-
#
|
2199
|
+
# This is not supported or used by Cloud Run.
|
2242
2200
|
# Corresponds to the JSON property `apiVersion`
|
2243
2201
|
# @return [String]
|
2244
2202
|
attr_accessor :api_version
|
2245
2203
|
|
2246
|
-
#
|
2247
|
-
# owner cannot be deleted from the key-value store until this reference is
|
2248
|
-
# removed. Defaults to false. To set this field, a user needs "delete"
|
2249
|
-
# permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
|
2250
|
-
# +optional
|
2204
|
+
# This is not supported or used by Cloud Run.
|
2251
2205
|
# Corresponds to the JSON property `blockOwnerDeletion`
|
2252
2206
|
# @return [Boolean]
|
2253
2207
|
attr_accessor :block_owner_deletion
|
2254
2208
|
alias_method :block_owner_deletion?, :block_owner_deletion
|
2255
2209
|
|
2256
|
-
#
|
2210
|
+
# This is not supported or used by Cloud Run.
|
2257
2211
|
# Corresponds to the JSON property `controller`
|
2258
2212
|
# @return [Boolean]
|
2259
2213
|
attr_accessor :controller
|
2260
2214
|
alias_method :controller?, :controller
|
2261
2215
|
|
2262
|
-
#
|
2263
|
-
# devel/sig-architecture/api-conventions.md#types-kinds
|
2216
|
+
# This is not supported or used by Cloud Run.
|
2264
2217
|
# Corresponds to the JSON property `kind`
|
2265
2218
|
# @return [String]
|
2266
2219
|
attr_accessor :kind
|
2267
2220
|
|
2268
|
-
#
|
2269
|
-
# identifiers#names
|
2221
|
+
# This is not supported or used by Cloud Run.
|
2270
2222
|
# Corresponds to the JSON property `name`
|
2271
2223
|
# @return [String]
|
2272
2224
|
attr_accessor :name
|
2273
2225
|
|
2274
|
-
#
|
2275
|
-
# identifiers#uids
|
2226
|
+
# This is not supported or used by Cloud Run.
|
2276
2227
|
# Corresponds to the JSON property `uid`
|
2277
2228
|
# @return [String]
|
2278
2229
|
attr_accessor :uid
|
@@ -2387,37 +2338,34 @@ module Google
|
|
2387
2338
|
end
|
2388
2339
|
end
|
2389
2340
|
|
2390
|
-
#
|
2391
|
-
#
|
2392
|
-
# traffic.
|
2341
|
+
# Probe describes a health check to be performed against a container to
|
2342
|
+
# determine whether it is alive or ready to receive traffic.
|
2393
2343
|
class Probe
|
2394
2344
|
include Google::Apis::Core::Hashable
|
2395
2345
|
|
2396
|
-
# Not supported by Cloud Run ExecAction describes a "run in container" action.
|
2346
|
+
# Not supported by Cloud Run. ExecAction describes a "run in container" action.
|
2397
2347
|
# Corresponds to the JSON property `exec`
|
2398
2348
|
# @return [Google::Apis::RunV1::ExecAction]
|
2399
2349
|
attr_accessor :exec
|
2400
2350
|
|
2401
|
-
#
|
2402
|
-
#
|
2351
|
+
# Minimum consecutive failures for the probe to be considered failed after
|
2352
|
+
# having succeeded. Defaults to 3. Minimum value is 1.
|
2403
2353
|
# Corresponds to the JSON property `failureThreshold`
|
2404
2354
|
# @return [Fixnum]
|
2405
2355
|
attr_accessor :failure_threshold
|
2406
2356
|
|
2407
|
-
#
|
2408
|
-
# port.
|
2357
|
+
# GRPCAction describes an action involving a GRPC port.
|
2409
2358
|
# Corresponds to the JSON property `grpc`
|
2410
2359
|
# @return [Google::Apis::RunV1::GrpcAction]
|
2411
2360
|
attr_accessor :grpc
|
2412
2361
|
|
2413
|
-
#
|
2414
|
-
# requests.
|
2362
|
+
# HTTPGetAction describes an action based on HTTP Get requests.
|
2415
2363
|
# Corresponds to the JSON property `httpGet`
|
2416
2364
|
# @return [Google::Apis::RunV1::HttpGetAction]
|
2417
2365
|
attr_accessor :http_get
|
2418
2366
|
|
2419
|
-
#
|
2420
|
-
#
|
2367
|
+
# Number of seconds after the container has started before the probe is
|
2368
|
+
# initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for
|
2421
2369
|
# liveness probe is 3600. Maximum value for startup probe is 240. More info:
|
2422
2370
|
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
|
2423
2371
|
# probes
|
@@ -2425,29 +2373,28 @@ module Google
|
|
2425
2373
|
# @return [Fixnum]
|
2426
2374
|
attr_accessor :initial_delay_seconds
|
2427
2375
|
|
2428
|
-
#
|
2429
|
-
#
|
2430
|
-
#
|
2376
|
+
# How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
|
2377
|
+
# value is 1. Maximum value for liveness probe is 3600. Maximum value for
|
2378
|
+
# startup probe is 240. Must be greater or equal than timeout_seconds.
|
2431
2379
|
# Corresponds to the JSON property `periodSeconds`
|
2432
2380
|
# @return [Fixnum]
|
2433
2381
|
attr_accessor :period_seconds
|
2434
2382
|
|
2435
|
-
#
|
2436
|
-
#
|
2383
|
+
# Minimum consecutive successes for the probe to be considered successful after
|
2384
|
+
# having failed. Must be 1 if set.
|
2437
2385
|
# Corresponds to the JSON property `successThreshold`
|
2438
2386
|
# @return [Fixnum]
|
2439
2387
|
attr_accessor :success_threshold
|
2440
2388
|
|
2441
|
-
#
|
2442
|
-
# opening a socket
|
2389
|
+
# TCPSocketAction describes an action based on opening a socket
|
2443
2390
|
# Corresponds to the JSON property `tcpSocket`
|
2444
2391
|
# @return [Google::Apis::RunV1::TcpSocketAction]
|
2445
2392
|
attr_accessor :tcp_socket
|
2446
2393
|
|
2447
|
-
#
|
2448
|
-
#
|
2449
|
-
#
|
2450
|
-
#
|
2394
|
+
# Number of seconds after which the probe times out. Defaults to 1 second.
|
2395
|
+
# Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
|
2396
|
+
# More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#
|
2397
|
+
# container-probes
|
2451
2398
|
# Corresponds to the JSON property `timeoutSeconds`
|
2452
2399
|
# @return [Fixnum]
|
2453
2400
|
attr_accessor :timeout_seconds
|
@@ -2507,17 +2454,17 @@ module Google
|
|
2507
2454
|
class ResourceRequirements
|
2508
2455
|
include Google::Apis::Core::Hashable
|
2509
2456
|
|
2510
|
-
#
|
2511
|
-
#
|
2512
|
-
#
|
2457
|
+
# Only memory and CPU are supported. Limits describes the maximum amount of
|
2458
|
+
# compute resources allowed. The values of the map is string form of the '
|
2459
|
+
# quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/
|
2513
2460
|
# staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
2514
2461
|
# Corresponds to the JSON property `limits`
|
2515
2462
|
# @return [Hash<String,String>]
|
2516
2463
|
attr_accessor :limits
|
2517
2464
|
|
2518
|
-
#
|
2519
|
-
#
|
2520
|
-
#
|
2465
|
+
# Only memory and CPU are supported. Requests describes the minimum amount of
|
2466
|
+
# compute resources required. If Requests is omitted for a container, it
|
2467
|
+
# defaults to Limits if that is explicitly specified, otherwise to an
|
2521
2468
|
# implementation-defined value. The values of the map is string form of the '
|
2522
2469
|
# quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/
|
2523
2470
|
# staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
@@ -2538,8 +2485,8 @@ module Google
|
|
2538
2485
|
|
2539
2486
|
# Revision is an immutable snapshot of code and configuration. A revision
|
2540
2487
|
# references a container image. Revisions are created by updates to a
|
2541
|
-
# Configuration. See also: https://github.com/knative/
|
2542
|
-
#
|
2488
|
+
# Configuration. See also: https://github.com/knative/specs/blob/main/specs/
|
2489
|
+
# serving/overview.md#revision
|
2543
2490
|
class Revision
|
2544
2491
|
include Google::Apis::Core::Hashable
|
2545
2492
|
|
@@ -2589,10 +2536,8 @@ module Google
|
|
2589
2536
|
include Google::Apis::Core::Hashable
|
2590
2537
|
|
2591
2538
|
# ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
|
2592
|
-
# requests per container instance of the Revision.
|
2593
|
-
#
|
2594
|
-
# which means concurrency to the application is not limited, and the system
|
2595
|
-
# decides the target concurrency for the autoscaler.
|
2539
|
+
# requests per container instance of the Revision. If not specified, defaults to
|
2540
|
+
# 80.
|
2596
2541
|
# Corresponds to the JSON property `containerConcurrency`
|
2597
2542
|
# @return [Fixnum]
|
2598
2543
|
attr_accessor :container_concurrency
|
@@ -2601,26 +2546,18 @@ module Google
|
|
2601
2546
|
# this Revision. In the context of a Revision, we disallow a number of fields on
|
2602
2547
|
# this Container, including: name and lifecycle. In Cloud Run, only a single
|
2603
2548
|
# container may be provided. The runtime contract is documented here: https://
|
2604
|
-
# github.com/knative/
|
2549
|
+
# github.com/knative/specs/blob/main/specs/serving/runtime-contract.md
|
2605
2550
|
# Corresponds to the JSON property `containers`
|
2606
2551
|
# @return [Array<Google::Apis::RunV1::Container>]
|
2607
2552
|
attr_accessor :containers
|
2608
2553
|
|
2609
|
-
#
|
2610
|
-
# environment variables, matching the syntax of Docker links. Cloud Run fully
|
2611
|
-
# managed: Not supported. Cloud Run for Anthos: supported, defaults to true.
|
2554
|
+
# Not supported by Cloud Run.
|
2612
2555
|
# Corresponds to the JSON property `enableServiceLinks`
|
2613
2556
|
# @return [Boolean]
|
2614
2557
|
attr_accessor :enable_service_links
|
2615
2558
|
alias_method :enable_service_links?, :enable_service_links
|
2616
2559
|
|
2617
|
-
#
|
2618
|
-
# use for pulling any images in pods that reference this ServiceAccount.
|
2619
|
-
# ImagePullSecrets are distinct from Secrets because Secrets can be mounted in
|
2620
|
-
# the pod, but ImagePullSecrets are only accessed by the kubelet. More info:
|
2621
|
-
# https://kubernetes.io/docs/concepts/containers/images/#specifying-
|
2622
|
-
# imagepullsecrets-on-a-pod Cloud Run fully managed: Not supported. Cloud Run
|
2623
|
-
# for Anthos: supported.
|
2560
|
+
# Not supported by Cloud Run.
|
2624
2561
|
# Corresponds to the JSON property `imagePullSecrets`
|
2625
2562
|
# @return [Array<Google::Apis::RunV1::LocalObjectReference>]
|
2626
2563
|
attr_accessor :image_pull_secrets
|
@@ -2634,10 +2571,8 @@ module Google
|
|
2634
2571
|
attr_accessor :service_account_name
|
2635
2572
|
|
2636
2573
|
# TimeoutSeconds holds the max duration the instance is allowed for responding
|
2637
|
-
# to a request. Cloud Run
|
2638
|
-
#
|
2639
|
-
# to 300 seconds (5 minutes). Maximum allowed value is configurable by the
|
2640
|
-
# cluster operator.
|
2574
|
+
# to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed
|
2575
|
+
# value is 3600 seconds (1 hour).
|
2641
2576
|
# Corresponds to the JSON property `timeoutSeconds`
|
2642
2577
|
# @return [Fixnum]
|
2643
2578
|
attr_accessor :timeout_seconds
|
@@ -2668,13 +2603,13 @@ module Google
|
|
2668
2603
|
class RevisionStatus
|
2669
2604
|
include Google::Apis::Core::Hashable
|
2670
2605
|
|
2671
|
-
# Conditions
|
2606
|
+
# Conditions communicate information about ongoing/complete reconciliation
|
2672
2607
|
# processes that bring the "spec" inline with the observed state of the world.
|
2673
2608
|
# As a Revision is being prepared, it will incrementally update conditions.
|
2674
|
-
# Revision-specific conditions include: *
|
2675
|
-
# underlying resources have been provisioned. *
|
2676
|
-
# the Revision readiness check completes. *
|
2677
|
-
# receive traffic.
|
2609
|
+
# Revision-specific conditions include: * `ResourcesAvailable`: `True` when
|
2610
|
+
# underlying resources have been provisioned. * `ContainerHealthy`: `True` when
|
2611
|
+
# the Revision readiness check completes. * `Active`: `True` when the Revision
|
2612
|
+
# may receive traffic.
|
2678
2613
|
# Corresponds to the JSON property `conditions`
|
2679
2614
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
2680
2615
|
attr_accessor :conditions
|
@@ -2753,8 +2688,8 @@ module Google
|
|
2753
2688
|
# referencing the Configuration responsible for creating them; in these cases
|
2754
2689
|
# the Route is additionally responsible for monitoring the Configuration for "
|
2755
2690
|
# latest ready" revision changes, and smoothly rolling out latest revisions. See
|
2756
|
-
# also: https://github.com/knative/
|
2757
|
-
# Cloud Run currently supports referencing a single Configuration to
|
2691
|
+
# also: https://github.com/knative/specs/blob/main/specs/serving/overview.md#
|
2692
|
+
# route Cloud Run currently supports referencing a single Configuration to
|
2758
2693
|
# automatically deploy the "latest ready" Revision from that Configuration.
|
2759
2694
|
class Route
|
2760
2695
|
include Google::Apis::Core::Hashable
|
@@ -2848,7 +2783,7 @@ module Google
|
|
2848
2783
|
|
2849
2784
|
# Traffic holds the configured traffic distribution. These entries will always
|
2850
2785
|
# contain RevisionName references. When ConfigurationName appears in the spec,
|
2851
|
-
# this will hold the LatestReadyRevisionName that
|
2786
|
+
# this will hold the LatestReadyRevisionName that was last observed.
|
2852
2787
|
# Corresponds to the JSON property `traffic`
|
2853
2788
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
2854
2789
|
attr_accessor :traffic
|
@@ -2887,14 +2822,14 @@ module Google
|
|
2887
2822
|
end
|
2888
2823
|
end
|
2889
2824
|
|
2890
|
-
# Not supported by Cloud Run SecretEnvSource selects a Secret to populate the
|
2825
|
+
# Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the
|
2891
2826
|
# environment variables with. The contents of the target Secret's Data field
|
2892
2827
|
# will represent the key-value pairs as environment variables.
|
2893
2828
|
class SecretEnvSource
|
2894
2829
|
include Google::Apis::Core::Hashable
|
2895
2830
|
|
2896
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
2897
|
-
# let you locate the referenced object inside the same namespace.
|
2831
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
2832
|
+
# to let you locate the referenced object inside the same namespace.
|
2898
2833
|
# Corresponds to the JSON property `localObjectReference`
|
2899
2834
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
2900
2835
|
attr_accessor :local_object_reference
|
@@ -2904,7 +2839,7 @@ module Google
|
|
2904
2839
|
# @return [String]
|
2905
2840
|
attr_accessor :name
|
2906
2841
|
|
2907
|
-
#
|
2842
|
+
# Specify whether the Secret must be defined
|
2908
2843
|
# Corresponds to the JSON property `optional`
|
2909
2844
|
# @return [Boolean]
|
2910
2845
|
attr_accessor :optional
|
@@ -2926,15 +2861,15 @@ module Google
|
|
2926
2861
|
class SecretKeySelector
|
2927
2862
|
include Google::Apis::Core::Hashable
|
2928
2863
|
|
2929
|
-
# A Cloud Secret Manager secret version. Must be 'latest' for the
|
2930
|
-
# or an integer for a specific version. The key of the secret to
|
2931
|
-
# Must be a valid secret key.
|
2864
|
+
# Required. A Cloud Secret Manager secret version. Must be 'latest' for the
|
2865
|
+
# latest version or an integer for a specific version. The key of the secret to
|
2866
|
+
# select from. Must be a valid secret key.
|
2932
2867
|
# Corresponds to the JSON property `key`
|
2933
2868
|
# @return [String]
|
2934
2869
|
attr_accessor :key
|
2935
2870
|
|
2936
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
2937
|
-
# let you locate the referenced object inside the same namespace.
|
2871
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
2872
|
+
# to let you locate the referenced object inside the same namespace.
|
2938
2873
|
# Corresponds to the JSON property `localObjectReference`
|
2939
2874
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
2940
2875
|
attr_accessor :local_object_reference
|
@@ -2949,7 +2884,7 @@ module Google
|
|
2949
2884
|
# @return [String]
|
2950
2885
|
attr_accessor :name
|
2951
2886
|
|
2952
|
-
#
|
2887
|
+
# Specify whether the Secret or its key must be defined.
|
2953
2888
|
# Corresponds to the JSON property `optional`
|
2954
2889
|
# @return [Boolean]
|
2955
2890
|
attr_accessor :optional
|
@@ -2968,10 +2903,11 @@ module Google
|
|
2968
2903
|
end
|
2969
2904
|
end
|
2970
2905
|
|
2971
|
-
#
|
2972
|
-
#
|
2973
|
-
#
|
2974
|
-
#
|
2906
|
+
# A volume representing a secret stored in Google Secret Manager. The secret's
|
2907
|
+
# value will be presented as the content of a file whose name is defined in the
|
2908
|
+
# item path. If no items are defined, the name of the file is the secret_name.
|
2909
|
+
# The contents of the target Secret's Data field will be presented in a volume
|
2910
|
+
# as files using the keys in the Data field as the file names.
|
2975
2911
|
class SecretVolumeSource
|
2976
2912
|
include Google::Apis::Core::Hashable
|
2977
2913
|
|
@@ -2990,21 +2926,17 @@ module Google
|
|
2990
2926
|
# @return [Fixnum]
|
2991
2927
|
attr_accessor :default_mode
|
2992
2928
|
|
2993
|
-
#
|
2994
|
-
#
|
2995
|
-
#
|
2996
|
-
#
|
2997
|
-
#
|
2998
|
-
#
|
2999
|
-
# is the value. If specified, the listed keys will be projected into the
|
3000
|
-
# specified paths, and unlisted keys will not be present. If a key is specified
|
3001
|
-
# that is not present in the Secret, the volume setup will error unless it is
|
3002
|
-
# marked optional.
|
2929
|
+
# A list of secret versions to mount in the volume. If no items are specified,
|
2930
|
+
# the volume will expose a file with the same name as the secret name. The
|
2931
|
+
# contents of the file will be the data in the latest version of the secret. If
|
2932
|
+
# items are specified, the key will be used as the version to fetch from Cloud
|
2933
|
+
# Secret Manager and the path will be the name of the file exposed in the volume.
|
2934
|
+
# When items are defined, they must specify both a key and a path.
|
3003
2935
|
# Corresponds to the JSON property `items`
|
3004
2936
|
# @return [Array<Google::Apis::RunV1::KeyToPath>]
|
3005
2937
|
attr_accessor :items
|
3006
2938
|
|
3007
|
-
#
|
2939
|
+
# Not supported by Cloud Run.
|
3008
2940
|
# Corresponds to the JSON property `optional`
|
3009
2941
|
# @return [Boolean]
|
3010
2942
|
attr_accessor :optional
|
@@ -3033,15 +2965,15 @@ module Google
|
|
3033
2965
|
end
|
3034
2966
|
end
|
3035
2967
|
|
3036
|
-
# Not supported by Cloud Run SecurityContext holds security configuration that
|
2968
|
+
# Not supported by Cloud Run. SecurityContext holds security configuration that
|
3037
2969
|
# will be applied to a container. Some fields are present in both
|
3038
2970
|
# SecurityContext and PodSecurityContext. When both are set, the values in
|
3039
2971
|
# SecurityContext take precedence.
|
3040
2972
|
class SecurityContext
|
3041
2973
|
include Google::Apis::Core::Hashable
|
3042
2974
|
|
3043
|
-
#
|
3044
|
-
#
|
2975
|
+
# The UID to run the entrypoint of the container process. Defaults to user
|
2976
|
+
# specified in image metadata if unspecified. May also be set in
|
3045
2977
|
# PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the
|
3046
2978
|
# value specified in SecurityContext takes precedence.
|
3047
2979
|
# Corresponds to the JSON property `runAsUser`
|
@@ -3071,12 +3003,12 @@ module Google
|
|
3071
3003
|
class Service
|
3072
3004
|
include Google::Apis::Core::Hashable
|
3073
3005
|
|
3074
|
-
# The API version for this call
|
3006
|
+
# The API version for this call. It must be "serving.knative.dev/v1".
|
3075
3007
|
# Corresponds to the JSON property `apiVersion`
|
3076
3008
|
# @return [String]
|
3077
3009
|
attr_accessor :api_version
|
3078
3010
|
|
3079
|
-
# The kind of resource
|
3011
|
+
# The kind of resource. It must be "Service".
|
3080
3012
|
# Corresponds to the JSON property `kind`
|
3081
3013
|
# @return [String]
|
3082
3014
|
attr_accessor :kind
|
@@ -3124,8 +3056,8 @@ module Google
|
|
3124
3056
|
# @return [Google::Apis::RunV1::RevisionTemplate]
|
3125
3057
|
attr_accessor :template
|
3126
3058
|
|
3127
|
-
#
|
3128
|
-
#
|
3059
|
+
# Specifies how to distribute traffic over a collection of Knative Revisions and
|
3060
|
+
# Configurations to the Service's main URL.
|
3129
3061
|
# Corresponds to the JSON property `traffic`
|
3130
3062
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
3131
3063
|
attr_accessor :traffic
|
@@ -3150,49 +3082,45 @@ module Google
|
|
3150
3082
|
# @return [Google::Apis::RunV1::Addressable]
|
3151
3083
|
attr_accessor :address
|
3152
3084
|
|
3153
|
-
# Conditions
|
3154
|
-
# processes that bring the
|
3155
|
-
# Service-specific conditions include: *
|
3156
|
-
# underlying Configuration is ready. *
|
3157
|
-
# Route is ready. *
|
3158
|
-
# Configuration are ready.
|
3085
|
+
# Conditions communicate information about ongoing/complete reconciliation
|
3086
|
+
# processes that bring the `spec` inline with the observed state of the world.
|
3087
|
+
# Service-specific conditions include: * `ConfigurationsReady`: `True` when the
|
3088
|
+
# underlying Configuration is ready. * `RoutesReady`: `True` when the underlying
|
3089
|
+
# Route is ready. * `Ready`: `True` when all underlying resources are ready.
|
3159
3090
|
# Corresponds to the JSON property `conditions`
|
3160
3091
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
3161
3092
|
attr_accessor :conditions
|
3162
3093
|
|
3163
|
-
#
|
3164
|
-
#
|
3165
|
-
# that use LatestReadyRevisionName.
|
3094
|
+
# Name of the last revision that was created from this Service's Configuration.
|
3095
|
+
# It might not be ready yet, for that use LatestReadyRevisionName.
|
3166
3096
|
# Corresponds to the JSON property `latestCreatedRevisionName`
|
3167
3097
|
# @return [String]
|
3168
3098
|
attr_accessor :latest_created_revision_name
|
3169
3099
|
|
3170
|
-
#
|
3171
|
-
#
|
3172
|
-
# condition become "True".
|
3100
|
+
# Name of the latest Revision from this Service's Configuration that has had its
|
3101
|
+
# `Ready` condition become `True`.
|
3173
3102
|
# Corresponds to the JSON property `latestReadyRevisionName`
|
3174
3103
|
# @return [String]
|
3175
3104
|
attr_accessor :latest_ready_revision_name
|
3176
3105
|
|
3177
|
-
#
|
3178
|
-
#
|
3179
|
-
#
|
3180
|
-
# True or False.
|
3106
|
+
# Returns the generation last fully processed by the system. This will only
|
3107
|
+
# match metadata.generation when reconciliation is complete. Clients polling for
|
3108
|
+
# completed reconciliation should poll until observedGeneration = metadata.
|
3109
|
+
# generation and the Ready condition's status is True or False.
|
3181
3110
|
# Corresponds to the JSON property `observedGeneration`
|
3182
3111
|
# @return [Fixnum]
|
3183
3112
|
attr_accessor :observed_generation
|
3184
3113
|
|
3185
|
-
#
|
3186
|
-
#
|
3187
|
-
#
|
3188
|
-
# observed.
|
3114
|
+
# Holds the configured traffic distribution. These entries will always contain
|
3115
|
+
# RevisionName references. When ConfigurationName appears in the spec, this will
|
3116
|
+
# hold the LatestReadyRevisionName that we last observed.
|
3189
3117
|
# Corresponds to the JSON property `traffic`
|
3190
3118
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
3191
3119
|
attr_accessor :traffic
|
3192
3120
|
|
3193
|
-
#
|
3194
|
-
#
|
3195
|
-
#
|
3121
|
+
# URL that will distribute traffic over the provided traffic targets. It
|
3122
|
+
# generally has the form https://`route-hash`-`project-hash`-`cluster-level-
|
3123
|
+
# suffix`.a.run.app
|
3196
3124
|
# Corresponds to the JSON property `url`
|
3197
3125
|
# @return [String]
|
3198
3126
|
attr_accessor :url
|
@@ -3266,11 +3194,11 @@ module Google
|
|
3266
3194
|
end
|
3267
3195
|
end
|
3268
3196
|
|
3269
|
-
# Status is a return value for calls that don't return other objects
|
3197
|
+
# Status is a return value for calls that don't return other objects.
|
3270
3198
|
class Status
|
3271
3199
|
include Google::Apis::Core::Hashable
|
3272
3200
|
|
3273
|
-
# Suggested HTTP return code for this status, 0 if not set.
|
3201
|
+
# Suggested HTTP return code for this status, 0 if not set.
|
3274
3202
|
# Corresponds to the JSON property `code`
|
3275
3203
|
# @return [Fixnum]
|
3276
3204
|
attr_accessor :code
|
@@ -3284,28 +3212,27 @@ module Google
|
|
3284
3212
|
# @return [Google::Apis::RunV1::StatusDetails]
|
3285
3213
|
attr_accessor :details
|
3286
3214
|
|
3287
|
-
# A human-readable description of the status of this operation.
|
3215
|
+
# A human-readable description of the status of this operation.
|
3288
3216
|
# Corresponds to the JSON property `message`
|
3289
3217
|
# @return [String]
|
3290
3218
|
attr_accessor :message
|
3291
3219
|
|
3292
|
-
#
|
3293
|
-
#
|
3294
|
-
# ListMeta`.
|
3220
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
3221
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
3295
3222
|
# Corresponds to the JSON property `metadata`
|
3296
3223
|
# @return [Google::Apis::RunV1::ListMeta]
|
3297
3224
|
attr_accessor :metadata
|
3298
3225
|
|
3299
3226
|
# A machine-readable description of why this operation is in the "Failure"
|
3300
3227
|
# status. If this value is empty there is no information available. A Reason
|
3301
|
-
# clarifies an HTTP status code but does not override it.
|
3228
|
+
# clarifies an HTTP status code but does not override it.
|
3302
3229
|
# Corresponds to the JSON property `reason`
|
3303
3230
|
# @return [String]
|
3304
3231
|
attr_accessor :reason
|
3305
3232
|
|
3306
3233
|
# Status of the operation. One of: "Success" or "Failure". More info: https://
|
3307
3234
|
# git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
3308
|
-
# spec-and-status
|
3235
|
+
# spec-and-status
|
3309
3236
|
# Corresponds to the JSON property `status`
|
3310
3237
|
# @return [String]
|
3311
3238
|
attr_accessor :status
|
@@ -3333,21 +3260,21 @@ module Google
|
|
3333
3260
|
# The field of the resource that has caused this error, as named by its JSON
|
3334
3261
|
# serialization. May include dot and postfix notation for nested attributes.
|
3335
3262
|
# Arrays are zero-indexed. Fields may appear more than once in an array of
|
3336
|
-
# causes due to fields having multiple errors.
|
3337
|
-
#
|
3338
|
-
#
|
3263
|
+
# causes due to fields having multiple errors. Examples: "name" - the field "
|
3264
|
+
# name" on the current resource "items[0].name" - the field "name" on the first
|
3265
|
+
# array entry in "items"
|
3339
3266
|
# Corresponds to the JSON property `field`
|
3340
3267
|
# @return [String]
|
3341
3268
|
attr_accessor :field
|
3342
3269
|
|
3343
3270
|
# A human-readable description of the cause of the error. This field may be
|
3344
|
-
# presented as-is to a reader.
|
3271
|
+
# presented as-is to a reader.
|
3345
3272
|
# Corresponds to the JSON property `message`
|
3346
3273
|
# @return [String]
|
3347
3274
|
attr_accessor :message
|
3348
3275
|
|
3349
3276
|
# A machine-readable description of the cause of the error. If this value is
|
3350
|
-
# empty there is no information available.
|
3277
|
+
# empty there is no information available.
|
3351
3278
|
# Corresponds to the JSON property `reason`
|
3352
3279
|
# @return [String]
|
3353
3280
|
attr_accessor :reason
|
@@ -3373,13 +3300,12 @@ module Google
|
|
3373
3300
|
include Google::Apis::Core::Hashable
|
3374
3301
|
|
3375
3302
|
# The Causes array includes more details associated with the StatusReason
|
3376
|
-
# failure. Not all StatusReasons may provide detailed causes.
|
3303
|
+
# failure. Not all StatusReasons may provide detailed causes.
|
3377
3304
|
# Corresponds to the JSON property `causes`
|
3378
3305
|
# @return [Array<Google::Apis::RunV1::StatusCause>]
|
3379
3306
|
attr_accessor :causes
|
3380
3307
|
|
3381
|
-
# The group attribute of the resource associated with the status StatusReason.
|
3382
|
-
# optional
|
3308
|
+
# The group attribute of the resource associated with the status StatusReason.
|
3383
3309
|
# Corresponds to the JSON property `group`
|
3384
3310
|
# @return [String]
|
3385
3311
|
attr_accessor :group
|
@@ -3387,13 +3313,13 @@ module Google
|
|
3387
3313
|
# The kind attribute of the resource associated with the status StatusReason. On
|
3388
3314
|
# some operations may differ from the requested resource Kind. More info: https:/
|
3389
3315
|
# /git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
3390
|
-
# types-kinds
|
3316
|
+
# types-kinds
|
3391
3317
|
# Corresponds to the JSON property `kind`
|
3392
3318
|
# @return [String]
|
3393
3319
|
attr_accessor :kind
|
3394
3320
|
|
3395
3321
|
# The name attribute of the resource associated with the status StatusReason (
|
3396
|
-
# when there is a single name which can be described).
|
3322
|
+
# when there is a single name which can be described).
|
3397
3323
|
# Corresponds to the JSON property `name`
|
3398
3324
|
# @return [String]
|
3399
3325
|
attr_accessor :name
|
@@ -3401,13 +3327,13 @@ module Google
|
|
3401
3327
|
# If specified, the time in seconds before the operation should be retried. Some
|
3402
3328
|
# errors may indicate the client must take an alternate action - for those
|
3403
3329
|
# errors this field may indicate how long to wait before taking the alternate
|
3404
|
-
# action.
|
3330
|
+
# action.
|
3405
3331
|
# Corresponds to the JSON property `retryAfterSeconds`
|
3406
3332
|
# @return [Fixnum]
|
3407
3333
|
attr_accessor :retry_after_seconds
|
3408
3334
|
|
3409
3335
|
# UID of the resource. (when there is a single resource which can be described).
|
3410
|
-
# More info: https://kubernetes.io/docs/user-guide/identifiers#uids
|
3336
|
+
# More info: https://kubernetes.io/docs/user-guide/identifiers#uids
|
3411
3337
|
# Corresponds to the JSON property `uid`
|
3412
3338
|
# @return [String]
|
3413
3339
|
attr_accessor :uid
|
@@ -3427,20 +3353,16 @@ module Google
|
|
3427
3353
|
end
|
3428
3354
|
end
|
3429
3355
|
|
3430
|
-
#
|
3431
|
-
# opening a socket
|
3356
|
+
# TCPSocketAction describes an action based on opening a socket
|
3432
3357
|
class TcpSocketAction
|
3433
3358
|
include Google::Apis::Core::Hashable
|
3434
3359
|
|
3435
|
-
#
|
3360
|
+
# Not supported by Cloud Run.
|
3436
3361
|
# Corresponds to the JSON property `host`
|
3437
3362
|
# @return [String]
|
3438
3363
|
attr_accessor :host
|
3439
3364
|
|
3440
|
-
#
|
3441
|
-
# range 1 to 65535. Name must be an IANA_SVC_NAME. This field is currently
|
3442
|
-
# limited to integer types only because of proto's inability to properly support
|
3443
|
-
# the IntOrString golang type.
|
3365
|
+
# Port number to access on the container. Number must be in the range 1 to 65535.
|
3444
3366
|
# Corresponds to the JSON property `port`
|
3445
3367
|
# @return [Fixnum]
|
3446
3368
|
attr_accessor :port
|
@@ -3463,7 +3385,7 @@ module Google
|
|
3463
3385
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
3464
3386
|
# object. Servers should convert recognized schemas to the latest internal value,
|
3465
3387
|
# and may reject unrecognized values. More info: https://git.k8s.io/community/
|
3466
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
3388
|
+
# contributors/devel/sig-architecture/api-conventions.md#resources
|
3467
3389
|
# Corresponds to the JSON property `apiVersion`
|
3468
3390
|
# @return [String]
|
3469
3391
|
attr_accessor :api_version
|
@@ -3471,8 +3393,7 @@ module Google
|
|
3471
3393
|
# Optional. Kind is a string value representing the REST resource this object
|
3472
3394
|
# represents. Servers may infer this from the endpoint the client submits
|
3473
3395
|
# requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/
|
3474
|
-
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
3475
|
-
# optional
|
3396
|
+
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
3476
3397
|
# Corresponds to the JSON property `kind`
|
3477
3398
|
# @return [String]
|
3478
3399
|
attr_accessor :kind
|
@@ -3488,7 +3409,7 @@ module Google
|
|
3488
3409
|
# @return [Google::Apis::RunV1::TaskSpec]
|
3489
3410
|
attr_accessor :spec
|
3490
3411
|
|
3491
|
-
# TaskStatus represents the status of a task
|
3412
|
+
# TaskStatus represents the status of a task.
|
3492
3413
|
# Corresponds to the JSON property `status`
|
3493
3414
|
# @return [Google::Apis::RunV1::TaskStatus]
|
3494
3415
|
attr_accessor :status
|
@@ -3557,21 +3478,20 @@ module Google
|
|
3557
3478
|
# Optional. Email address of the IAM service account associated with the task of
|
3558
3479
|
# a job execution. The service account represents the identity of the running
|
3559
3480
|
# task, and determines what permissions the task has. If not provided, the task
|
3560
|
-
# will use the project's default service account.
|
3481
|
+
# will use the project's default service account.
|
3561
3482
|
# Corresponds to the JSON property `serviceAccountName`
|
3562
3483
|
# @return [String]
|
3563
3484
|
attr_accessor :service_account_name
|
3564
3485
|
|
3565
|
-
# Optional.
|
3566
|
-
#
|
3567
|
-
#
|
3568
|
-
# timeout. +optional
|
3486
|
+
# Optional. Duration in seconds the task may be active before the system will
|
3487
|
+
# actively try to mark it failed and kill associated containers. This applies
|
3488
|
+
# per attempt of a task, meaning each retry can run for the full timeout.
|
3569
3489
|
# Corresponds to the JSON property `timeoutSeconds`
|
3570
3490
|
# @return [Fixnum]
|
3571
3491
|
attr_accessor :timeout_seconds
|
3572
3492
|
|
3573
3493
|
# Optional. List of volumes that can be mounted by containers belonging to the
|
3574
|
-
# task. More info: https://kubernetes.io/docs/concepts/storage/volumes
|
3494
|
+
# task. More info: https://kubernetes.io/docs/concepts/storage/volumes
|
3575
3495
|
# Corresponds to the JSON property `volumes`
|
3576
3496
|
# @return [Array<Google::Apis::RunV1::Volume>]
|
3577
3497
|
attr_accessor :volumes
|
@@ -3590,20 +3510,22 @@ module Google
|
|
3590
3510
|
end
|
3591
3511
|
end
|
3592
3512
|
|
3593
|
-
# TaskStatus represents the status of a task
|
3513
|
+
# TaskStatus represents the status of a task.
|
3594
3514
|
class TaskStatus
|
3595
3515
|
include Google::Apis::Core::Hashable
|
3596
3516
|
|
3597
3517
|
# Optional. Represents time when the task was completed. It is not guaranteed to
|
3598
3518
|
# be set in happens-before order across separate operations. It is represented
|
3599
|
-
# in RFC3339 form and is in UTC.
|
3519
|
+
# in RFC3339 form and is in UTC.
|
3600
3520
|
# Corresponds to the JSON property `completionTime`
|
3601
3521
|
# @return [String]
|
3602
3522
|
attr_accessor :completion_time
|
3603
3523
|
|
3604
|
-
# Optional.
|
3605
|
-
#
|
3606
|
-
#
|
3524
|
+
# Optional. Conditions communicate information about ongoing/complete
|
3525
|
+
# reconciliation processes that bring the "spec" inline with the observed state
|
3526
|
+
# of the world. Task-specific conditions include: * `Started`: `True` when the
|
3527
|
+
# task has started to execute. * `Completed`: `True` when the task has succeeded.
|
3528
|
+
# `False` when the task has failed.
|
3607
3529
|
# Corresponds to the JSON property `conditions`
|
3608
3530
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
3609
3531
|
attr_accessor :conditions
|
@@ -3623,21 +3545,21 @@ module Google
|
|
3623
3545
|
# @return [String]
|
3624
3546
|
attr_accessor :log_uri
|
3625
3547
|
|
3626
|
-
# Optional. The 'generation' of the
|
3548
|
+
# Optional. The 'generation' of the task that was last processed by the
|
3627
3549
|
# controller.
|
3628
3550
|
# Corresponds to the JSON property `observedGeneration`
|
3629
3551
|
# @return [Fixnum]
|
3630
3552
|
attr_accessor :observed_generation
|
3631
3553
|
|
3632
3554
|
# Optional. The number of times this task was retried. Instances are retried
|
3633
|
-
# when they fail up to the maxRetries limit.
|
3555
|
+
# when they fail up to the maxRetries limit.
|
3634
3556
|
# Corresponds to the JSON property `retried`
|
3635
3557
|
# @return [Fixnum]
|
3636
3558
|
attr_accessor :retried
|
3637
3559
|
|
3638
3560
|
# Optional. Represents time when the task started to run. It is not guaranteed
|
3639
3561
|
# to be set in happens-before order across separate operations. It is
|
3640
|
-
# represented in RFC3339 form and is in UTC.
|
3562
|
+
# represented in RFC3339 form and is in UTC.
|
3641
3563
|
# Corresponds to the JSON property `startTime`
|
3642
3564
|
# @return [String]
|
3643
3565
|
attr_accessor :start_time
|
@@ -3723,12 +3645,12 @@ module Google
|
|
3723
3645
|
class TrafficTarget
|
3724
3646
|
include Google::Apis::Core::Hashable
|
3725
3647
|
|
3726
|
-
# ConfigurationName of a configuration to whose latest revision
|
3727
|
-
# this portion of traffic. When the "status.latestReadyRevisionName" of the
|
3728
|
-
# referenced configuration changes,
|
3729
|
-
#
|
3730
|
-
#
|
3731
|
-
#
|
3648
|
+
# ConfigurationName of a configuration to whose latest revision which will be
|
3649
|
+
# sent this portion of traffic. When the "status.latestReadyRevisionName" of the
|
3650
|
+
# referenced configuration changes, traffic will automatically migrate from the
|
3651
|
+
# prior "latest ready" revision to the new one. This field is never set in Route'
|
3652
|
+
# s status, only its spec. This is mutually exclusive with RevisionName. Cloud
|
3653
|
+
# Run currently supports a single ConfigurationName.
|
3732
3654
|
# Corresponds to the JSON property `configurationName`
|
3733
3655
|
# @return [String]
|
3734
3656
|
attr_accessor :configuration_name
|
@@ -3787,7 +3709,7 @@ module Google
|
|
3787
3709
|
class Volume
|
3788
3710
|
include Google::Apis::Core::Hashable
|
3789
3711
|
|
3790
|
-
# Not supported by Cloud Run Adapts a ConfigMap into a volume. The contents of
|
3712
|
+
# Not supported by Cloud Run. Adapts a ConfigMap into a volume. The contents of
|
3791
3713
|
# the target ConfigMap's Data field will be presented in a volume as files using
|
3792
3714
|
# the keys in the Data field as the file names, unless the items element is
|
3793
3715
|
# populated with specific mappings of keys to paths.
|
@@ -3800,10 +3722,11 @@ module Google
|
|
3800
3722
|
# @return [String]
|
3801
3723
|
attr_accessor :name
|
3802
3724
|
|
3803
|
-
#
|
3804
|
-
#
|
3805
|
-
#
|
3806
|
-
#
|
3725
|
+
# A volume representing a secret stored in Google Secret Manager. The secret's
|
3726
|
+
# value will be presented as the content of a file whose name is defined in the
|
3727
|
+
# item path. If no items are defined, the name of the file is the secret_name.
|
3728
|
+
# The contents of the target Secret's Data field will be presented in a volume
|
3729
|
+
# as files using the keys in the Data field as the file names.
|
3807
3730
|
# Corresponds to the JSON property `secret`
|
3808
3731
|
# @return [Google::Apis::RunV1::SecretVolumeSource]
|
3809
3732
|
attr_accessor :secret
|
@@ -3824,26 +3747,26 @@ module Google
|
|
3824
3747
|
class VolumeMount
|
3825
3748
|
include Google::Apis::Core::Hashable
|
3826
3749
|
|
3827
|
-
# Path within the container at which the volume should be mounted.
|
3828
|
-
# contain ':'.
|
3750
|
+
# Required. Path within the container at which the volume should be mounted.
|
3751
|
+
# Must not contain ':'.
|
3829
3752
|
# Corresponds to the JSON property `mountPath`
|
3830
3753
|
# @return [String]
|
3831
3754
|
attr_accessor :mount_path
|
3832
3755
|
|
3833
|
-
# The name of the volume. There must be a corresponding Volume with
|
3834
|
-
# name.
|
3756
|
+
# Required. The name of the volume. There must be a corresponding Volume with
|
3757
|
+
# the same name.
|
3835
3758
|
# Corresponds to the JSON property `name`
|
3836
3759
|
# @return [String]
|
3837
3760
|
attr_accessor :name
|
3838
3761
|
|
3839
|
-
#
|
3762
|
+
# Only true is accepted for Secret Volumes. Defaults to true for Secrets Volumes.
|
3840
3763
|
# Corresponds to the JSON property `readOnly`
|
3841
3764
|
# @return [Boolean]
|
3842
3765
|
attr_accessor :read_only
|
3843
3766
|
alias_method :read_only?, :read_only
|
3844
3767
|
|
3845
|
-
#
|
3846
|
-
#
|
3768
|
+
# Path within the volume from which the container's volume should be mounted.
|
3769
|
+
# Defaults to "" (volume's root).
|
3847
3770
|
# Corresponds to the JSON property `subPath`
|
3848
3771
|
# @return [String]
|
3849
3772
|
attr_accessor :sub_path
|