google-apis-cloudbuild_v2 0.17.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: d187a7434517f430d31a5e2adab0b13c439fd627386c4352600d9021194efb5d
4
- data.tar.gz: b852bdb5b9f9082d7d7989301d34e6eb218ce64cefa1ef73b8632fd0360b98be
3
+ metadata.gz: c398cb93985c5dc05cc61e839bbf8f14fe05a511dca492cc1fa15ef0ba493d80
4
+ data.tar.gz: 72222e853e67fb977023ce3398258fc5a5fe396edeb93baf04f7c2779c752a32
5
5
  SHA512:
6
- metadata.gz: df7832a51d118acbcad1f704c95036a2ef670b6ef6fa205cf2b51f131a710706f78e656e32c879659f106ea5bcd3e1d7a328d6d40040e036fa0008cc9604d78d
7
- data.tar.gz: 9d6045374dea77172ff9fa1691d990117b573bff304e1f73562b848c6455c286d427f2ad451e922a581d22bde83e85937f7900a4523108256331b4c753577395
6
+ metadata.gz: 6e7275460797c220bd77699b57b19c5d2609261203975b9ce67050944ee245dcf51697a0335c28045c0181d73fd1236e2f64df7156fe6c641447565eec10f327
7
+ data.tar.gz: 6a0c2cca5a0e66c31a064598f5cc68ff7073089970cdf9b599a0ec79b4100c796d62dec7aeaad280eb8a0ab01152e5386105ea08c34a3d4b42d8386a6fd4f255
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.17.0 (2024-04-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20240411
@@ -2700,6 +2700,16 @@ module Google
2700
2700
  # @return [String]
2701
2701
  attr_accessor :name
2702
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
+
2703
2713
  # The contents of an executable file to execute.
2704
2714
  # Corresponds to the JSON property `script`
2705
2715
  # @return [String]
@@ -2736,6 +2746,8 @@ module Google
2736
2746
  @env = args[:env] if args.key?(:env)
2737
2747
  @image = args[:image] if args.key?(:image)
2738
2748
  @name = args[:name] if args.key?(:name)
2749
+ @params = args[:params] if args.key?(:params)
2750
+ @ref = args[:ref] if args.key?(:ref)
2739
2751
  @script = args[:script] if args.key?(:script)
2740
2752
  @security_context = args[:security_context] if args.key?(:security_context)
2741
2753
  @timeout = args[:timeout] if args.key?(:timeout)
@@ -2744,6 +2756,37 @@ module Google
2744
2756
  end
2745
2757
  end
2746
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
+
2747
2790
  # StepTemplate can be used as the basis for all step containers within the Task,
2748
2791
  # so that the steps inherit settings on the base container.
2749
2792
  class StepTemplate
@@ -2830,6 +2873,11 @@ module Google
2830
2873
  # @return [String]
2831
2874
  attr_accessor :type
2832
2875
 
2876
+ # Parameter value.
2877
+ # Corresponds to the JSON property `value`
2878
+ # @return [Google::Apis::CloudbuildV2::ParamValue]
2879
+ attr_accessor :value
2880
+
2833
2881
  def initialize(**args)
2834
2882
  update!(**args)
2835
2883
  end
@@ -2840,6 +2888,7 @@ module Google
2840
2888
  @name = args[:name] if args.key?(:name)
2841
2889
  @properties = args[:properties] if args.key?(:properties)
2842
2890
  @type = args[:type] if args.key?(:type)
2891
+ @value = args[:value] if args.key?(:value)
2843
2892
  end
2844
2893
  end
2845
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.17.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 = "20240411"
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
 
@@ -1193,6 +1199,10 @@ module Google
1193
1199
 
1194
1200
  property :image, as: 'image'
1195
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
+
1196
1206
  property :script, as: 'script'
1197
1207
  property :security_context, as: 'securityContext', class: Google::Apis::CloudbuildV2::SecurityContext, decorator: Google::Apis::CloudbuildV2::SecurityContext::Representation
1198
1208
 
@@ -1203,6 +1213,16 @@ module Google
1203
1213
  end
1204
1214
  end
1205
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
+
1206
1226
  class StepTemplate
1207
1227
  # @private
1208
1228
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1231,6 +1251,8 @@ module Google
1231
1251
  hash :properties, as: 'properties', class: Google::Apis::CloudbuildV2::PropertySpec, decorator: Google::Apis::CloudbuildV2::PropertySpec::Representation
1232
1252
 
1233
1253
  property :type, as: 'type'
1254
+ property :value, as: 'value', class: Google::Apis::CloudbuildV2::ParamValue, decorator: Google::Apis::CloudbuildV2::ParamValue::Representation
1255
+
1234
1256
  end
1235
1257
  end
1236
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.17.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-04-21 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.17.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: []