google-apis-run_v1 0.21.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3225e398b2f5d4fa87e752a6e5ad78ee61ef99e899dcdb71f4e21942d50dc051
4
- data.tar.gz: bb2f63486e4fa0828e44f91602d03d9d47dbf99fd54d3acb6656d33809e93701
3
+ metadata.gz: cc7f778a519f04f50b13aa5fbd374d90915f51c0f52b0bde98fc79b379607343
4
+ data.tar.gz: 86fbfd6a314df5c2fa47eff516ad25ee398b933336e3e29b9625841ba5f96dde
5
5
  SHA512:
6
- metadata.gz: 4da1f9b2857314820e0b39bba942755b7b90176ef763c7b9d5c242a9b939181395b7f7d6889f32bb8c0e2d8fa80133a039d8fc2fc4d520451d340ae6d7335cd3
7
- data.tar.gz: 85e09b6bc95e6a17835adc35558a8d769d6c5654abdb4200c0e3673aa5117796acff6689e1c8c38249a43556a8741ff04e696491a842fa9eb476995509614c5a
6
+ metadata.gz: 85e62e8975bbeec4512aa5caa6d24503cb2c7af3c491156283481562bdfdcbc2d2d7a59123d130f3a5cf57a3bee1d7cf51b1c746db00b7dddc86ead41cd414fa
7
+ data.tar.gz: 695dc51710156b204ff574025f60812c181062c251cabc8d7133511cdf8d445ab268f5c9e45f7e9d4b7a811794865342e09c2685081f3cc1c574d7dd2b5becee
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-run_v1
2
2
 
3
+ ### v0.24.0 (2022-03-23)
4
+
5
+ * Regenerated from discovery document revision 20220318
6
+
7
+ ### v0.23.0 (2022-03-09)
8
+
9
+ * Regenerated from discovery document revision 20220304
10
+
11
+ ### v0.22.0 (2022-02-24)
12
+
13
+ * Regenerated from discovery document revision 20220218
14
+
3
15
  ### v0.21.0 (2022-02-09)
4
16
 
5
17
  * Regenerated from discovery document revision 20220204
@@ -1016,11 +1016,12 @@ module Google
1016
1016
  include Google::Apis::Core::Hashable
1017
1017
 
1018
1018
  # Optional. Specifies the maximum desired number of tasks the execution should
1019
- # run at any given time. Must be <= task_count. The actual number of tasks
1020
- # running in steady state will be less than this number when ((.spec.task_count -
1021
- # .status.successful) < .spec.parallelism), i.e. when the work left to do is
1022
- # less than max parallelism. More info: https://kubernetes.io/docs/concepts/
1023
- # workloads/controllers/jobs-run-to-completion/ +optional
1019
+ # run at any given time. Must be <= task_count. If not specified, defaults to -1.
1020
+ # When the job is run, this field is passed to the execution, and if -1 it will
1021
+ # be set to the maximum possible value. The actual number of tasks running in
1022
+ # steady state will be less than this number when there are fewer tasks waiting
1023
+ # to be completed remaining, i.e. when the work left to do is less than max
1024
+ # parallelism. +optional
1024
1025
  # Corresponds to the JSON property `parallelism`
1025
1026
  # @return [Fixnum]
1026
1027
  attr_accessor :parallelism
@@ -1055,6 +1056,11 @@ module Google
1055
1056
  class ExecutionStatus
1056
1057
  include Google::Apis::Core::Hashable
1057
1058
 
1059
+ # Optional. The number of tasks which reached phase Cancelled. +optional
1060
+ # Corresponds to the JSON property `cancelledCount`
1061
+ # @return [Fixnum]
1062
+ attr_accessor :cancelled_count
1063
+
1058
1064
  # Optional. Represents time when the execution was completed. It is not
1059
1065
  # guaranteed to be set in happens-before order across separate operations. It is
1060
1066
  # represented in RFC3339 form and is in UTC. +optional
@@ -1085,6 +1091,11 @@ module Google
1085
1091
  # @return [Fixnum]
1086
1092
  attr_accessor :observed_generation
1087
1093
 
1094
+ # Optional. The number of tasks which have retried at least once. +optional
1095
+ # Corresponds to the JSON property `retriedCount`
1096
+ # @return [Fixnum]
1097
+ attr_accessor :retried_count
1098
+
1088
1099
  # Optional. The number of actively running tasks. +optional
1089
1100
  # Corresponds to the JSON property `runningCount`
1090
1101
  # @return [Fixnum]
@@ -1108,11 +1119,13 @@ module Google
1108
1119
 
1109
1120
  # Update properties of this object
1110
1121
  def update!(**args)
1122
+ @cancelled_count = args[:cancelled_count] if args.key?(:cancelled_count)
1111
1123
  @completion_time = args[:completion_time] if args.key?(:completion_time)
1112
1124
  @conditions = args[:conditions] if args.key?(:conditions)
1113
1125
  @failed_count = args[:failed_count] if args.key?(:failed_count)
1114
1126
  @log_uri = args[:log_uri] if args.key?(:log_uri)
1115
1127
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
1128
+ @retried_count = args[:retried_count] if args.key?(:retried_count)
1116
1129
  @running_count = args[:running_count] if args.key?(:running_count)
1117
1130
  @start_time = args[:start_time] if args.key?(:start_time)
1118
1131
  @succeeded_count = args[:succeeded_count] if args.key?(:succeeded_count)
@@ -2405,14 +2418,15 @@ module Google
2405
2418
  attr_accessor :initial_delay_seconds
2406
2419
 
2407
2420
  # (Optional) How often (in seconds) to perform the probe. Default to 10 seconds.
2408
- # Minimum value is 1.
2421
+ # Minimum value is 1. Maximum value is 3600. Must be greater or equal than
2422
+ # timeout_seconds.
2409
2423
  # Corresponds to the JSON property `periodSeconds`
2410
2424
  # @return [Fixnum]
2411
2425
  attr_accessor :period_seconds
2412
2426
 
2413
2427
  # (Optional) Minimum consecutive successes for the probe to be considered
2414
- # successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum
2415
- # value is 1.
2428
+ # successful after having failed. Defaults to 1. Must be 1 for liveness and
2429
+ # startup Probes.
2416
2430
  # Corresponds to the JSON property `successThreshold`
2417
2431
  # @return [Fixnum]
2418
2432
  attr_accessor :success_threshold
@@ -2424,8 +2438,9 @@ module Google
2424
2438
  attr_accessor :tcp_socket
2425
2439
 
2426
2440
  # (Optional) Number of seconds after which the probe times out. Defaults to 1
2427
- # second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/
2428
- # workloads/pods/pod-lifecycle#container-probes
2441
+ # second. Minimum value is 1. Maximum value is 3600. Must be smaller than
2442
+ # period_seconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/
2443
+ # pod-lifecycle#container-probes
2429
2444
  # Corresponds to the JSON property `timeoutSeconds`
2430
2445
  # @return [Fixnum]
2431
2446
  attr_accessor :timeout_seconds
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV1
18
18
  # Version of the google-apis-run_v1 gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220204"
25
+ REVISION = "20220318"
26
26
  end
27
27
  end
28
28
  end
@@ -791,12 +791,14 @@ module Google
791
791
  class ExecutionStatus
792
792
  # @private
793
793
  class Representation < Google::Apis::Core::JsonRepresentation
794
+ property :cancelled_count, as: 'cancelledCount'
794
795
  property :completion_time, as: 'completionTime'
795
796
  collection :conditions, as: 'conditions', class: Google::Apis::RunV1::GoogleCloudRunV1Condition, decorator: Google::Apis::RunV1::GoogleCloudRunV1Condition::Representation
796
797
 
797
798
  property :failed_count, as: 'failedCount'
798
799
  property :log_uri, as: 'logUri'
799
800
  property :observed_generation, as: 'observedGeneration'
801
+ property :retried_count, as: 'retriedCount'
800
802
  property :running_count, as: 'runningCount'
801
803
  property :start_time, as: 'startTime'
802
804
  property :succeeded_count, as: 'succeededCount'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
63
63
  post_install_message:
64
64
  rdoc_options: []