google-apis-cloudbuild_v1alpha2 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: 17d1b41bd9846f08e130dcb45beebecbcffa7cd8ea45e25c7a1eaad13a201156
4
- data.tar.gz: 40b8768645692961963a7b62fa5a648b482b95c8c1fb9f7abb9c3ddfd890ba41
3
+ metadata.gz: 1cea180113e798e88a1a4e9f82fa4f369195976e723ff4df6ccd230bcefe91d9
4
+ data.tar.gz: f361ea1c5a52c517b4ac126e26b24c1ba75da5fc074cc38db7bdcfc135e01e94
5
5
  SHA512:
6
- metadata.gz: 82d08811f75d9962afafced13c20746835953bf04e9c55484280be6c0f3d8842925995935cd5984fb33cf5d0352959a1471f27c091b9d3f025d0074efc1ddc0b
7
- data.tar.gz: db685492c2e1c4b842e386b8b35e93f0df4f22009a37b0cae71788edfdaa2339e08b57a554b18c9f09c6e905bb70374abe0f31babc9abb8da684d4a04755b159
6
+ metadata.gz: eeb85ba526f77f2c8cd4ff853cd937845fe28995caa666277ea04998d5f9d6cef740e462b83b5c5dd76e4ccaf675eee073262ebe4ab3d7b0531e4c828bff7f36
7
+ data.tar.gz: bb4991067b23d809fd595d5e2edead8c88906bd6fbed902ce78fe1e886d29892a797b5bd425f489c6fb546c744cf14785139b19e97fbca30c7c64a74b0da44d9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudbuild_v1alpha2
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-01)
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 CloudbuildV1alpha2
18
18
  # Version of the google-apis-cloudbuild_v1alpha2 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::CloudbuildV1alpha2::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha2::TimeSpan::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1alpha2
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_v1alpha2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha2/v0.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha2/v0.25.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1alpha2
63
63
  post_install_message:
64
64
  rdoc_options: []