google-apis-cloudbuild_v1beta1 0.23.0 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7ae9febdfb528bfb350e0aa9995b8abc947e68d7071e919c26d4ff570c62b14
4
- data.tar.gz: af14aa3688daee2166b9e8fc5b7be5dbe9e818c2c8cddda34d0200d6f1cfdce9
3
+ metadata.gz: b0cdceeb944a5ea46c0bced5f4eb0470e2b9d87c74febb8f156fced207a993cc
4
+ data.tar.gz: 34ecc812bd48cde50cba456703db325cc65f38e22e83d7aaff0c3e07fd2cf478
5
5
  SHA512:
6
- metadata.gz: d91316d232ef69c2d20111d0471a67f5ec6f60bcb7a3acf0902f20daac59b75f89ac24e302a87a18970606fcf9e48d842699e85f264779599b4de500e3372251
7
- data.tar.gz: decf57ee5399d3af820d9103e78441e4f5583dab9f0c24dcd425793b248432adca67dcec4d8d7e5922b1b3e91d30c927d19c1c8e0631bcf6b80d2c8dfd48daf0
6
+ metadata.gz: 8f0ace6c673bbe9eadf6c58e04b172d40b811366eb71bddd6d67f36209974344f8283b02b30c4b11959a47122b8398e1a2e5da8a09a7d80b729e4c69f1c1a5b0
7
+ data.tar.gz: 8d5892b861c0bf00a1f350fb31ba47c0b41081ac8016ef1044e554f66c75088fd316d0943f87f57b5af4aa774e221a2d84275a050306cd998677ac007b942046
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudbuild_v1beta1
2
2
 
3
+ ### v0.24.0 (2022-08-31)
4
+
5
+ * Regenerated from discovery document revision 20220826
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.23.0 (2022-06-30)
4
9
 
5
10
  * Regenerated using generator version 0.8.0
@@ -716,6 +716,22 @@ module Google
716
716
  class BuildStep
717
717
  include Google::Apis::Core::Hashable
718
718
 
719
+ # Allow this build step to fail without failing the entire build if and only if
720
+ # the exit code is one of the specified codes. If allow_failure is also
721
+ # specified, this field will take precedence.
722
+ # Corresponds to the JSON property `allowExitCodes`
723
+ # @return [Array<Fixnum>]
724
+ attr_accessor :allow_exit_codes
725
+
726
+ # Allow this build step to fail without failing the entire build. If false, the
727
+ # entire build will fail if this step fails. Otherwise, the build will succeed,
728
+ # but this step will still have a failure status. Error information will be
729
+ # reported in the failure_detail field.
730
+ # Corresponds to the JSON property `allowFailure`
731
+ # @return [Boolean]
732
+ attr_accessor :allow_failure
733
+ alias_method :allow_failure?, :allow_failure
734
+
719
735
  # A list of arguments that will be presented to the step when it is started. If
720
736
  # the image used to run the step's container has an entrypoint, the `args` are
721
737
  # used as arguments to that entrypoint. If the image does not define an
@@ -749,6 +765,11 @@ module Google
749
765
  # @return [Array<String>]
750
766
  attr_accessor :env
751
767
 
768
+ # Output only. Return code from running the step.
769
+ # Corresponds to the JSON property `exitCode`
770
+ # @return [Fixnum]
771
+ attr_accessor :exit_code
772
+
752
773
  # Unique identifier for this build step, used in `wait_for` to reference this
753
774
  # build step as a dependency.
754
775
  # Corresponds to the JSON property `id`
@@ -830,10 +851,13 @@ module Google
830
851
 
831
852
  # Update properties of this object
832
853
  def update!(**args)
854
+ @allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
855
+ @allow_failure = args[:allow_failure] if args.key?(:allow_failure)
833
856
  @args = args[:args] if args.key?(:args)
834
857
  @dir = args[:dir] if args.key?(:dir)
835
858
  @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
836
859
  @env = args[:env] if args.key?(:env)
860
+ @exit_code = args[:exit_code] if args.key?(:exit_code)
837
861
  @id = args[:id] if args.key?(:id)
838
862
  @name = args[:name] if args.key?(:name)
839
863
  @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1beta1
18
18
  # Version of the google-apis-cloudbuild_v1beta1 gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220512"
25
+ REVISION = "20220826"
26
26
  end
27
27
  end
28
28
  end
@@ -567,10 +567,13 @@ module Google
567
567
  class BuildStep
568
568
  # @private
569
569
  class Representation < Google::Apis::Core::JsonRepresentation
570
+ collection :allow_exit_codes, as: 'allowExitCodes'
571
+ property :allow_failure, as: 'allowFailure'
570
572
  collection :args, as: 'args'
571
573
  property :dir, as: 'dir'
572
574
  property :entrypoint, as: 'entrypoint'
573
575
  collection :env, as: 'env'
576
+ property :exit_code, as: 'exitCode'
574
577
  property :id, as: 'id'
575
578
  property :name, as: 'name'
576
579
  property :pull_timing, as: 'pullTiming', class: Google::Apis::CloudbuildV1beta1::TimeSpan, decorator: Google::Apis::CloudbuildV1beta1::TimeSpan::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.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-07-04 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []