google-apis-run_v1 0.33.0 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/run_v1/classes.rb +401 -472
- 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 +145 -131
- 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 Selects a key from a ConfigMap.
|
265
|
+
# Not supported by Cloud Run. Selects a key from a ConfigMap.
|
250
266
|
class ConfigMapKeySelector
|
251
267
|
include Google::Apis::Core::Hashable
|
252
268
|
|
253
|
-
# The key to select.
|
269
|
+
# Required. The key to select.
|
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
|
-
# The ConfigMap to select from.
|
280
|
+
# Required. The ConfigMap to select from.
|
265
281
|
# Corresponds to the JSON property `name`
|
266
282
|
# @return [String]
|
267
283
|
attr_accessor :name
|
268
284
|
|
269
|
-
#
|
285
|
+
# Specify whether the ConfigMap or its key must be defined
|
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,69 @@ module Google
|
|
465
482
|
class Container
|
466
483
|
include Google::Apis::Core::Hashable
|
467
484
|
|
468
|
-
#
|
469
|
-
#
|
470
|
-
#
|
471
|
-
#
|
472
|
-
#
|
473
|
-
#
|
474
|
-
#
|
475
|
-
#
|
485
|
+
# Arguments to the entrypoint. The docker image's CMD is used if this is not
|
486
|
+
# provided. Variable references $(VAR_NAME) are expanded using the container's
|
487
|
+
# environment. If a variable cannot be resolved, the reference in the input
|
488
|
+
# string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $
|
489
|
+
# $, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of
|
490
|
+
# whether the variable exists or not. More info: https://kubernetes.io/docs/
|
491
|
+
# tasks/inject-data-application/define-command-argument-container/#running-a-
|
492
|
+
# command-in-a-shell
|
476
493
|
# Corresponds to the JSON property `args`
|
477
494
|
# @return [Array<String>]
|
478
495
|
attr_accessor :args
|
479
496
|
|
480
|
-
#
|
497
|
+
# Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT
|
498
|
+
# is used if this is not provided. Variable references $(VAR_NAME) are expanded
|
499
|
+
# using the container's environment. If a variable cannot be resolved, the
|
500
|
+
# reference in the input string will be unchanged. The $(VAR_NAME) syntax can be
|
501
|
+
# escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be
|
502
|
+
# expanded, regardless of whether the variable exists or not. More info: https://
|
503
|
+
# kubernetes.io/docs/tasks/inject-data-application/define-command-argument-
|
504
|
+
# container/#running-a-command-in-a-shell
|
481
505
|
# Corresponds to the JSON property `command`
|
482
506
|
# @return [Array<String>]
|
483
507
|
attr_accessor :command
|
484
508
|
|
485
|
-
#
|
509
|
+
# List of environment variables to set in the container.
|
486
510
|
# Corresponds to the JSON property `env`
|
487
511
|
# @return [Array<Google::Apis::RunV1::EnvVar>]
|
488
512
|
attr_accessor :env
|
489
513
|
|
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.
|
514
|
+
# Not supported by Cloud Run.
|
496
515
|
# Corresponds to the JSON property `envFrom`
|
497
516
|
# @return [Array<Google::Apis::RunV1::EnvFromSource>]
|
498
517
|
attr_accessor :env_from
|
499
518
|
|
500
|
-
#
|
501
|
-
#
|
502
|
-
#
|
519
|
+
# Required. URL of the Container image in Google Container Registry or Google
|
520
|
+
# Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/
|
521
|
+
# images
|
503
522
|
# Corresponds to the JSON property `image`
|
504
523
|
# @return [String]
|
505
524
|
attr_accessor :image
|
506
525
|
|
507
|
-
#
|
508
|
-
#
|
509
|
-
#
|
526
|
+
# Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :
|
527
|
+
# latest tag is specified, or IfNotPresent otherwise. More info: https://
|
528
|
+
# kubernetes.io/docs/concepts/containers/images#updating-images
|
510
529
|
# Corresponds to the JSON property `imagePullPolicy`
|
511
530
|
# @return [String]
|
512
531
|
attr_accessor :image_pull_policy
|
513
532
|
|
514
|
-
#
|
515
|
-
#
|
516
|
-
# traffic.
|
533
|
+
# Probe describes a health check to be performed against a container to
|
534
|
+
# determine whether it is alive or ready to receive traffic.
|
517
535
|
# Corresponds to the JSON property `livenessProbe`
|
518
536
|
# @return [Google::Apis::RunV1::Probe]
|
519
537
|
attr_accessor :liveness_probe
|
520
538
|
|
521
|
-
#
|
522
|
-
#
|
523
|
-
#
|
539
|
+
# Name of the container specified as a DNS_LABEL. Currently unused in Cloud Run.
|
540
|
+
# More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/
|
541
|
+
# names/#dns-label-names
|
524
542
|
# Corresponds to the JSON property `name`
|
525
543
|
# @return [String]
|
526
544
|
attr_accessor :name
|
527
545
|
|
528
|
-
#
|
529
|
-
#
|
546
|
+
# List of ports to expose from the container. Only a single port can be
|
547
|
+
# specified. The specified ports must be listening on all interfaces (0.0.0.0)
|
530
548
|
# within the container to be accessible. If omitted, a port number will be
|
531
549
|
# chosen and passed to the container through the PORT environment variable for
|
532
550
|
# the container to listen on.
|
@@ -534,9 +552,8 @@ module Google
|
|
534
552
|
# @return [Array<Google::Apis::RunV1::ContainerPort>]
|
535
553
|
attr_accessor :ports
|
536
554
|
|
537
|
-
#
|
538
|
-
#
|
539
|
-
# traffic.
|
555
|
+
# Probe describes a health check to be performed against a container to
|
556
|
+
# determine whether it is alive or ready to receive traffic.
|
540
557
|
# Corresponds to the JSON property `readinessProbe`
|
541
558
|
# @return [Google::Apis::RunV1::Probe]
|
542
559
|
attr_accessor :readiness_probe
|
@@ -546,7 +563,7 @@ module Google
|
|
546
563
|
# @return [Google::Apis::RunV1::ResourceRequirements]
|
547
564
|
attr_accessor :resources
|
548
565
|
|
549
|
-
# Not supported by Cloud Run SecurityContext holds security configuration that
|
566
|
+
# Not supported by Cloud Run. SecurityContext holds security configuration that
|
550
567
|
# will be applied to a container. Some fields are present in both
|
551
568
|
# SecurityContext and PodSecurityContext. When both are set, the values in
|
552
569
|
# SecurityContext take precedence.
|
@@ -554,15 +571,14 @@ module Google
|
|
554
571
|
# @return [Google::Apis::RunV1::SecurityContext]
|
555
572
|
attr_accessor :security_context
|
556
573
|
|
557
|
-
#
|
558
|
-
#
|
559
|
-
# traffic.
|
574
|
+
# Probe describes a health check to be performed against a container to
|
575
|
+
# determine whether it is alive or ready to receive traffic.
|
560
576
|
# Corresponds to the JSON property `startupProbe`
|
561
577
|
# @return [Google::Apis::RunV1::Probe]
|
562
578
|
attr_accessor :startup_probe
|
563
579
|
|
564
|
-
#
|
565
|
-
#
|
580
|
+
# Path at which the file to which the container's termination message will be
|
581
|
+
# written is mounted into the container's filesystem. Message written is
|
566
582
|
# intended to be brief final status, such as an assertion failure message. Will
|
567
583
|
# be truncated by the node if greater than 4096 bytes. The total message length
|
568
584
|
# across all containers will be limited to 12kb. Defaults to /dev/termination-
|
@@ -571,25 +587,24 @@ module Google
|
|
571
587
|
# @return [String]
|
572
588
|
attr_accessor :termination_message_path
|
573
589
|
|
574
|
-
#
|
575
|
-
#
|
576
|
-
#
|
577
|
-
#
|
590
|
+
# Indicate how the termination message should be populated. File will use the
|
591
|
+
# contents of terminationMessagePath to populate the container status message on
|
592
|
+
# both success and failure. FallbackToLogsOnError will use the last chunk of
|
593
|
+
# container log output if the termination message file is empty and the
|
578
594
|
# container exited with an error. The log output is limited to 2048 bytes or 80
|
579
595
|
# lines, whichever is smaller. Defaults to File. Cannot be updated.
|
580
596
|
# Corresponds to the JSON property `terminationMessagePolicy`
|
581
597
|
# @return [String]
|
582
598
|
attr_accessor :termination_message_policy
|
583
599
|
|
584
|
-
#
|
600
|
+
# Volume to mount into the container's filesystem. Only supports
|
585
601
|
# SecretVolumeSources. Pod volumes to mount into the container's filesystem.
|
586
602
|
# Corresponds to the JSON property `volumeMounts`
|
587
603
|
# @return [Array<Google::Apis::RunV1::VolumeMount>]
|
588
604
|
attr_accessor :volume_mounts
|
589
605
|
|
590
|
-
#
|
591
|
-
#
|
592
|
-
# image.
|
606
|
+
# Container's working directory. If not specified, the container runtime's
|
607
|
+
# default will be used, which might be configured in the container image.
|
593
608
|
# Corresponds to the JSON property `workingDir`
|
594
609
|
# @return [String]
|
595
610
|
attr_accessor :working_dir
|
@@ -624,19 +639,19 @@ module Google
|
|
624
639
|
class ContainerPort
|
625
640
|
include Google::Apis::Core::Hashable
|
626
641
|
|
627
|
-
#
|
628
|
-
#
|
642
|
+
# Port number the container listens on. This must be a valid port number, 0 < x <
|
643
|
+
# 65536.
|
629
644
|
# Corresponds to the JSON property `containerPort`
|
630
645
|
# @return [Fixnum]
|
631
646
|
attr_accessor :container_port
|
632
647
|
|
633
|
-
#
|
634
|
-
#
|
648
|
+
# If specified, used to specify which protocol to use. Allowed values are "http1"
|
649
|
+
# and "h2c".
|
635
650
|
# Corresponds to the JSON property `name`
|
636
651
|
# @return [String]
|
637
652
|
attr_accessor :name
|
638
653
|
|
639
|
-
#
|
654
|
+
# Protocol for port. Must be "TCP". Defaults to "TCP".
|
640
655
|
# Corresponds to the JSON property `protocol`
|
641
656
|
# @return [String]
|
642
657
|
attr_accessor :protocol
|
@@ -764,8 +779,7 @@ module Google
|
|
764
779
|
# @return [Array<Google::Apis::RunV1::ResourceRecord>]
|
765
780
|
attr_accessor :resource_records
|
766
781
|
|
767
|
-
# Optional.
|
768
|
-
# Holds the URL that will serve the traffic of the DomainMapping.
|
782
|
+
# Optional. Not supported by Cloud Run.
|
769
783
|
# Corresponds to the JSON property `url`
|
770
784
|
# @return [String]
|
771
785
|
attr_accessor :url
|
@@ -784,25 +798,25 @@ module Google
|
|
784
798
|
end
|
785
799
|
end
|
786
800
|
|
787
|
-
# Not supported by Cloud Run EnvFromSource represents the source of a set of
|
801
|
+
# Not supported by Cloud Run. EnvFromSource represents the source of a set of
|
788
802
|
# ConfigMaps
|
789
803
|
class EnvFromSource
|
790
804
|
include Google::Apis::Core::Hashable
|
791
805
|
|
792
|
-
# Not supported by Cloud Run ConfigMapEnvSource selects a ConfigMap to populate
|
806
|
+
# Not supported by Cloud Run. ConfigMapEnvSource selects a ConfigMap to populate
|
793
807
|
# the environment variables with. The contents of the target ConfigMap's Data
|
794
808
|
# field will represent the key-value pairs as environment variables.
|
795
809
|
# Corresponds to the JSON property `configMapRef`
|
796
810
|
# @return [Google::Apis::RunV1::ConfigMapEnvSource]
|
797
811
|
attr_accessor :config_map_ref
|
798
812
|
|
799
|
-
#
|
800
|
-
#
|
813
|
+
# An optional identifier to prepend to each key in the ConfigMap. Must be a
|
814
|
+
# C_IDENTIFIER.
|
801
815
|
# Corresponds to the JSON property `prefix`
|
802
816
|
# @return [String]
|
803
817
|
attr_accessor :prefix
|
804
818
|
|
805
|
-
# Not supported by Cloud Run SecretEnvSource selects a Secret to populate the
|
819
|
+
# Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the
|
806
820
|
# environment variables with. The contents of the target Secret's Data field
|
807
821
|
# will represent the key-value pairs as environment variables.
|
808
822
|
# Corresponds to the JSON property `secretRef`
|
@@ -825,16 +839,16 @@ module Google
|
|
825
839
|
class EnvVar
|
826
840
|
include Google::Apis::Core::Hashable
|
827
841
|
|
828
|
-
# Name of the environment variable. Must be a C_IDENTIFIER.
|
842
|
+
# Required. Name of the environment variable. Must be a C_IDENTIFIER.
|
829
843
|
# Corresponds to the JSON property `name`
|
830
844
|
# @return [String]
|
831
845
|
attr_accessor :name
|
832
846
|
|
833
|
-
#
|
834
|
-
#
|
835
|
-
#
|
836
|
-
#
|
837
|
-
#
|
847
|
+
# Variable references $(VAR_NAME) are expanded using the previous defined
|
848
|
+
# environment variables in the container and any route environment variables. If
|
849
|
+
# a variable cannot be resolved, the reference in the input string will be
|
850
|
+
# unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(
|
851
|
+
# VAR_NAME). Escaped references will never be expanded, regardless of whether
|
838
852
|
# the variable exists or not. Defaults to "".
|
839
853
|
# Corresponds to the JSON property `value`
|
840
854
|
# @return [String]
|
@@ -861,7 +875,7 @@ module Google
|
|
861
875
|
class EnvVarSource
|
862
876
|
include Google::Apis::Core::Hashable
|
863
877
|
|
864
|
-
# Not supported by Cloud Run Selects a key from a ConfigMap.
|
878
|
+
# Not supported by Cloud Run. Selects a key from a ConfigMap.
|
865
879
|
# Corresponds to the JSON property `configMapKeyRef`
|
866
880
|
# @return [Google::Apis::RunV1::ConfigMapKeySelector]
|
867
881
|
attr_accessor :config_map_key_ref
|
@@ -882,16 +896,16 @@ module Google
|
|
882
896
|
end
|
883
897
|
end
|
884
898
|
|
885
|
-
# Not supported by Cloud Run ExecAction describes a "run in container" action.
|
899
|
+
# Not supported by Cloud Run. ExecAction describes a "run in container" action.
|
886
900
|
class ExecAction
|
887
901
|
include Google::Apis::Core::Hashable
|
888
902
|
|
889
|
-
#
|
890
|
-
#
|
891
|
-
#
|
892
|
-
#
|
893
|
-
#
|
894
|
-
#
|
903
|
+
# Command is the command line to execute inside the container, the working
|
904
|
+
# directory for the command is root ('/') in the container's filesystem. The
|
905
|
+
# command is simply exec'd, it is not run inside a shell, so traditional shell
|
906
|
+
# instructions ('|', etc) won't work. To use a shell, you need to explicitly
|
907
|
+
# call out to that shell. Exit status of 0 is treated as live/healthy and non-
|
908
|
+
# zero is unhealthy.
|
895
909
|
# Corresponds to the JSON property `command`
|
896
910
|
# @return [Array<String>]
|
897
911
|
attr_accessor :command
|
@@ -906,8 +920,8 @@ module Google
|
|
906
920
|
end
|
907
921
|
end
|
908
922
|
|
909
|
-
# Execution represents the configuration of a single execution.
|
910
|
-
# immutable resource that references a container image which is run to
|
923
|
+
# Execution represents the configuration of a single execution. An execution is
|
924
|
+
# an immutable resource that references a container image which is run to
|
911
925
|
# completion.
|
912
926
|
class Execution
|
913
927
|
include Google::Apis::Core::Hashable
|
@@ -915,7 +929,7 @@ module Google
|
|
915
929
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
916
930
|
# object. Servers should convert recognized schemas to the latest internal value,
|
917
931
|
# and may reject unrecognized values. More info: https://git.k8s.io/community/
|
918
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
932
|
+
# contributors/devel/sig-architecture/api-conventions.md#resources
|
919
933
|
# Corresponds to the JSON property `apiVersion`
|
920
934
|
# @return [String]
|
921
935
|
attr_accessor :api_version
|
@@ -923,8 +937,7 @@ module Google
|
|
923
937
|
# Optional. Kind is a string value representing the REST resource this object
|
924
938
|
# represents. Servers may infer this from the endpoint the client submits
|
925
939
|
# 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
|
940
|
+
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
928
941
|
# Corresponds to the JSON property `kind`
|
929
942
|
# @return [String]
|
930
943
|
attr_accessor :kind
|
@@ -940,7 +953,7 @@ module Google
|
|
940
953
|
# @return [Google::Apis::RunV1::ExecutionSpec]
|
941
954
|
attr_accessor :spec
|
942
955
|
|
943
|
-
# ExecutionStatus represents the current state of
|
956
|
+
# ExecutionStatus represents the current state of an Execution.
|
944
957
|
# Corresponds to the JSON property `status`
|
945
958
|
# @return [Google::Apis::RunV1::ExecutionStatus]
|
946
959
|
attr_accessor :status
|
@@ -999,16 +1012,15 @@ module Google
|
|
999
1012
|
# run at given time. Must be <= task_count. When the job is run, if this field
|
1000
1013
|
# is 0 or unset, the maximum possible value will be used for that execution. The
|
1001
1014
|
# 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
|
-
#
|
1015
|
+
# when there are fewer tasks waiting to be completed, i.e. when the work left to
|
1016
|
+
# do is less than max parallelism.
|
1004
1017
|
# Corresponds to the JSON property `parallelism`
|
1005
1018
|
# @return [Fixnum]
|
1006
1019
|
attr_accessor :parallelism
|
1007
1020
|
|
1008
1021
|
# Optional. Specifies the desired number of tasks the execution should run.
|
1009
1022
|
# 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
|
1023
|
+
# task signals the success of the execution.
|
1012
1024
|
# Corresponds to the JSON property `taskCount`
|
1013
1025
|
# @return [Fixnum]
|
1014
1026
|
attr_accessor :task_count
|
@@ -1031,16 +1043,16 @@ module Google
|
|
1031
1043
|
end
|
1032
1044
|
end
|
1033
1045
|
|
1034
|
-
# ExecutionStatus represents the current state of
|
1046
|
+
# ExecutionStatus represents the current state of an Execution.
|
1035
1047
|
class ExecutionStatus
|
1036
1048
|
include Google::Apis::Core::Hashable
|
1037
1049
|
|
1038
|
-
# Optional. The number of tasks which reached phase Cancelled.
|
1050
|
+
# Optional. The number of tasks which reached phase Cancelled.
|
1039
1051
|
# Corresponds to the JSON property `cancelledCount`
|
1040
1052
|
# @return [Fixnum]
|
1041
1053
|
attr_accessor :cancelled_count
|
1042
1054
|
|
1043
|
-
# Optional. Represents time
|
1055
|
+
# Optional. Represents the time that the execution was completed. It is not
|
1044
1056
|
# guaranteed to be set in happens-before order across separate operations. It is
|
1045
1057
|
# represented in RFC3339 form and is in UTC. +optional
|
1046
1058
|
# Corresponds to the JSON property `completionTime`
|
@@ -1048,13 +1060,11 @@ module Google
|
|
1048
1060
|
attr_accessor :completion_time
|
1049
1061
|
|
1050
1062
|
# Optional. The latest available observations of an execution's current state.
|
1051
|
-
# More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-
|
1052
|
-
# to-completion/ +optional
|
1053
1063
|
# Corresponds to the JSON property `conditions`
|
1054
1064
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
1055
1065
|
attr_accessor :conditions
|
1056
1066
|
|
1057
|
-
# Optional. The number of tasks which reached phase Failed.
|
1067
|
+
# Optional. The number of tasks which reached phase Failed.
|
1058
1068
|
# Corresponds to the JSON property `failedCount`
|
1059
1069
|
# @return [Fixnum]
|
1060
1070
|
attr_accessor :failed_count
|
@@ -1070,24 +1080,24 @@ module Google
|
|
1070
1080
|
# @return [Fixnum]
|
1071
1081
|
attr_accessor :observed_generation
|
1072
1082
|
|
1073
|
-
# Optional. The number of tasks which have retried at least once.
|
1083
|
+
# Optional. The number of tasks which have retried at least once.
|
1074
1084
|
# Corresponds to the JSON property `retriedCount`
|
1075
1085
|
# @return [Fixnum]
|
1076
1086
|
attr_accessor :retried_count
|
1077
1087
|
|
1078
|
-
# Optional. The number of actively running tasks.
|
1088
|
+
# Optional. The number of actively running tasks.
|
1079
1089
|
# Corresponds to the JSON property `runningCount`
|
1080
1090
|
# @return [Fixnum]
|
1081
1091
|
attr_accessor :running_count
|
1082
1092
|
|
1083
|
-
# Optional. Represents time
|
1093
|
+
# Optional. Represents the time that the execution started to run. It is not
|
1084
1094
|
# guaranteed to be set in happens-before order across separate operations. It is
|
1085
|
-
# represented in RFC3339 form and is in UTC.
|
1095
|
+
# represented in RFC3339 form and is in UTC.
|
1086
1096
|
# Corresponds to the JSON property `startTime`
|
1087
1097
|
# @return [String]
|
1088
1098
|
attr_accessor :start_time
|
1089
1099
|
|
1090
|
-
# Optional. The number of tasks which reached phase Succeeded.
|
1100
|
+
# Optional. The number of tasks which reached phase Succeeded.
|
1091
1101
|
# Corresponds to the JSON property `succeededCount`
|
1092
1102
|
# @return [Fixnum]
|
1093
1103
|
attr_accessor :succeeded_count
|
@@ -1193,8 +1203,7 @@ module Google
|
|
1193
1203
|
end
|
1194
1204
|
end
|
1195
1205
|
|
1196
|
-
#
|
1197
|
-
# port.
|
1206
|
+
# GRPCAction describes an action involving a GRPC port.
|
1198
1207
|
class GrpcAction
|
1199
1208
|
include Google::Apis::Core::Hashable
|
1200
1209
|
|
@@ -1221,7 +1230,12 @@ module Google
|
|
1221
1230
|
end
|
1222
1231
|
end
|
1223
1232
|
|
1224
|
-
#
|
1233
|
+
# Conditions show the status of reconciliation progress on a given resource.
|
1234
|
+
# Most resource use a top-level condition type "Ready" or "Completed" to show
|
1235
|
+
# overall status with other conditions to checkpoint each stage of
|
1236
|
+
# reconciliation. Note that if metadata.Generation does not equal status.
|
1237
|
+
# ObservedGeneration, the conditions shown may not be relevant for the current
|
1238
|
+
# spec.
|
1225
1239
|
class GoogleCloudRunV1Condition
|
1226
1240
|
include Google::Apis::Core::Hashable
|
1227
1241
|
|
@@ -1235,13 +1249,16 @@ module Google
|
|
1235
1249
|
# @return [String]
|
1236
1250
|
attr_accessor :message
|
1237
1251
|
|
1238
|
-
# Optional. One-word CamelCase reason for the condition's last transition.
|
1252
|
+
# Optional. One-word CamelCase reason for the condition's last transition. These
|
1253
|
+
# are intended to be stable, unique values which the client may use to trigger
|
1254
|
+
# error handling logic, whereas messages which may be changed later by the
|
1255
|
+
# server.
|
1239
1256
|
# Corresponds to the JSON property `reason`
|
1240
1257
|
# @return [String]
|
1241
1258
|
attr_accessor :reason
|
1242
1259
|
|
1243
|
-
# Optional. How to interpret
|
1244
|
-
# Info
|
1260
|
+
# Optional. How to interpret this condition. One of Error, Warning, or Info.
|
1261
|
+
# Conditions of severity Info do not contribute to resource readiness.
|
1245
1262
|
# Corresponds to the JSON property `severity`
|
1246
1263
|
# @return [String]
|
1247
1264
|
attr_accessor :severity
|
@@ -1253,8 +1270,8 @@ module Google
|
|
1253
1270
|
|
1254
1271
|
# type is used to communicate the status of the reconciliation process. See also:
|
1255
1272
|
# 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.
|
1273
|
+
# conditions-and-reporting Types common to all resources include: * "Ready" or "
|
1274
|
+
# Completed": True when the Resource is ready.
|
1258
1275
|
# Corresponds to the JSON property `type`
|
1259
1276
|
# @return [String]
|
1260
1277
|
attr_accessor :type
|
@@ -1313,28 +1330,26 @@ module Google
|
|
1313
1330
|
end
|
1314
1331
|
end
|
1315
1332
|
|
1316
|
-
#
|
1317
|
-
# requests.
|
1333
|
+
# HTTPGetAction describes an action based on HTTP Get requests.
|
1318
1334
|
class HttpGetAction
|
1319
1335
|
include Google::Apis::Core::Hashable
|
1320
1336
|
|
1321
|
-
#
|
1322
|
-
# to set "Host" in httpHeaders instead.
|
1337
|
+
# Not supported by Cloud Run.
|
1323
1338
|
# Corresponds to the JSON property `host`
|
1324
1339
|
# @return [String]
|
1325
1340
|
attr_accessor :host
|
1326
1341
|
|
1327
|
-
#
|
1342
|
+
# Custom headers to set in the request. HTTP allows repeated headers.
|
1328
1343
|
# Corresponds to the JSON property `httpHeaders`
|
1329
1344
|
# @return [Array<Google::Apis::RunV1::HttpHeader>]
|
1330
1345
|
attr_accessor :http_headers
|
1331
1346
|
|
1332
|
-
#
|
1347
|
+
# Path to access on the HTTP server.
|
1333
1348
|
# Corresponds to the JSON property `path`
|
1334
1349
|
# @return [String]
|
1335
1350
|
attr_accessor :path
|
1336
1351
|
|
1337
|
-
#
|
1352
|
+
# Not supported by Cloud Run.
|
1338
1353
|
# Corresponds to the JSON property `scheme`
|
1339
1354
|
# @return [String]
|
1340
1355
|
attr_accessor :scheme
|
@@ -1352,8 +1367,7 @@ module Google
|
|
1352
1367
|
end
|
1353
1368
|
end
|
1354
1369
|
|
1355
|
-
#
|
1356
|
-
# HTTP probes
|
1370
|
+
# HTTPHeader describes a custom header to be used in HTTP probes
|
1357
1371
|
class HttpHeader
|
1358
1372
|
include Google::Apis::Core::Hashable
|
1359
1373
|
|
@@ -1378,15 +1392,15 @@ module Google
|
|
1378
1392
|
end
|
1379
1393
|
end
|
1380
1394
|
|
1381
|
-
# Job represents the configuration of a single job
|
1382
|
-
#
|
1395
|
+
# Job represents the configuration of a single job, which references a container
|
1396
|
+
# image which is run to completion.
|
1383
1397
|
class Job
|
1384
1398
|
include Google::Apis::Core::Hashable
|
1385
1399
|
|
1386
1400
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
1387
1401
|
# object. Servers should convert recognized schemas to the latest internal value,
|
1388
1402
|
# and may reject unrecognized values. More info: https://git.k8s.io/community/
|
1389
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
1403
|
+
# contributors/devel/sig-architecture/api-conventions.md#resources
|
1390
1404
|
# Corresponds to the JSON property `apiVersion`
|
1391
1405
|
# @return [String]
|
1392
1406
|
attr_accessor :api_version
|
@@ -1394,8 +1408,7 @@ module Google
|
|
1394
1408
|
# Optional. Kind is a string value representing the REST resource this object
|
1395
1409
|
# represents. Servers may infer this from the endpoint the client submits
|
1396
1410
|
# 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
|
1411
|
+
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
1399
1412
|
# Corresponds to the JSON property `kind`
|
1400
1413
|
# @return [String]
|
1401
1414
|
attr_accessor :kind
|
@@ -1456,7 +1469,7 @@ module Google
|
|
1456
1469
|
include Google::Apis::Core::Hashable
|
1457
1470
|
|
1458
1471
|
# The latest available observations of a job's current state. More info: https://
|
1459
|
-
# kubernetes.io/docs/concepts/workloads/controllers/
|
1472
|
+
# kubernetes.io/docs/concepts/workloads/controllers/job/
|
1460
1473
|
# Corresponds to the JSON property `conditions`
|
1461
1474
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
1462
1475
|
attr_accessor :conditions
|
@@ -1576,9 +1589,8 @@ module Google
|
|
1576
1589
|
# @return [String]
|
1577
1590
|
attr_accessor :kind
|
1578
1591
|
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
# ListMeta`.
|
1592
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1593
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1582
1594
|
# Corresponds to the JSON property `metadata`
|
1583
1595
|
# @return [Google::Apis::RunV1::ListMeta]
|
1584
1596
|
attr_accessor :metadata
|
@@ -1621,9 +1633,8 @@ module Google
|
|
1621
1633
|
# @return [String]
|
1622
1634
|
attr_accessor :kind
|
1623
1635
|
|
1624
|
-
#
|
1625
|
-
#
|
1626
|
-
# ListMeta`.
|
1636
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1637
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1627
1638
|
# Corresponds to the JSON property `metadata`
|
1628
1639
|
# @return [Google::Apis::RunV1::ListMeta]
|
1629
1640
|
attr_accessor :metadata
|
@@ -1666,9 +1677,8 @@ module Google
|
|
1666
1677
|
# @return [String]
|
1667
1678
|
attr_accessor :kind
|
1668
1679
|
|
1669
|
-
#
|
1670
|
-
#
|
1671
|
-
# ListMeta`.
|
1680
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1681
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1672
1682
|
# Corresponds to the JSON property `metadata`
|
1673
1683
|
# @return [Google::Apis::RunV1::ListMeta]
|
1674
1684
|
attr_accessor :metadata
|
@@ -1711,9 +1721,8 @@ module Google
|
|
1711
1721
|
# @return [String]
|
1712
1722
|
attr_accessor :kind
|
1713
1723
|
|
1714
|
-
#
|
1715
|
-
#
|
1716
|
-
# ListMeta`.
|
1724
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1725
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1717
1726
|
# Corresponds to the JSON property `metadata`
|
1718
1727
|
# @return [Google::Apis::RunV1::ListMeta]
|
1719
1728
|
attr_accessor :metadata
|
@@ -1762,35 +1771,28 @@ module Google
|
|
1762
1771
|
end
|
1763
1772
|
end
|
1764
1773
|
|
1765
|
-
#
|
1766
|
-
#
|
1767
|
-
# ListMeta`.
|
1774
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1775
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1768
1776
|
class ListMeta
|
1769
1777
|
include Google::Apis::Core::Hashable
|
1770
1778
|
|
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.
|
1779
|
+
# Continuation token is a value emitted when the count of items is larger than
|
1780
|
+
# the user/system limit. To retrieve the next page of items, pass the value of `
|
1781
|
+
# continue` as the next request's `page_token`.
|
1778
1782
|
# Corresponds to the JSON property `continue`
|
1779
1783
|
# @return [String]
|
1780
1784
|
attr_accessor :continue
|
1781
1785
|
|
1782
|
-
#
|
1783
|
-
# be used by clients to determine when objects have changed.
|
1784
|
-
#
|
1785
|
-
#
|
1786
|
-
#
|
1787
|
-
# optional
|
1786
|
+
# Opaque string that identifies the server's internal version of this object. It
|
1787
|
+
# can be used by clients to determine when objects have changed. If the message
|
1788
|
+
# is passed back to the server, it must be left unmodified. https://git.k8s.io/
|
1789
|
+
# community/contributors/devel/api-conventions.md#concurrency-control-and-
|
1790
|
+
# consistency
|
1788
1791
|
# Corresponds to the JSON property `resourceVersion`
|
1789
1792
|
# @return [String]
|
1790
1793
|
attr_accessor :resource_version
|
1791
1794
|
|
1792
|
-
#
|
1793
|
-
# +optional
|
1795
|
+
# URL representing this object.
|
1794
1796
|
# Corresponds to the JSON property `selfLink`
|
1795
1797
|
# @return [String]
|
1796
1798
|
attr_accessor :self_link
|
@@ -1826,9 +1828,8 @@ module Google
|
|
1826
1828
|
# @return [String]
|
1827
1829
|
attr_accessor :kind
|
1828
1830
|
|
1829
|
-
#
|
1830
|
-
#
|
1831
|
-
# ListMeta`.
|
1831
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1832
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1832
1833
|
# Corresponds to the JSON property `metadata`
|
1833
1834
|
# @return [Google::Apis::RunV1::ListMeta]
|
1834
1835
|
attr_accessor :metadata
|
@@ -1871,9 +1872,8 @@ module Google
|
|
1871
1872
|
# @return [String]
|
1872
1873
|
attr_accessor :kind
|
1873
1874
|
|
1874
|
-
#
|
1875
|
-
#
|
1876
|
-
# ListMeta`.
|
1875
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1876
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1877
1877
|
# Corresponds to the JSON property `metadata`
|
1878
1878
|
# @return [Google::Apis::RunV1::ListMeta]
|
1879
1879
|
attr_accessor :metadata
|
@@ -1901,7 +1901,7 @@ module Google
|
|
1901
1901
|
class ListServicesResponse
|
1902
1902
|
include Google::Apis::Core::Hashable
|
1903
1903
|
|
1904
|
-
# The API version for this call
|
1904
|
+
# The API version for this call; returns "serving.knative.dev/v1".
|
1905
1905
|
# Corresponds to the JSON property `apiVersion`
|
1906
1906
|
# @return [String]
|
1907
1907
|
attr_accessor :api_version
|
@@ -1911,19 +1911,19 @@ module Google
|
|
1911
1911
|
# @return [Array<Google::Apis::RunV1::Service>]
|
1912
1912
|
attr_accessor :items
|
1913
1913
|
|
1914
|
-
# The kind of this resource
|
1914
|
+
# The kind of this resource; returns "ServiceList".
|
1915
1915
|
# Corresponds to the JSON property `kind`
|
1916
1916
|
# @return [String]
|
1917
1917
|
attr_accessor :kind
|
1918
1918
|
|
1919
|
-
#
|
1920
|
-
#
|
1921
|
-
# ListMeta`.
|
1919
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1920
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1922
1921
|
# Corresponds to the JSON property `metadata`
|
1923
1922
|
# @return [Google::Apis::RunV1::ListMeta]
|
1924
1923
|
attr_accessor :metadata
|
1925
1924
|
|
1926
|
-
#
|
1925
|
+
# For calls against the global endpoint, returns the list of Cloud locations
|
1926
|
+
# that could not be reached. For regional calls, this field is not used.
|
1927
1927
|
# Corresponds to the JSON property `unreachable`
|
1928
1928
|
# @return [Array<String>]
|
1929
1929
|
attr_accessor :unreachable
|
@@ -1961,9 +1961,8 @@ module Google
|
|
1961
1961
|
# @return [String]
|
1962
1962
|
attr_accessor :kind
|
1963
1963
|
|
1964
|
-
#
|
1965
|
-
#
|
1966
|
-
# ListMeta`.
|
1964
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
1965
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
1967
1966
|
# Corresponds to the JSON property `metadata`
|
1968
1967
|
# @return [Google::Apis::RunV1::ListMeta]
|
1969
1968
|
attr_accessor :metadata
|
@@ -1987,13 +1986,13 @@ module Google
|
|
1987
1986
|
end
|
1988
1987
|
end
|
1989
1988
|
|
1990
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
1991
|
-
# let you locate the referenced object inside the same namespace.
|
1989
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
1990
|
+
# to let you locate the referenced object inside the same namespace.
|
1992
1991
|
class LocalObjectReference
|
1993
1992
|
include Google::Apis::Core::Hashable
|
1994
1993
|
|
1995
|
-
#
|
1996
|
-
#
|
1994
|
+
# Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/
|
1995
|
+
# working-with-objects/names/#names
|
1997
1996
|
# Corresponds to the JSON property `name`
|
1998
1997
|
# @return [String]
|
1999
1998
|
attr_accessor :name
|
@@ -2060,149 +2059,119 @@ module Google
|
|
2060
2059
|
class ObjectMeta
|
2061
2060
|
include Google::Apis::Core::Hashable
|
2062
2061
|
|
2063
|
-
#
|
2064
|
-
#
|
2065
|
-
#
|
2066
|
-
#
|
2062
|
+
# Unstructured key value map stored with a resource that may be set by external
|
2063
|
+
# tools to store and retrieve arbitrary metadata. They are not queryable and
|
2064
|
+
# should be preserved when modifying objects. In Cloud Run, annotations with '
|
2065
|
+
# run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the
|
2066
|
+
# accepted annotations will be different depending on the resource type. * `
|
2067
|
+
# autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/
|
2068
|
+
# minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`:
|
2069
|
+
# Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job,
|
2070
|
+
# Execution. * `run.googleapis.com/client-name`: All resources. * `run.
|
2071
|
+
# googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/
|
2072
|
+
# cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. *
|
2073
|
+
# `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-
|
2074
|
+
# key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision,
|
2075
|
+
# Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. *
|
2076
|
+
# `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`:
|
2077
|
+
# Service. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `
|
2078
|
+
# run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.
|
2079
|
+
# googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-
|
2080
|
+
# session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `
|
2081
|
+
# run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-
|
2082
|
+
# access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-
|
2083
|
+
# egress`: Revision, Execution. Execution. More info: https://kubernetes.io/docs/
|
2084
|
+
# user-guide/annotations
|
2067
2085
|
# Corresponds to the JSON property `annotations`
|
2068
2086
|
# @return [Hash<String,String>]
|
2069
2087
|
attr_accessor :annotations
|
2070
2088
|
|
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.
|
2089
|
+
# Not supported by Cloud Run
|
2075
2090
|
# Corresponds to the JSON property `clusterName`
|
2076
2091
|
# @return [String]
|
2077
2092
|
attr_accessor :cluster_name
|
2078
2093
|
|
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
|
2094
|
+
# UTC timestamp representing the server time when this object was created. More
|
2095
|
+
# info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
2096
|
+
# metadata
|
2085
2097
|
# Corresponds to the JSON property `creationTimestamp`
|
2086
2098
|
# @return [String]
|
2087
2099
|
attr_accessor :creation_timestamp
|
2088
2100
|
|
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.
|
2101
|
+
# Not supported by Cloud Run
|
2092
2102
|
# Corresponds to the JSON property `deletionGracePeriodSeconds`
|
2093
2103
|
# @return [Fixnum]
|
2094
2104
|
attr_accessor :deletion_grace_period_seconds
|
2095
2105
|
|
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
|
2106
|
+
# The read-only soft deletion timestamp for this resource. In Cloud Run, users
|
2107
|
+
# are not able to set this field. Instead, they must call the corresponding
|
2108
|
+
# Delete API.
|
2115
2109
|
# Corresponds to the JSON property `deletionTimestamp`
|
2116
2110
|
# @return [String]
|
2117
2111
|
attr_accessor :deletion_timestamp
|
2118
2112
|
|
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
|
2113
|
+
# Not supported by Cloud Run
|
2124
2114
|
# Corresponds to the JSON property `finalizers`
|
2125
2115
|
# @return [Array<String>]
|
2126
2116
|
attr_accessor :finalizers
|
2127
2117
|
|
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;
|
2118
|
+
# Not supported by Cloud Run
|
2141
2119
|
# Corresponds to the JSON property `generateName`
|
2142
2120
|
# @return [String]
|
2143
2121
|
attr_accessor :generate_name
|
2144
2122
|
|
2145
|
-
#
|
2146
|
-
# state.
|
2123
|
+
# A system-provided sequence number representing a specific generation of the
|
2124
|
+
# desired state.
|
2147
2125
|
# Corresponds to the JSON property `generation`
|
2148
2126
|
# @return [Fixnum]
|
2149
2127
|
attr_accessor :generation
|
2150
2128
|
|
2151
|
-
#
|
2152
|
-
#
|
2153
|
-
#
|
2154
|
-
# labels
|
2129
|
+
# Map of string keys and values that can be used to organize and categorize (
|
2130
|
+
# scope and select) objects. May match selectors of replication controllers and
|
2131
|
+
# routes. More info: https://kubernetes.io/docs/user-guide/labels
|
2155
2132
|
# Corresponds to the JSON property `labels`
|
2156
2133
|
# @return [Hash<String,String>]
|
2157
2134
|
attr_accessor :labels
|
2158
2135
|
|
2159
|
-
#
|
2160
|
-
#
|
2161
|
-
#
|
2162
|
-
#
|
2163
|
-
#
|
2164
|
-
# optional
|
2136
|
+
# The immutable name of the resource. In Cloud Run, name is required when
|
2137
|
+
# creating top-level resources (Service, Job), and must be unique within a Cloud
|
2138
|
+
# Run project/region. More info: https://kubernetes.io/docs/user-guide/
|
2139
|
+
# identifiers#names If ObjectMeta is part of a CreateServiceRequest, name must
|
2140
|
+
# contain fewer than 50 characters. Otherwise,
|
2165
2141
|
# Corresponds to the JSON property `name`
|
2166
2142
|
# @return [String]
|
2167
2143
|
attr_accessor :name
|
2168
2144
|
|
2169
|
-
#
|
2170
|
-
#
|
2171
|
-
# or project number.
|
2145
|
+
# Defines the space within each name must be unique within a Cloud Run region.
|
2146
|
+
# In Cloud Run, it must be project ID or number.
|
2172
2147
|
# Corresponds to the JSON property `namespace`
|
2173
2148
|
# @return [String]
|
2174
2149
|
attr_accessor :namespace
|
2175
2150
|
|
2176
|
-
#
|
2177
|
-
# ALL objects in the list have been deleted, this object will be garbage
|
2178
|
-
# collected.
|
2151
|
+
# Not supported by Cloud Run
|
2179
2152
|
# Corresponds to the JSON property `ownerReferences`
|
2180
2153
|
# @return [Array<Google::Apis::RunV1::OwnerReference>]
|
2181
2154
|
attr_accessor :owner_references
|
2182
2155
|
|
2183
|
-
# Optional.
|
2184
|
-
# that can be used by clients to determine when objects have
|
2185
|
-
# used for optimistic concurrency, change detection, and the
|
2186
|
-
# a resource or set of resources. Clients must treat these
|
2187
|
-
# passed unmodified back to the server or omit the value to
|
2188
|
-
# detection.
|
2189
|
-
#
|
2190
|
-
#
|
2191
|
-
# devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
2156
|
+
# Optional. Opaque, system-generated value that represents the internal version
|
2157
|
+
# of this object that can be used by clients to determine when objects have
|
2158
|
+
# changed. May be used for optimistic concurrency, change detection, and the
|
2159
|
+
# watch operation on a resource or set of resources. Clients must treat these
|
2160
|
+
# values as opaque and passed unmodified back to the server or omit the value to
|
2161
|
+
# disable conflict-detection. More info: https://git.k8s.io/community/
|
2162
|
+
# contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-
|
2163
|
+
# consistency
|
2192
2164
|
# Corresponds to the JSON property `resourceVersion`
|
2193
2165
|
# @return [String]
|
2194
2166
|
attr_accessor :resource_version
|
2195
2167
|
|
2196
|
-
#
|
2197
|
-
# Read-only. string selfLink = 4;
|
2168
|
+
# URL representing this object.
|
2198
2169
|
# Corresponds to the JSON property `selfLink`
|
2199
2170
|
# @return [String]
|
2200
2171
|
attr_accessor :self_link
|
2201
2172
|
|
2202
|
-
#
|
2203
|
-
#
|
2204
|
-
# not allowed to change on PUT operations. Populated by the system. Read-only.
|
2205
|
-
# More info: https://kubernetes.io/docs/user-guide/identifiers#uids
|
2173
|
+
# Unique, system-generated identifier for this resource. More info: https://
|
2174
|
+
# kubernetes.io/docs/user-guide/identifiers#uids
|
2206
2175
|
# Corresponds to the JSON property `uid`
|
2207
2176
|
# @return [String]
|
2208
2177
|
attr_accessor :uid
|
@@ -2231,47 +2200,38 @@ module Google
|
|
2231
2200
|
end
|
2232
2201
|
end
|
2233
2202
|
|
2234
|
-
#
|
2235
|
-
# object. Currently, an owning object must be in the same namespace, so there is
|
2236
|
-
# no namespace field.
|
2203
|
+
# This is not supported or used by Cloud Run.
|
2237
2204
|
class OwnerReference
|
2238
2205
|
include Google::Apis::Core::Hashable
|
2239
2206
|
|
2240
|
-
#
|
2207
|
+
# This is not supported or used by Cloud Run.
|
2241
2208
|
# Corresponds to the JSON property `apiVersion`
|
2242
2209
|
# @return [String]
|
2243
2210
|
attr_accessor :api_version
|
2244
2211
|
|
2245
|
-
#
|
2246
|
-
# owner cannot be deleted from the key-value store until this reference is
|
2247
|
-
# removed. Defaults to false. To set this field, a user needs "delete"
|
2248
|
-
# permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
|
2249
|
-
# +optional
|
2212
|
+
# This is not supported or used by Cloud Run.
|
2250
2213
|
# Corresponds to the JSON property `blockOwnerDeletion`
|
2251
2214
|
# @return [Boolean]
|
2252
2215
|
attr_accessor :block_owner_deletion
|
2253
2216
|
alias_method :block_owner_deletion?, :block_owner_deletion
|
2254
2217
|
|
2255
|
-
#
|
2218
|
+
# This is not supported or used by Cloud Run.
|
2256
2219
|
# Corresponds to the JSON property `controller`
|
2257
2220
|
# @return [Boolean]
|
2258
2221
|
attr_accessor :controller
|
2259
2222
|
alias_method :controller?, :controller
|
2260
2223
|
|
2261
|
-
#
|
2262
|
-
# devel/sig-architecture/api-conventions.md#types-kinds
|
2224
|
+
# This is not supported or used by Cloud Run.
|
2263
2225
|
# Corresponds to the JSON property `kind`
|
2264
2226
|
# @return [String]
|
2265
2227
|
attr_accessor :kind
|
2266
2228
|
|
2267
|
-
#
|
2268
|
-
# identifiers#names
|
2229
|
+
# This is not supported or used by Cloud Run.
|
2269
2230
|
# Corresponds to the JSON property `name`
|
2270
2231
|
# @return [String]
|
2271
2232
|
attr_accessor :name
|
2272
2233
|
|
2273
|
-
#
|
2274
|
-
# identifiers#uids
|
2234
|
+
# This is not supported or used by Cloud Run.
|
2275
2235
|
# Corresponds to the JSON property `uid`
|
2276
2236
|
# @return [String]
|
2277
2237
|
attr_accessor :uid
|
@@ -2386,37 +2346,34 @@ module Google
|
|
2386
2346
|
end
|
2387
2347
|
end
|
2388
2348
|
|
2389
|
-
#
|
2390
|
-
#
|
2391
|
-
# traffic.
|
2349
|
+
# Probe describes a health check to be performed against a container to
|
2350
|
+
# determine whether it is alive or ready to receive traffic.
|
2392
2351
|
class Probe
|
2393
2352
|
include Google::Apis::Core::Hashable
|
2394
2353
|
|
2395
|
-
# Not supported by Cloud Run ExecAction describes a "run in container" action.
|
2354
|
+
# Not supported by Cloud Run. ExecAction describes a "run in container" action.
|
2396
2355
|
# Corresponds to the JSON property `exec`
|
2397
2356
|
# @return [Google::Apis::RunV1::ExecAction]
|
2398
2357
|
attr_accessor :exec
|
2399
2358
|
|
2400
|
-
#
|
2401
|
-
#
|
2359
|
+
# Minimum consecutive failures for the probe to be considered failed after
|
2360
|
+
# having succeeded. Defaults to 3. Minimum value is 1.
|
2402
2361
|
# Corresponds to the JSON property `failureThreshold`
|
2403
2362
|
# @return [Fixnum]
|
2404
2363
|
attr_accessor :failure_threshold
|
2405
2364
|
|
2406
|
-
#
|
2407
|
-
# port.
|
2365
|
+
# GRPCAction describes an action involving a GRPC port.
|
2408
2366
|
# Corresponds to the JSON property `grpc`
|
2409
2367
|
# @return [Google::Apis::RunV1::GrpcAction]
|
2410
2368
|
attr_accessor :grpc
|
2411
2369
|
|
2412
|
-
#
|
2413
|
-
# requests.
|
2370
|
+
# HTTPGetAction describes an action based on HTTP Get requests.
|
2414
2371
|
# Corresponds to the JSON property `httpGet`
|
2415
2372
|
# @return [Google::Apis::RunV1::HttpGetAction]
|
2416
2373
|
attr_accessor :http_get
|
2417
2374
|
|
2418
|
-
#
|
2419
|
-
#
|
2375
|
+
# Number of seconds after the container has started before the probe is
|
2376
|
+
# initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for
|
2420
2377
|
# liveness probe is 3600. Maximum value for startup probe is 240. More info:
|
2421
2378
|
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
|
2422
2379
|
# probes
|
@@ -2424,29 +2381,28 @@ module Google
|
|
2424
2381
|
# @return [Fixnum]
|
2425
2382
|
attr_accessor :initial_delay_seconds
|
2426
2383
|
|
2427
|
-
#
|
2428
|
-
#
|
2429
|
-
#
|
2384
|
+
# How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
|
2385
|
+
# value is 1. Maximum value for liveness probe is 3600. Maximum value for
|
2386
|
+
# startup probe is 240. Must be greater or equal than timeout_seconds.
|
2430
2387
|
# Corresponds to the JSON property `periodSeconds`
|
2431
2388
|
# @return [Fixnum]
|
2432
2389
|
attr_accessor :period_seconds
|
2433
2390
|
|
2434
|
-
#
|
2435
|
-
#
|
2391
|
+
# Minimum consecutive successes for the probe to be considered successful after
|
2392
|
+
# having failed. Must be 1 if set.
|
2436
2393
|
# Corresponds to the JSON property `successThreshold`
|
2437
2394
|
# @return [Fixnum]
|
2438
2395
|
attr_accessor :success_threshold
|
2439
2396
|
|
2440
|
-
#
|
2441
|
-
# opening a socket
|
2397
|
+
# TCPSocketAction describes an action based on opening a socket
|
2442
2398
|
# Corresponds to the JSON property `tcpSocket`
|
2443
2399
|
# @return [Google::Apis::RunV1::TcpSocketAction]
|
2444
2400
|
attr_accessor :tcp_socket
|
2445
2401
|
|
2446
|
-
#
|
2447
|
-
#
|
2448
|
-
#
|
2449
|
-
#
|
2402
|
+
# Number of seconds after which the probe times out. Defaults to 1 second.
|
2403
|
+
# Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
|
2404
|
+
# More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#
|
2405
|
+
# container-probes
|
2450
2406
|
# Corresponds to the JSON property `timeoutSeconds`
|
2451
2407
|
# @return [Fixnum]
|
2452
2408
|
attr_accessor :timeout_seconds
|
@@ -2506,17 +2462,17 @@ module Google
|
|
2506
2462
|
class ResourceRequirements
|
2507
2463
|
include Google::Apis::Core::Hashable
|
2508
2464
|
|
2509
|
-
#
|
2510
|
-
#
|
2511
|
-
#
|
2465
|
+
# Only memory and CPU are supported. Limits describes the maximum amount of
|
2466
|
+
# compute resources allowed. The values of the map is string form of the '
|
2467
|
+
# quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/
|
2512
2468
|
# staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
2513
2469
|
# Corresponds to the JSON property `limits`
|
2514
2470
|
# @return [Hash<String,String>]
|
2515
2471
|
attr_accessor :limits
|
2516
2472
|
|
2517
|
-
#
|
2518
|
-
#
|
2519
|
-
#
|
2473
|
+
# Only memory and CPU are supported. Requests describes the minimum amount of
|
2474
|
+
# compute resources required. If Requests is omitted for a container, it
|
2475
|
+
# defaults to Limits if that is explicitly specified, otherwise to an
|
2520
2476
|
# implementation-defined value. The values of the map is string form of the '
|
2521
2477
|
# quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/
|
2522
2478
|
# staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
@@ -2537,8 +2493,8 @@ module Google
|
|
2537
2493
|
|
2538
2494
|
# Revision is an immutable snapshot of code and configuration. A revision
|
2539
2495
|
# references a container image. Revisions are created by updates to a
|
2540
|
-
# Configuration. See also: https://github.com/knative/
|
2541
|
-
#
|
2496
|
+
# Configuration. See also: https://github.com/knative/specs/blob/main/specs/
|
2497
|
+
# serving/overview.md#revision
|
2542
2498
|
class Revision
|
2543
2499
|
include Google::Apis::Core::Hashable
|
2544
2500
|
|
@@ -2588,10 +2544,8 @@ module Google
|
|
2588
2544
|
include Google::Apis::Core::Hashable
|
2589
2545
|
|
2590
2546
|
# ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
|
2591
|
-
# requests per container instance of the Revision. Cloud Run
|
2592
|
-
#
|
2593
|
-
# which means concurrency to the application is not limited, and the system
|
2594
|
-
# decides the target concurrency for the autoscaler.
|
2547
|
+
# requests per container instance of the Revision. Cloud Run: supported,
|
2548
|
+
# defaults to 80
|
2595
2549
|
# Corresponds to the JSON property `containerConcurrency`
|
2596
2550
|
# @return [Fixnum]
|
2597
2551
|
attr_accessor :container_concurrency
|
@@ -2600,26 +2554,18 @@ module Google
|
|
2600
2554
|
# this Revision. In the context of a Revision, we disallow a number of fields on
|
2601
2555
|
# this Container, including: name and lifecycle. In Cloud Run, only a single
|
2602
2556
|
# container may be provided. The runtime contract is documented here: https://
|
2603
|
-
# github.com/knative/
|
2557
|
+
# github.com/knative/specs/blob/main/specs/serving/runtime-contract.md
|
2604
2558
|
# Corresponds to the JSON property `containers`
|
2605
2559
|
# @return [Array<Google::Apis::RunV1::Container>]
|
2606
2560
|
attr_accessor :containers
|
2607
2561
|
|
2608
|
-
#
|
2609
|
-
# environment variables, matching the syntax of Docker links. Cloud Run fully
|
2610
|
-
# managed: Not supported. Cloud Run for Anthos: supported, defaults to true.
|
2562
|
+
# Not supported by Cloud Run.
|
2611
2563
|
# Corresponds to the JSON property `enableServiceLinks`
|
2612
2564
|
# @return [Boolean]
|
2613
2565
|
attr_accessor :enable_service_links
|
2614
2566
|
alias_method :enable_service_links?, :enable_service_links
|
2615
2567
|
|
2616
|
-
#
|
2617
|
-
# use for pulling any images in pods that reference this ServiceAccount.
|
2618
|
-
# ImagePullSecrets are distinct from Secrets because Secrets can be mounted in
|
2619
|
-
# the pod, but ImagePullSecrets are only accessed by the kubelet. More info:
|
2620
|
-
# https://kubernetes.io/docs/concepts/containers/images/#specifying-
|
2621
|
-
# imagepullsecrets-on-a-pod Cloud Run fully managed: Not supported. Cloud Run
|
2622
|
-
# for Anthos: supported.
|
2568
|
+
# Not supported by Cloud Run.
|
2623
2569
|
# Corresponds to the JSON property `imagePullSecrets`
|
2624
2570
|
# @return [Array<Google::Apis::RunV1::LocalObjectReference>]
|
2625
2571
|
attr_accessor :image_pull_secrets
|
@@ -2633,10 +2579,8 @@ module Google
|
|
2633
2579
|
attr_accessor :service_account_name
|
2634
2580
|
|
2635
2581
|
# TimeoutSeconds holds the max duration the instance is allowed for responding
|
2636
|
-
# to a request. Cloud Run
|
2637
|
-
#
|
2638
|
-
# to 300 seconds (5 minutes). Maximum allowed value is configurable by the
|
2639
|
-
# cluster operator.
|
2582
|
+
# to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed
|
2583
|
+
# value is 3600 seconds (1 hour).
|
2640
2584
|
# Corresponds to the JSON property `timeoutSeconds`
|
2641
2585
|
# @return [Fixnum]
|
2642
2586
|
attr_accessor :timeout_seconds
|
@@ -2752,8 +2696,8 @@ module Google
|
|
2752
2696
|
# referencing the Configuration responsible for creating them; in these cases
|
2753
2697
|
# the Route is additionally responsible for monitoring the Configuration for "
|
2754
2698
|
# latest ready" revision changes, and smoothly rolling out latest revisions. See
|
2755
|
-
# also: https://github.com/knative/
|
2756
|
-
# Cloud Run currently supports referencing a single Configuration to
|
2699
|
+
# also: https://github.com/knative/specs/blob/main/specs/serving/overview.md#
|
2700
|
+
# route Cloud Run currently supports referencing a single Configuration to
|
2757
2701
|
# automatically deploy the "latest ready" Revision from that Configuration.
|
2758
2702
|
class Route
|
2759
2703
|
include Google::Apis::Core::Hashable
|
@@ -2847,7 +2791,7 @@ module Google
|
|
2847
2791
|
|
2848
2792
|
# Traffic holds the configured traffic distribution. These entries will always
|
2849
2793
|
# contain RevisionName references. When ConfigurationName appears in the spec,
|
2850
|
-
# this will hold the LatestReadyRevisionName that
|
2794
|
+
# this will hold the LatestReadyRevisionName that was last observed.
|
2851
2795
|
# Corresponds to the JSON property `traffic`
|
2852
2796
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
2853
2797
|
attr_accessor :traffic
|
@@ -2886,14 +2830,14 @@ module Google
|
|
2886
2830
|
end
|
2887
2831
|
end
|
2888
2832
|
|
2889
|
-
# Not supported by Cloud Run SecretEnvSource selects a Secret to populate the
|
2833
|
+
# Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the
|
2890
2834
|
# environment variables with. The contents of the target Secret's Data field
|
2891
2835
|
# will represent the key-value pairs as environment variables.
|
2892
2836
|
class SecretEnvSource
|
2893
2837
|
include Google::Apis::Core::Hashable
|
2894
2838
|
|
2895
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
2896
|
-
# let you locate the referenced object inside the same namespace.
|
2839
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
2840
|
+
# to let you locate the referenced object inside the same namespace.
|
2897
2841
|
# Corresponds to the JSON property `localObjectReference`
|
2898
2842
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
2899
2843
|
attr_accessor :local_object_reference
|
@@ -2903,7 +2847,7 @@ module Google
|
|
2903
2847
|
# @return [String]
|
2904
2848
|
attr_accessor :name
|
2905
2849
|
|
2906
|
-
#
|
2850
|
+
# Specify whether the Secret must be defined
|
2907
2851
|
# Corresponds to the JSON property `optional`
|
2908
2852
|
# @return [Boolean]
|
2909
2853
|
attr_accessor :optional
|
@@ -2925,15 +2869,15 @@ module Google
|
|
2925
2869
|
class SecretKeySelector
|
2926
2870
|
include Google::Apis::Core::Hashable
|
2927
2871
|
|
2928
|
-
# A Cloud Secret Manager secret version. Must be 'latest' for the
|
2929
|
-
# or an integer for a specific version. The key of the secret to
|
2930
|
-
# Must be a valid secret key.
|
2872
|
+
# Required. A Cloud Secret Manager secret version. Must be 'latest' for the
|
2873
|
+
# latest version or an integer for a specific version. The key of the secret to
|
2874
|
+
# select from. Must be a valid secret key.
|
2931
2875
|
# Corresponds to the JSON property `key`
|
2932
2876
|
# @return [String]
|
2933
2877
|
attr_accessor :key
|
2934
2878
|
|
2935
|
-
# Not supported by Cloud Run LocalObjectReference contains enough information
|
2936
|
-
# let you locate the referenced object inside the same namespace.
|
2879
|
+
# Not supported by Cloud Run. LocalObjectReference contains enough information
|
2880
|
+
# to let you locate the referenced object inside the same namespace.
|
2937
2881
|
# Corresponds to the JSON property `localObjectReference`
|
2938
2882
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
2939
2883
|
attr_accessor :local_object_reference
|
@@ -2948,7 +2892,7 @@ module Google
|
|
2948
2892
|
# @return [String]
|
2949
2893
|
attr_accessor :name
|
2950
2894
|
|
2951
|
-
#
|
2895
|
+
# Specify whether the Secret or its key must be defined.
|
2952
2896
|
# Corresponds to the JSON property `optional`
|
2953
2897
|
# @return [Boolean]
|
2954
2898
|
attr_accessor :optional
|
@@ -2967,10 +2911,11 @@ module Google
|
|
2967
2911
|
end
|
2968
2912
|
end
|
2969
2913
|
|
2970
|
-
#
|
2971
|
-
#
|
2972
|
-
#
|
2973
|
-
#
|
2914
|
+
# A volume representing a secret stored in Google Secret Manager. The secret's
|
2915
|
+
# value will be presented as the content of a file whose name is defined in the
|
2916
|
+
# item path. If no items are defined, the name of the file is the secret_name.
|
2917
|
+
# The contents of the target Secret's Data field will be presented in a volume
|
2918
|
+
# as files using the keys in the Data field as the file names.
|
2974
2919
|
class SecretVolumeSource
|
2975
2920
|
include Google::Apis::Core::Hashable
|
2976
2921
|
|
@@ -2989,21 +2934,17 @@ module Google
|
|
2989
2934
|
# @return [Fixnum]
|
2990
2935
|
attr_accessor :default_mode
|
2991
2936
|
|
2992
|
-
#
|
2993
|
-
#
|
2994
|
-
#
|
2995
|
-
#
|
2996
|
-
#
|
2997
|
-
#
|
2998
|
-
# is the value. If specified, the listed keys will be projected into the
|
2999
|
-
# specified paths, and unlisted keys will not be present. If a key is specified
|
3000
|
-
# that is not present in the Secret, the volume setup will error unless it is
|
3001
|
-
# marked optional.
|
2937
|
+
# A list of secret versions to mount in the volume. If no items are specified,
|
2938
|
+
# the volume will expose a file with the same name as the secret name. The
|
2939
|
+
# contents of the file will be the data in the latest version of the secret. If
|
2940
|
+
# items are specified, the key will be used as the version to fetch from Cloud
|
2941
|
+
# Secret Manager and the path will be the name of the file exposed in the volume.
|
2942
|
+
# When items are defined, they must specify both a key and a path.
|
3002
2943
|
# Corresponds to the JSON property `items`
|
3003
2944
|
# @return [Array<Google::Apis::RunV1::KeyToPath>]
|
3004
2945
|
attr_accessor :items
|
3005
2946
|
|
3006
|
-
#
|
2947
|
+
# Not supported by Cloud Run.
|
3007
2948
|
# Corresponds to the JSON property `optional`
|
3008
2949
|
# @return [Boolean]
|
3009
2950
|
attr_accessor :optional
|
@@ -3032,15 +2973,15 @@ module Google
|
|
3032
2973
|
end
|
3033
2974
|
end
|
3034
2975
|
|
3035
|
-
# Not supported by Cloud Run SecurityContext holds security configuration that
|
2976
|
+
# Not supported by Cloud Run. SecurityContext holds security configuration that
|
3036
2977
|
# will be applied to a container. Some fields are present in both
|
3037
2978
|
# SecurityContext and PodSecurityContext. When both are set, the values in
|
3038
2979
|
# SecurityContext take precedence.
|
3039
2980
|
class SecurityContext
|
3040
2981
|
include Google::Apis::Core::Hashable
|
3041
2982
|
|
3042
|
-
#
|
3043
|
-
#
|
2983
|
+
# The UID to run the entrypoint of the container process. Defaults to user
|
2984
|
+
# specified in image metadata if unspecified. May also be set in
|
3044
2985
|
# PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the
|
3045
2986
|
# value specified in SecurityContext takes precedence.
|
3046
2987
|
# Corresponds to the JSON property `runAsUser`
|
@@ -3070,12 +3011,12 @@ module Google
|
|
3070
3011
|
class Service
|
3071
3012
|
include Google::Apis::Core::Hashable
|
3072
3013
|
|
3073
|
-
# The API version for this call
|
3014
|
+
# The API version for this call. It must be "serving.knative.dev/v1".
|
3074
3015
|
# Corresponds to the JSON property `apiVersion`
|
3075
3016
|
# @return [String]
|
3076
3017
|
attr_accessor :api_version
|
3077
3018
|
|
3078
|
-
# The kind of resource
|
3019
|
+
# The kind of resource. It must be "Service".
|
3079
3020
|
# Corresponds to the JSON property `kind`
|
3080
3021
|
# @return [String]
|
3081
3022
|
attr_accessor :kind
|
@@ -3123,8 +3064,8 @@ module Google
|
|
3123
3064
|
# @return [Google::Apis::RunV1::RevisionTemplate]
|
3124
3065
|
attr_accessor :template
|
3125
3066
|
|
3126
|
-
#
|
3127
|
-
#
|
3067
|
+
# Specifies how to distribute traffic over a collection of Knative Revisions and
|
3068
|
+
# Configurations to the Service's main URL.
|
3128
3069
|
# Corresponds to the JSON property `traffic`
|
3129
3070
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
3130
3071
|
attr_accessor :traffic
|
@@ -3149,49 +3090,45 @@ module Google
|
|
3149
3090
|
# @return [Google::Apis::RunV1::Addressable]
|
3150
3091
|
attr_accessor :address
|
3151
3092
|
|
3152
|
-
#
|
3153
|
-
#
|
3154
|
-
#
|
3155
|
-
#
|
3156
|
-
#
|
3157
|
-
# Configuration are ready.
|
3093
|
+
# Communicates information about ongoing/complete reconciliation processes that
|
3094
|
+
# bring the `spec` inline with the observed state of the world. Service-specific
|
3095
|
+
# conditions include: * `ConfigurationsReady`: `True` when the underlying
|
3096
|
+
# Configuration is ready. * `RoutesReady`: `True` when the underlying Route is
|
3097
|
+
# ready. * `Ready`: `True` when all underlying resources are ready.
|
3158
3098
|
# Corresponds to the JSON property `conditions`
|
3159
3099
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
3160
3100
|
attr_accessor :conditions
|
3161
3101
|
|
3162
|
-
#
|
3163
|
-
#
|
3164
|
-
# that use LatestReadyRevisionName.
|
3102
|
+
# Name of the last revision that was created from this Service's Configuration.
|
3103
|
+
# It might not be ready yet, for that use LatestReadyRevisionName.
|
3165
3104
|
# Corresponds to the JSON property `latestCreatedRevisionName`
|
3166
3105
|
# @return [String]
|
3167
3106
|
attr_accessor :latest_created_revision_name
|
3168
3107
|
|
3169
|
-
#
|
3170
|
-
#
|
3171
|
-
# condition become "True".
|
3108
|
+
# Name of the latest Revision from this Service's Configuration that has had its
|
3109
|
+
# `Ready` condition become `True`.
|
3172
3110
|
# Corresponds to the JSON property `latestReadyRevisionName`
|
3173
3111
|
# @return [String]
|
3174
3112
|
attr_accessor :latest_ready_revision_name
|
3175
3113
|
|
3176
|
-
#
|
3177
|
-
#
|
3178
|
-
#
|
3179
|
-
# True or False.
|
3114
|
+
# Returns the generation last fully processed by the system. This will only
|
3115
|
+
# match metadata.generation when reconciliation is complete. Clients polling for
|
3116
|
+
# completed reconciliation should poll until observedGeneration = metadata.
|
3117
|
+
# generation and the Ready condition's status is True or False.
|
3180
3118
|
# Corresponds to the JSON property `observedGeneration`
|
3181
3119
|
# @return [Fixnum]
|
3182
3120
|
attr_accessor :observed_generation
|
3183
3121
|
|
3184
|
-
#
|
3185
|
-
#
|
3186
|
-
#
|
3187
|
-
# observed.
|
3122
|
+
# Holds the configured traffic distribution. These entries will always contain
|
3123
|
+
# RevisionName references. When ConfigurationName appears in the spec, this will
|
3124
|
+
# hold the LatestReadyRevisionName that we last observed.
|
3188
3125
|
# Corresponds to the JSON property `traffic`
|
3189
3126
|
# @return [Array<Google::Apis::RunV1::TrafficTarget>]
|
3190
3127
|
attr_accessor :traffic
|
3191
3128
|
|
3192
|
-
#
|
3193
|
-
#
|
3194
|
-
#
|
3129
|
+
# URL that will distribute traffic over the provided traffic targets. It
|
3130
|
+
# generally has the form https://`route-hash`-`project-hash`-`cluster-level-
|
3131
|
+
# suffix`.a.run.app
|
3195
3132
|
# Corresponds to the JSON property `url`
|
3196
3133
|
# @return [String]
|
3197
3134
|
attr_accessor :url
|
@@ -3265,11 +3202,11 @@ module Google
|
|
3265
3202
|
end
|
3266
3203
|
end
|
3267
3204
|
|
3268
|
-
# Status is a return value for calls that don't return other objects
|
3205
|
+
# Status is a return value for calls that don't return other objects.
|
3269
3206
|
class Status
|
3270
3207
|
include Google::Apis::Core::Hashable
|
3271
3208
|
|
3272
|
-
# Suggested HTTP return code for this status, 0 if not set.
|
3209
|
+
# Suggested HTTP return code for this status, 0 if not set.
|
3273
3210
|
# Corresponds to the JSON property `code`
|
3274
3211
|
# @return [Fixnum]
|
3275
3212
|
attr_accessor :code
|
@@ -3283,28 +3220,27 @@ module Google
|
|
3283
3220
|
# @return [Google::Apis::RunV1::StatusDetails]
|
3284
3221
|
attr_accessor :details
|
3285
3222
|
|
3286
|
-
# A human-readable description of the status of this operation.
|
3223
|
+
# A human-readable description of the status of this operation.
|
3287
3224
|
# Corresponds to the JSON property `message`
|
3288
3225
|
# @return [String]
|
3289
3226
|
attr_accessor :message
|
3290
3227
|
|
3291
|
-
#
|
3292
|
-
#
|
3293
|
-
# ListMeta`.
|
3228
|
+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
|
3229
|
+
# Responses will have a ListMeta instead of ObjectMeta.
|
3294
3230
|
# Corresponds to the JSON property `metadata`
|
3295
3231
|
# @return [Google::Apis::RunV1::ListMeta]
|
3296
3232
|
attr_accessor :metadata
|
3297
3233
|
|
3298
3234
|
# A machine-readable description of why this operation is in the "Failure"
|
3299
3235
|
# status. If this value is empty there is no information available. A Reason
|
3300
|
-
# clarifies an HTTP status code but does not override it.
|
3236
|
+
# clarifies an HTTP status code but does not override it.
|
3301
3237
|
# Corresponds to the JSON property `reason`
|
3302
3238
|
# @return [String]
|
3303
3239
|
attr_accessor :reason
|
3304
3240
|
|
3305
3241
|
# Status of the operation. One of: "Success" or "Failure". More info: https://
|
3306
3242
|
# git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
3307
|
-
# spec-and-status
|
3243
|
+
# spec-and-status
|
3308
3244
|
# Corresponds to the JSON property `status`
|
3309
3245
|
# @return [String]
|
3310
3246
|
attr_accessor :status
|
@@ -3332,21 +3268,21 @@ module Google
|
|
3332
3268
|
# The field of the resource that has caused this error, as named by its JSON
|
3333
3269
|
# serialization. May include dot and postfix notation for nested attributes.
|
3334
3270
|
# Arrays are zero-indexed. Fields may appear more than once in an array of
|
3335
|
-
# causes due to fields having multiple errors.
|
3336
|
-
#
|
3337
|
-
#
|
3271
|
+
# causes due to fields having multiple errors. Examples: "name" - the field "
|
3272
|
+
# name" on the current resource "items[0].name" - the field "name" on the first
|
3273
|
+
# array entry in "items"
|
3338
3274
|
# Corresponds to the JSON property `field`
|
3339
3275
|
# @return [String]
|
3340
3276
|
attr_accessor :field
|
3341
3277
|
|
3342
3278
|
# A human-readable description of the cause of the error. This field may be
|
3343
|
-
# presented as-is to a reader.
|
3279
|
+
# presented as-is to a reader.
|
3344
3280
|
# Corresponds to the JSON property `message`
|
3345
3281
|
# @return [String]
|
3346
3282
|
attr_accessor :message
|
3347
3283
|
|
3348
3284
|
# A machine-readable description of the cause of the error. If this value is
|
3349
|
-
# empty there is no information available.
|
3285
|
+
# empty there is no information available.
|
3350
3286
|
# Corresponds to the JSON property `reason`
|
3351
3287
|
# @return [String]
|
3352
3288
|
attr_accessor :reason
|
@@ -3372,13 +3308,12 @@ module Google
|
|
3372
3308
|
include Google::Apis::Core::Hashable
|
3373
3309
|
|
3374
3310
|
# The Causes array includes more details associated with the StatusReason
|
3375
|
-
# failure. Not all StatusReasons may provide detailed causes.
|
3311
|
+
# failure. Not all StatusReasons may provide detailed causes.
|
3376
3312
|
# Corresponds to the JSON property `causes`
|
3377
3313
|
# @return [Array<Google::Apis::RunV1::StatusCause>]
|
3378
3314
|
attr_accessor :causes
|
3379
3315
|
|
3380
|
-
# The group attribute of the resource associated with the status StatusReason.
|
3381
|
-
# optional
|
3316
|
+
# The group attribute of the resource associated with the status StatusReason.
|
3382
3317
|
# Corresponds to the JSON property `group`
|
3383
3318
|
# @return [String]
|
3384
3319
|
attr_accessor :group
|
@@ -3386,13 +3321,13 @@ module Google
|
|
3386
3321
|
# The kind attribute of the resource associated with the status StatusReason. On
|
3387
3322
|
# some operations may differ from the requested resource Kind. More info: https:/
|
3388
3323
|
# /git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
3389
|
-
# types-kinds
|
3324
|
+
# types-kinds
|
3390
3325
|
# Corresponds to the JSON property `kind`
|
3391
3326
|
# @return [String]
|
3392
3327
|
attr_accessor :kind
|
3393
3328
|
|
3394
3329
|
# The name attribute of the resource associated with the status StatusReason (
|
3395
|
-
# when there is a single name which can be described).
|
3330
|
+
# when there is a single name which can be described).
|
3396
3331
|
# Corresponds to the JSON property `name`
|
3397
3332
|
# @return [String]
|
3398
3333
|
attr_accessor :name
|
@@ -3400,13 +3335,13 @@ module Google
|
|
3400
3335
|
# If specified, the time in seconds before the operation should be retried. Some
|
3401
3336
|
# errors may indicate the client must take an alternate action - for those
|
3402
3337
|
# errors this field may indicate how long to wait before taking the alternate
|
3403
|
-
# action.
|
3338
|
+
# action.
|
3404
3339
|
# Corresponds to the JSON property `retryAfterSeconds`
|
3405
3340
|
# @return [Fixnum]
|
3406
3341
|
attr_accessor :retry_after_seconds
|
3407
3342
|
|
3408
3343
|
# UID of the resource. (when there is a single resource which can be described).
|
3409
|
-
# More info: https://kubernetes.io/docs/user-guide/identifiers#uids
|
3344
|
+
# More info: https://kubernetes.io/docs/user-guide/identifiers#uids
|
3410
3345
|
# Corresponds to the JSON property `uid`
|
3411
3346
|
# @return [String]
|
3412
3347
|
attr_accessor :uid
|
@@ -3426,20 +3361,16 @@ module Google
|
|
3426
3361
|
end
|
3427
3362
|
end
|
3428
3363
|
|
3429
|
-
#
|
3430
|
-
# opening a socket
|
3364
|
+
# TCPSocketAction describes an action based on opening a socket
|
3431
3365
|
class TcpSocketAction
|
3432
3366
|
include Google::Apis::Core::Hashable
|
3433
3367
|
|
3434
|
-
#
|
3368
|
+
# Not supported by Cloud Run.
|
3435
3369
|
# Corresponds to the JSON property `host`
|
3436
3370
|
# @return [String]
|
3437
3371
|
attr_accessor :host
|
3438
3372
|
|
3439
|
-
#
|
3440
|
-
# range 1 to 65535. Name must be an IANA_SVC_NAME. This field is currently
|
3441
|
-
# limited to integer types only because of proto's inability to properly support
|
3442
|
-
# the IntOrString golang type.
|
3373
|
+
# Port number to access on the container. Number must be in the range 1 to 65535.
|
3443
3374
|
# Corresponds to the JSON property `port`
|
3444
3375
|
# @return [Fixnum]
|
3445
3376
|
attr_accessor :port
|
@@ -3462,7 +3393,7 @@ module Google
|
|
3462
3393
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
3463
3394
|
# object. Servers should convert recognized schemas to the latest internal value,
|
3464
3395
|
# and may reject unrecognized values. More info: https://git.k8s.io/community/
|
3465
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
3396
|
+
# contributors/devel/sig-architecture/api-conventions.md#resources
|
3466
3397
|
# Corresponds to the JSON property `apiVersion`
|
3467
3398
|
# @return [String]
|
3468
3399
|
attr_accessor :api_version
|
@@ -3470,8 +3401,7 @@ module Google
|
|
3470
3401
|
# Optional. Kind is a string value representing the REST resource this object
|
3471
3402
|
# represents. Servers may infer this from the endpoint the client submits
|
3472
3403
|
# requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/
|
3473
|
-
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
3474
|
-
# optional
|
3404
|
+
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
3475
3405
|
# Corresponds to the JSON property `kind`
|
3476
3406
|
# @return [String]
|
3477
3407
|
attr_accessor :kind
|
@@ -3487,7 +3417,7 @@ module Google
|
|
3487
3417
|
# @return [Google::Apis::RunV1::TaskSpec]
|
3488
3418
|
attr_accessor :spec
|
3489
3419
|
|
3490
|
-
# TaskStatus represents the status of a task
|
3420
|
+
# TaskStatus represents the status of a task.
|
3491
3421
|
# Corresponds to the JSON property `status`
|
3492
3422
|
# @return [Google::Apis::RunV1::TaskStatus]
|
3493
3423
|
attr_accessor :status
|
@@ -3556,21 +3486,20 @@ module Google
|
|
3556
3486
|
# Optional. Email address of the IAM service account associated with the task of
|
3557
3487
|
# a job execution. The service account represents the identity of the running
|
3558
3488
|
# task, and determines what permissions the task has. If not provided, the task
|
3559
|
-
# will use the project's default service account.
|
3489
|
+
# will use the project's default service account.
|
3560
3490
|
# Corresponds to the JSON property `serviceAccountName`
|
3561
3491
|
# @return [String]
|
3562
3492
|
attr_accessor :service_account_name
|
3563
3493
|
|
3564
|
-
# Optional.
|
3565
|
-
#
|
3566
|
-
#
|
3567
|
-
# timeout. +optional
|
3494
|
+
# Optional. Duration in seconds the task may be active before the system will
|
3495
|
+
# actively try to mark it failed and kill associated containers. This applies
|
3496
|
+
# per attempt of a task, meaning each retry can run for the full timeout.
|
3568
3497
|
# Corresponds to the JSON property `timeoutSeconds`
|
3569
3498
|
# @return [Fixnum]
|
3570
3499
|
attr_accessor :timeout_seconds
|
3571
3500
|
|
3572
3501
|
# Optional. List of volumes that can be mounted by containers belonging to the
|
3573
|
-
# task. More info: https://kubernetes.io/docs/concepts/storage/volumes
|
3502
|
+
# task. More info: https://kubernetes.io/docs/concepts/storage/volumes
|
3574
3503
|
# Corresponds to the JSON property `volumes`
|
3575
3504
|
# @return [Array<Google::Apis::RunV1::Volume>]
|
3576
3505
|
attr_accessor :volumes
|
@@ -3589,20 +3518,19 @@ module Google
|
|
3589
3518
|
end
|
3590
3519
|
end
|
3591
3520
|
|
3592
|
-
# TaskStatus represents the status of a task
|
3521
|
+
# TaskStatus represents the status of a task.
|
3593
3522
|
class TaskStatus
|
3594
3523
|
include Google::Apis::Core::Hashable
|
3595
3524
|
|
3596
3525
|
# Optional. Represents time when the task was completed. It is not guaranteed to
|
3597
3526
|
# be set in happens-before order across separate operations. It is represented
|
3598
|
-
# in RFC3339 form and is in UTC.
|
3527
|
+
# in RFC3339 form and is in UTC.
|
3599
3528
|
# Corresponds to the JSON property `completionTime`
|
3600
3529
|
# @return [String]
|
3601
3530
|
attr_accessor :completion_time
|
3602
3531
|
|
3603
3532
|
# Optional. The latest available observations of a task's current state. More
|
3604
|
-
# info: https://kubernetes.io/docs/concepts/workloads/controllers/
|
3605
|
-
# completion/ +optional
|
3533
|
+
# info: https://kubernetes.io/docs/concepts/workloads/controllers/job/
|
3606
3534
|
# Corresponds to the JSON property `conditions`
|
3607
3535
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
3608
3536
|
attr_accessor :conditions
|
@@ -3622,21 +3550,21 @@ module Google
|
|
3622
3550
|
# @return [String]
|
3623
3551
|
attr_accessor :log_uri
|
3624
3552
|
|
3625
|
-
# Optional. The 'generation' of the
|
3553
|
+
# Optional. The 'generation' of the task that was last processed by the
|
3626
3554
|
# controller.
|
3627
3555
|
# Corresponds to the JSON property `observedGeneration`
|
3628
3556
|
# @return [Fixnum]
|
3629
3557
|
attr_accessor :observed_generation
|
3630
3558
|
|
3631
3559
|
# Optional. The number of times this task was retried. Instances are retried
|
3632
|
-
# when they fail up to the maxRetries limit.
|
3560
|
+
# when they fail up to the maxRetries limit.
|
3633
3561
|
# Corresponds to the JSON property `retried`
|
3634
3562
|
# @return [Fixnum]
|
3635
3563
|
attr_accessor :retried
|
3636
3564
|
|
3637
3565
|
# Optional. Represents time when the task started to run. It is not guaranteed
|
3638
3566
|
# to be set in happens-before order across separate operations. It is
|
3639
|
-
# represented in RFC3339 form and is in UTC.
|
3567
|
+
# represented in RFC3339 form and is in UTC.
|
3640
3568
|
# Corresponds to the JSON property `startTime`
|
3641
3569
|
# @return [String]
|
3642
3570
|
attr_accessor :start_time
|
@@ -3722,12 +3650,12 @@ module Google
|
|
3722
3650
|
class TrafficTarget
|
3723
3651
|
include Google::Apis::Core::Hashable
|
3724
3652
|
|
3725
|
-
# ConfigurationName of a configuration to whose latest revision
|
3726
|
-
# this portion of traffic. When the "status.latestReadyRevisionName" of the
|
3727
|
-
# referenced configuration changes,
|
3728
|
-
#
|
3729
|
-
#
|
3730
|
-
#
|
3653
|
+
# ConfigurationName of a configuration to whose latest revision which will be
|
3654
|
+
# sent this portion of traffic. When the "status.latestReadyRevisionName" of the
|
3655
|
+
# referenced configuration changes, traffic will automatically migrate from the
|
3656
|
+
# prior "latest ready" revision to the new one. This field is never set in Route'
|
3657
|
+
# s status, only its spec. This is mutually exclusive with RevisionName. Cloud
|
3658
|
+
# Run currently supports a single ConfigurationName.
|
3731
3659
|
# Corresponds to the JSON property `configurationName`
|
3732
3660
|
# @return [String]
|
3733
3661
|
attr_accessor :configuration_name
|
@@ -3786,7 +3714,7 @@ module Google
|
|
3786
3714
|
class Volume
|
3787
3715
|
include Google::Apis::Core::Hashable
|
3788
3716
|
|
3789
|
-
# Not supported by Cloud Run Adapts a ConfigMap into a volume. The contents of
|
3717
|
+
# Not supported by Cloud Run. Adapts a ConfigMap into a volume. The contents of
|
3790
3718
|
# the target ConfigMap's Data field will be presented in a volume as files using
|
3791
3719
|
# the keys in the Data field as the file names, unless the items element is
|
3792
3720
|
# populated with specific mappings of keys to paths.
|
@@ -3799,10 +3727,11 @@ module Google
|
|
3799
3727
|
# @return [String]
|
3800
3728
|
attr_accessor :name
|
3801
3729
|
|
3802
|
-
#
|
3803
|
-
#
|
3804
|
-
#
|
3805
|
-
#
|
3730
|
+
# A volume representing a secret stored in Google Secret Manager. The secret's
|
3731
|
+
# value will be presented as the content of a file whose name is defined in the
|
3732
|
+
# item path. If no items are defined, the name of the file is the secret_name.
|
3733
|
+
# The contents of the target Secret's Data field will be presented in a volume
|
3734
|
+
# as files using the keys in the Data field as the file names.
|
3806
3735
|
# Corresponds to the JSON property `secret`
|
3807
3736
|
# @return [Google::Apis::RunV1::SecretVolumeSource]
|
3808
3737
|
attr_accessor :secret
|
@@ -3823,26 +3752,26 @@ module Google
|
|
3823
3752
|
class VolumeMount
|
3824
3753
|
include Google::Apis::Core::Hashable
|
3825
3754
|
|
3826
|
-
# Path within the container at which the volume should be mounted.
|
3827
|
-
# contain ':'.
|
3755
|
+
# Required. Path within the container at which the volume should be mounted.
|
3756
|
+
# Must not contain ':'.
|
3828
3757
|
# Corresponds to the JSON property `mountPath`
|
3829
3758
|
# @return [String]
|
3830
3759
|
attr_accessor :mount_path
|
3831
3760
|
|
3832
|
-
# The name of the volume. There must be a corresponding Volume with
|
3833
|
-
# name.
|
3761
|
+
# Required. The name of the volume. There must be a corresponding Volume with
|
3762
|
+
# the same name.
|
3834
3763
|
# Corresponds to the JSON property `name`
|
3835
3764
|
# @return [String]
|
3836
3765
|
attr_accessor :name
|
3837
3766
|
|
3838
|
-
#
|
3767
|
+
# Only true is accepted for Secret Volumes. Defaults to true for Secrets Volumes.
|
3839
3768
|
# Corresponds to the JSON property `readOnly`
|
3840
3769
|
# @return [Boolean]
|
3841
3770
|
attr_accessor :read_only
|
3842
3771
|
alias_method :read_only?, :read_only
|
3843
3772
|
|
3844
|
-
#
|
3845
|
-
#
|
3773
|
+
# Path within the volume from which the container's volume should be mounted.
|
3774
|
+
# Defaults to "" (volume's root).
|
3846
3775
|
# Corresponds to the JSON property `subPath`
|
3847
3776
|
# @return [String]
|
3848
3777
|
attr_accessor :sub_path
|