google-apis-cloudbuild_v1beta1 0.23.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: c7ae9febdfb528bfb350e0aa9995b8abc947e68d7071e919c26d4ff570c62b14
4
- data.tar.gz: af14aa3688daee2166b9e8fc5b7be5dbe9e818c2c8cddda34d0200d6f1cfdce9
3
+ metadata.gz: 99f5e511249e5df386eb4217982a1ab398aa153bcef847292a62f1258d0d5bc5
4
+ data.tar.gz: 566d35b86cfcbf29da1718610543d836e1706b4b5544a4a86615fd96ec42d890
5
5
  SHA512:
6
- metadata.gz: d91316d232ef69c2d20111d0471a67f5ec6f60bcb7a3acf0902f20daac59b75f89ac24e302a87a18970606fcf9e48d842699e85f264779599b4de500e3372251
7
- data.tar.gz: decf57ee5399d3af820d9103e78441e4f5583dab9f0c24dcd425793b248432adca67dcec4d8d7e5922b1b3e91d30c927d19c1c8e0631bcf6b80d2c8dfd48daf0
6
+ metadata.gz: a648047509b91b01f062a79e721d9dc012d88b6a5a42921f2d54e78c339b0c678bbf8e05ba22e13e8734f32985de9e98766b646fc743e4a5fa736daece251f40
7
+ data.tar.gz: effb7267b151fd9313fc5d8035521054ed85822b9447395836546ab31260868b0c0f2981c4d2300388b0d3bf7014dcd30e4d0dd66b2c030f3be4b827943dacf8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudbuild_v1beta1
2
2
 
3
+ ### v0.25.0 (2022-09-18)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.24.0 (2022-08-31)
8
+
9
+ * Regenerated from discovery document revision 20220826
10
+ * Regenerated using generator version 0.9.0
11
+
3
12
  ### v0.23.0 (2022-06-30)
4
13
 
5
14
  * 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.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::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.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-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: 0.7.2
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: 0.7.2
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.25.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: []