google-apis-cloudbuild_v1alpha1 0.24.0 → 0.25.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: 2c265f6e27a0665834cb8b0c7b7c571739d2754ca6a9c75fbcffbc50041300bb
4
- data.tar.gz: 6cbf8c005c77c2edf099e0b49259287d954c4a6d78e538d759d3b96172e2ed62
3
+ metadata.gz: 861b3ccba6afe0329302b9d09613548901e80daa68a5529f9d7d9df666d75d1b
4
+ data.tar.gz: 1e7602cf14eb53fb061beb1b88efe05e0f29f756d597ccb193dec2773107c7ed
5
5
  SHA512:
6
- metadata.gz: bc005945832f22c9a781dd64a3eea6013d37bc096274edff0d08c506d8c6745501d954f00a5c3c92601511e586ebbf7b838cc23532ccb786979254bf569fbeda
7
- data.tar.gz: a0956c364be61f45aee519ba43ed8a58186f9f40167b39039cf6d4b34a0d3861966262ca56a08b7aae6963311a2742390e2e129562f5347a86b3ee530e4b2cdd
6
+ metadata.gz: f028fc26bb0de696b8f9857b3d2af0841968622469055dc30763e30f792365e5ce7643ec4a686706cadfbaf67608ea4a397f6585b76e8c7481270333739df183
7
+ data.tar.gz: 9043fa1cfb003cd6a83f18aaf493b2a36ba6a7d724483d66bf669932b158728e8066fcd72a7e8f8845a7ed7ffb0cbcf2ae78bf4a7852dbb1f5948991fa1bc7ab
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudbuild_v1alpha1
2
2
 
3
+ ### v0.25.0 (2022-08-31)
4
+
5
+ * Regenerated from discovery document revision 20220826
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.24.0 (2022-07-02)
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 CloudbuildV1alpha1
18
18
  # Version of the google-apis-cloudbuild_v1alpha1 gem
19
- GEM_VERSION = "0.24.0"
19
+ GEM_VERSION = "0.25.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::CloudbuildV1alpha1::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha1::TimeSpan::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.25.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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.25.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []