google-apis-cloudbuild_v2 0.16.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8798e9450c57f857fd75ab559d0cefea9cc261604cb5db2fb82b9c2cc97c80fa
4
- data.tar.gz: 30242f44e8d37e084091dbccd999eb0b06e4ae567d5267ed3b361a2561ddce0f
3
+ metadata.gz: c398cb93985c5dc05cc61e839bbf8f14fe05a511dca492cc1fa15ef0ba493d80
4
+ data.tar.gz: 72222e853e67fb977023ce3398258fc5a5fe396edeb93baf04f7c2779c752a32
5
5
  SHA512:
6
- metadata.gz: c5daf41de54e78d817ae74b296fede8d5bf20555aaf27a1603e3803c3c348acfa0acb740c6c32ab830b602b8ba410bb8c83e733828669cd0ea97064b667763a0
7
- data.tar.gz: 7e47eec93d94c86dfb6d4c7a5a914911bf74aafe376b4b1cba785cf027cbc875c9159eed351d761a01a35e0be003a3e7eff10ce7137b022f8d10a506342ac471
6
+ metadata.gz: 6e7275460797c220bd77699b57b19c5d2609261203975b9ce67050944ee245dcf51697a0335c28045c0181d73fd1236e2f64df7156fe6c641447565eec10f327
7
+ data.tar.gz: 6a0c2cca5a0e66c31a064598f5cc68ff7073089970cdf9b599a0ec79b4100c796d62dec7aeaad280eb8a0ab01152e5386105ea08c34a3d4b42d8386a6fd4f255
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudbuild_v2
2
2
 
3
+ ### v0.18.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240427
6
+
7
+ ### v0.17.0 (2024-04-21)
8
+
9
+ * Regenerated from discovery document revision 20240411
10
+
3
11
  ### v0.16.0 (2024-03-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20240314
@@ -1714,6 +1714,11 @@ module Google
1714
1714
  # @return [Google::Apis::CloudbuildV2::PipelineSpec]
1715
1715
  attr_accessor :pipeline_spec
1716
1716
 
1717
+ # Output only. Inline pipelineSpec yaml string, used by workflow run requests.
1718
+ # Corresponds to the JSON property `pipelineSpecYaml`
1719
+ # @return [String]
1720
+ attr_accessor :pipeline_spec_yaml
1721
+
1717
1722
  # Provenance configuration.
1718
1723
  # Corresponds to the JSON property `provenance`
1719
1724
  # @return [Google::Apis::CloudbuildV2::Provenance]
@@ -1814,6 +1819,7 @@ module Google
1814
1819
  @pipeline_ref = args[:pipeline_ref] if args.key?(:pipeline_ref)
1815
1820
  @pipeline_run_status = args[:pipeline_run_status] if args.key?(:pipeline_run_status)
1816
1821
  @pipeline_spec = args[:pipeline_spec] if args.key?(:pipeline_spec)
1822
+ @pipeline_spec_yaml = args[:pipeline_spec_yaml] if args.key?(:pipeline_spec_yaml)
1817
1823
  @provenance = args[:provenance] if args.key?(:provenance)
1818
1824
  @record = args[:record] if args.key?(:record)
1819
1825
  @resolved_pipeline_spec = args[:resolved_pipeline_spec] if args.key?(:resolved_pipeline_spec)
@@ -2694,6 +2700,16 @@ module Google
2694
2700
  # @return [String]
2695
2701
  attr_accessor :name
2696
2702
 
2703
+ # Optional. Optional parameters passed to the StepAction.
2704
+ # Corresponds to the JSON property `params`
2705
+ # @return [Array<Google::Apis::CloudbuildV2::Param>]
2706
+ attr_accessor :params
2707
+
2708
+ # A reference to a remote Step, i.e. a StepAction.
2709
+ # Corresponds to the JSON property `ref`
2710
+ # @return [Google::Apis::CloudbuildV2::StepRef]
2711
+ attr_accessor :ref
2712
+
2697
2713
  # The contents of an executable file to execute.
2698
2714
  # Corresponds to the JSON property `script`
2699
2715
  # @return [String]
@@ -2730,6 +2746,8 @@ module Google
2730
2746
  @env = args[:env] if args.key?(:env)
2731
2747
  @image = args[:image] if args.key?(:image)
2732
2748
  @name = args[:name] if args.key?(:name)
2749
+ @params = args[:params] if args.key?(:params)
2750
+ @ref = args[:ref] if args.key?(:ref)
2733
2751
  @script = args[:script] if args.key?(:script)
2734
2752
  @security_context = args[:security_context] if args.key?(:security_context)
2735
2753
  @timeout = args[:timeout] if args.key?(:timeout)
@@ -2738,6 +2756,37 @@ module Google
2738
2756
  end
2739
2757
  end
2740
2758
 
2759
+ # A reference to a remote Step, i.e. a StepAction.
2760
+ class StepRef
2761
+ include Google::Apis::Core::Hashable
2762
+
2763
+ # Optional. Name of the step.
2764
+ # Corresponds to the JSON property `name`
2765
+ # @return [String]
2766
+ attr_accessor :name
2767
+
2768
+ # Optional. Parameters used to control the resolution.
2769
+ # Corresponds to the JSON property `params`
2770
+ # @return [Array<Google::Apis::CloudbuildV2::Param>]
2771
+ attr_accessor :params
2772
+
2773
+ # Optional. Type of the resolver.
2774
+ # Corresponds to the JSON property `resolver`
2775
+ # @return [String]
2776
+ attr_accessor :resolver
2777
+
2778
+ def initialize(**args)
2779
+ update!(**args)
2780
+ end
2781
+
2782
+ # Update properties of this object
2783
+ def update!(**args)
2784
+ @name = args[:name] if args.key?(:name)
2785
+ @params = args[:params] if args.key?(:params)
2786
+ @resolver = args[:resolver] if args.key?(:resolver)
2787
+ end
2788
+ end
2789
+
2741
2790
  # StepTemplate can be used as the basis for all step containers within the Task,
2742
2791
  # so that the steps inherit settings on the base container.
2743
2792
  class StepTemplate
@@ -2824,6 +2873,11 @@ module Google
2824
2873
  # @return [String]
2825
2874
  attr_accessor :type
2826
2875
 
2876
+ # Parameter value.
2877
+ # Corresponds to the JSON property `value`
2878
+ # @return [Google::Apis::CloudbuildV2::ParamValue]
2879
+ attr_accessor :value
2880
+
2827
2881
  def initialize(**args)
2828
2882
  update!(**args)
2829
2883
  end
@@ -2834,6 +2888,7 @@ module Google
2834
2888
  @name = args[:name] if args.key?(:name)
2835
2889
  @properties = args[:properties] if args.key?(:properties)
2836
2890
  @type = args[:type] if args.key?(:type)
2891
+ @value = args[:value] if args.key?(:value)
2837
2892
  end
2838
2893
  end
2839
2894
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV2
18
18
  # Version of the google-apis-cloudbuild_v2 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240314"
25
+ REVISION = "20240427"
26
26
  end
27
27
  end
28
28
  end
@@ -406,6 +406,12 @@ module Google
406
406
  include Google::Apis::Core::JsonObjectSupport
407
407
  end
408
408
 
409
+ class StepRef
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
409
415
  class StepTemplate
410
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
417
 
@@ -952,6 +958,7 @@ module Google
952
958
  property :pipeline_run_status, as: 'pipelineRunStatus'
953
959
  property :pipeline_spec, as: 'pipelineSpec', class: Google::Apis::CloudbuildV2::PipelineSpec, decorator: Google::Apis::CloudbuildV2::PipelineSpec::Representation
954
960
 
961
+ property :pipeline_spec_yaml, as: 'pipelineSpecYaml'
955
962
  property :provenance, as: 'provenance', class: Google::Apis::CloudbuildV2::Provenance, decorator: Google::Apis::CloudbuildV2::Provenance::Representation
956
963
 
957
964
  property :record, as: 'record'
@@ -1192,6 +1199,10 @@ module Google
1192
1199
 
1193
1200
  property :image, as: 'image'
1194
1201
  property :name, as: 'name'
1202
+ collection :params, as: 'params', class: Google::Apis::CloudbuildV2::Param, decorator: Google::Apis::CloudbuildV2::Param::Representation
1203
+
1204
+ property :ref, as: 'ref', class: Google::Apis::CloudbuildV2::StepRef, decorator: Google::Apis::CloudbuildV2::StepRef::Representation
1205
+
1195
1206
  property :script, as: 'script'
1196
1207
  property :security_context, as: 'securityContext', class: Google::Apis::CloudbuildV2::SecurityContext, decorator: Google::Apis::CloudbuildV2::SecurityContext::Representation
1197
1208
 
@@ -1202,6 +1213,16 @@ module Google
1202
1213
  end
1203
1214
  end
1204
1215
 
1216
+ class StepRef
1217
+ # @private
1218
+ class Representation < Google::Apis::Core::JsonRepresentation
1219
+ property :name, as: 'name'
1220
+ collection :params, as: 'params', class: Google::Apis::CloudbuildV2::Param, decorator: Google::Apis::CloudbuildV2::Param::Representation
1221
+
1222
+ property :resolver, as: 'resolver'
1223
+ end
1224
+ end
1225
+
1205
1226
  class StepTemplate
1206
1227
  # @private
1207
1228
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1230,6 +1251,8 @@ module Google
1230
1251
  hash :properties, as: 'properties', class: Google::Apis::CloudbuildV2::PropertySpec, decorator: Google::Apis::CloudbuildV2::PropertySpec::Representation
1231
1252
 
1232
1253
  property :type, as: 'type'
1254
+ property :value, as: 'value', class: Google::Apis::CloudbuildV2::ParamValue, decorator: Google::Apis::CloudbuildV2::ParamValue::Representation
1255
+
1233
1256
  end
1234
1257
  end
1235
1258
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.18.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: 2024-03-24 00:00:00.000000000 Z
11
+ date: 2024-05-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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v2/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v2/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v2
63
63
  post_install_message:
64
64
  rdoc_options: []