google-apis-cloudbuild_v1 0.37.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f406a2a2c7b6a09c9d80b9a5753c5f73e8b4175c7b0cb1467081eca7ad9b6634
4
- data.tar.gz: 84deb57dbd3cfba5a52a6566bdbe06ba06dfbc28943a93e2abbc45676a61029b
3
+ metadata.gz: 5ba0326ff2746bd2f15fd6c711eb64a50672643b2feee4892c1967fd595437f8
4
+ data.tar.gz: 6425dfa75f2103a9e9b408c21f628f79db963bcdbc1991ac321f2c98c3d3a7ef
5
5
  SHA512:
6
- metadata.gz: 51350aa5c15dae822fcc5ed675d4ee87d9f7d68002cefd43e92daa4217846c9d75dacd5e9d7cd6445074524d49278b0034a4de7bf6a9ecae492801799b8b7845
7
- data.tar.gz: 185ca7ce1ba479cde7adba43659dfb98e99ff696fb8bdaa2f001a11540352091c582f02f5abde908b04583ed04c1a1772e899836fccda160ade499608b0f3355
6
+ metadata.gz: d4c771de63ee27bf5f39e750479c98e4557a6a7b49fde5bb6caacb764de4b410446f94a6ddb89a691edf25588d6f227c10e6d11c3fc03ee967d29d0d663598a9
7
+ data.tar.gz: 71a16512b7d8f97682c69b16dbd8f1bbe49e06b3bd25e4b25c1062f20c735125665015372aa5127e79f5abf4483e1b327e67668008075fd63fdf11139cac831a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.38.0 (2022-08-31)
4
+
5
+ * Regenerated from discovery document revision 20220826
6
+
3
7
  ### v0.37.0 (2022-08-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20220818
@@ -976,6 +976,22 @@ module Google
976
976
  class BuildStep
977
977
  include Google::Apis::Core::Hashable
978
978
 
979
+ # Allow this build step to fail without failing the entire build if and only if
980
+ # the exit code is one of the specified codes. If allow_failure is also
981
+ # specified, this field will take precedence.
982
+ # Corresponds to the JSON property `allowExitCodes`
983
+ # @return [Array<Fixnum>]
984
+ attr_accessor :allow_exit_codes
985
+
986
+ # Allow this build step to fail without failing the entire build. If false, the
987
+ # entire build will fail if this step fails. Otherwise, the build will succeed,
988
+ # but this step will still have a failure status. Error information will be
989
+ # reported in the failure_detail field.
990
+ # Corresponds to the JSON property `allowFailure`
991
+ # @return [Boolean]
992
+ attr_accessor :allow_failure
993
+ alias_method :allow_failure?, :allow_failure
994
+
979
995
  # A list of arguments that will be presented to the step when it is started. If
980
996
  # the image used to run the step's container has an entrypoint, the `args` are
981
997
  # used as arguments to that entrypoint. If the image does not define an
@@ -1009,6 +1025,11 @@ module Google
1009
1025
  # @return [Array<String>]
1010
1026
  attr_accessor :env
1011
1027
 
1028
+ # Output only. Return code from running the step.
1029
+ # Corresponds to the JSON property `exitCode`
1030
+ # @return [Fixnum]
1031
+ attr_accessor :exit_code
1032
+
1012
1033
  # Unique identifier for this build step, used in `wait_for` to reference this
1013
1034
  # build step as a dependency.
1014
1035
  # Corresponds to the JSON property `id`
@@ -1090,10 +1111,13 @@ module Google
1090
1111
 
1091
1112
  # Update properties of this object
1092
1113
  def update!(**args)
1114
+ @allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
1115
+ @allow_failure = args[:allow_failure] if args.key?(:allow_failure)
1093
1116
  @args = args[:args] if args.key?(:args)
1094
1117
  @dir = args[:dir] if args.key?(:dir)
1095
1118
  @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
1096
1119
  @env = args[:env] if args.key?(:env)
1120
+ @exit_code = args[:exit_code] if args.key?(:exit_code)
1097
1121
  @id = args[:id] if args.key?(:id)
1098
1122
  @name = args[:name] if args.key?(:name)
1099
1123
  @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1
18
18
  # Version of the google-apis-cloudbuild_v1 gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220818"
25
+ REVISION = "20220826"
26
26
  end
27
27
  end
28
28
  end
@@ -811,10 +811,13 @@ module Google
811
811
  class BuildStep
812
812
  # @private
813
813
  class Representation < Google::Apis::Core::JsonRepresentation
814
+ collection :allow_exit_codes, as: 'allowExitCodes'
815
+ property :allow_failure, as: 'allowFailure'
814
816
  collection :args, as: 'args'
815
817
  property :dir, as: 'dir'
816
818
  property :entrypoint, as: 'entrypoint'
817
819
  collection :env, as: 'env'
820
+ property :exit_code, as: 'exitCode'
818
821
  property :id, as: 'id'
819
822
  property :name, as: 'name'
820
823
  property :pull_timing, as: 'pullTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.38.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-08-29 00:00:00.000000000 Z
11
+ date: 2022-09-05 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-cloudbuild_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1
63
63
  post_install_message:
64
64
  rdoc_options: []