google-apis-cloudbuild_v1alpha1 0.22.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: 1566bc6364a3db36949abaa99104dbb1db5a6d80ae2ed829cabfe4ee05260227
4
- data.tar.gz: 4ff19b6a5d5b758e9817e34edf8331b95c19c080d3e247f57d5abfd7bcdfb5fe
3
+ metadata.gz: 861b3ccba6afe0329302b9d09613548901e80daa68a5529f9d7d9df666d75d1b
4
+ data.tar.gz: 1e7602cf14eb53fb061beb1b88efe05e0f29f756d597ccb193dec2773107c7ed
5
5
  SHA512:
6
- metadata.gz: abcf84cd37714d61a3e5bd90b24dbd2e6f6fcab68c5318565858849ad797be8ca36009d7e77763818d71c1c878ed7fbf84dfbc619956b8626450a6d6e2bae6bc
7
- data.tar.gz: d91d4171eefea15bdd000bdce70ee875b4454905cfb55cadcc2d6acb0cb14f63c7f6a2d28c61f53b1fd6f854ac518b9d60a04484d7b9553ecf9bec4e0641d92d
6
+ metadata.gz: f028fc26bb0de696b8f9857b3d2af0841968622469055dc30763e30f792365e5ce7643ec4a686706cadfbaf67608ea4a397f6585b76e8c7481270333739df183
7
+ data.tar.gz: 9043fa1cfb003cd6a83f18aaf493b2a36ba6a7d724483d66bf669932b158728e8066fcd72a7e8f8845a7ed7ffb0cbcf2ae78bf4a7852dbb1f5948991fa1bc7ab
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
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
+
8
+ ### v0.24.0 (2022-07-02)
9
+
10
+ * Regenerated using generator version 0.8.0
11
+
12
+ ### v0.23.0 (2022-06-20)
13
+
14
+ * Regenerated using generator version 0.7.0
15
+
3
16
  ### v0.22.0 (2022-06-05)
4
17
 
5
18
  * Regenerated using generator version 0.5.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.22.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.5.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.22.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-06-13 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.7'
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.5'
29
+ version: '0.7'
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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.22.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: []