google-apis-cloudbuild_v2 0.13.0 → 0.14.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: d9ceefb04394c828fec360af01594802a18a1a2c3b1baafee12c2b60bc7fdbb5
4
- data.tar.gz: c3da8a3b44486aaffebd44c43d2c41d88d13a0ad07ea5bbc99d76c6b650f8470
3
+ metadata.gz: 4bdc345c707a636a87c427590b9c0691cbd06f8031280f535f0825d3c18307fe
4
+ data.tar.gz: 9ae4c023755a5951c85b3c3bb7ca8c18172cfbec9bdc7a55320aff5dcc7ecd47
5
5
  SHA512:
6
- metadata.gz: dae0de2c69a715a6b86336f50dcd4bec0536d2d9022e0c526ce42d1cd43195438a956aa18c047babc6e11e7f7a20f35df7e722afae924b1c9c3902f8f02e8a61
7
- data.tar.gz: 0bf82cb791767d3134f8205760c2e204fd599457f35e864daed73398798fea2446c73ffadae420b8cb5bccf43639a7450c530d1df83ca382ba41dc6bb235dc8c
6
+ metadata.gz: 5bd461e05ec300db8409750aae3303a77f74f23619e812f3fab96811af2e03a666e5bf4551abc76de6ac446eba9f0b320f8aa5839c6c3a6c815327ab4bc7c9d7
7
+ data.tar.gz: da2aa831c51ffaeb7b4e8363d379fae95a6fd3ad5184239db4e77e8b674c428c563d1dd703e7c31a1f7316808ded29ccf206724e31103a6c20019085f3aaf363
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbuild_v2
2
2
 
3
+ ### v0.14.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240305
6
+
3
7
  ### v0.13.0 (2024-03-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20240223
@@ -1604,6 +1604,43 @@ module Google
1604
1604
  end
1605
1605
  end
1606
1606
 
1607
+ # A value produced by a Pipeline.
1608
+ class PipelineResult
1609
+ include Google::Apis::Core::Hashable
1610
+
1611
+ # Output only. Description of the result.
1612
+ # Corresponds to the JSON property `description`
1613
+ # @return [String]
1614
+ attr_accessor :description
1615
+
1616
+ # Output only. Name of the result.
1617
+ # Corresponds to the JSON property `name`
1618
+ # @return [String]
1619
+ attr_accessor :name
1620
+
1621
+ # Output only. The type of data that the result holds.
1622
+ # Corresponds to the JSON property `type`
1623
+ # @return [String]
1624
+ attr_accessor :type
1625
+
1626
+ # ResultValue holds different types of data for a single result.
1627
+ # Corresponds to the JSON property `value`
1628
+ # @return [Google::Apis::CloudbuildV2::ResultValue]
1629
+ attr_accessor :value
1630
+
1631
+ def initialize(**args)
1632
+ update!(**args)
1633
+ end
1634
+
1635
+ # Update properties of this object
1636
+ def update!(**args)
1637
+ @description = args[:description] if args.key?(:description)
1638
+ @name = args[:name] if args.key?(:name)
1639
+ @type = args[:type] if args.key?(:type)
1640
+ @value = args[:value] if args.key?(:value)
1641
+ end
1642
+ end
1643
+
1607
1644
  # Message describing PipelineRun object
1608
1645
  class PipelineRun
1609
1646
  include Google::Apis::Core::Hashable
@@ -1693,6 +1730,12 @@ module Google
1693
1730
  # @return [Google::Apis::CloudbuildV2::PipelineSpec]
1694
1731
  attr_accessor :resolved_pipeline_spec
1695
1732
 
1733
+ # Optional. Output only. List of results written out by the pipeline's
1734
+ # containers
1735
+ # Corresponds to the JSON property `results`
1736
+ # @return [Array<Google::Apis::CloudbuildV2::PipelineRunResult>]
1737
+ attr_accessor :results
1738
+
1696
1739
  # Security configuration.
1697
1740
  # Corresponds to the JSON property `security`
1698
1741
  # @return [Google::Apis::CloudbuildV2::Security]
@@ -1773,6 +1816,7 @@ module Google
1773
1816
  @provenance = args[:provenance] if args.key?(:provenance)
1774
1817
  @record = args[:record] if args.key?(:record)
1775
1818
  @resolved_pipeline_spec = args[:resolved_pipeline_spec] if args.key?(:resolved_pipeline_spec)
1819
+ @results = args[:results] if args.key?(:results)
1776
1820
  @security = args[:security] if args.key?(:security)
1777
1821
  @service_account = args[:service_account] if args.key?(:service_account)
1778
1822
  @skipped_tasks = args[:skipped_tasks] if args.key?(:skipped_tasks)
@@ -1787,6 +1831,31 @@ module Google
1787
1831
  end
1788
1832
  end
1789
1833
 
1834
+ # PipelineRunResult used to describe the results of a pipeline
1835
+ class PipelineRunResult
1836
+ include Google::Apis::Core::Hashable
1837
+
1838
+ # Output only. Name of the TaskRun
1839
+ # Corresponds to the JSON property `name`
1840
+ # @return [String]
1841
+ attr_accessor :name
1842
+
1843
+ # ResultValue holds different types of data for a single result.
1844
+ # Corresponds to the JSON property `value`
1845
+ # @return [Google::Apis::CloudbuildV2::ResultValue]
1846
+ attr_accessor :value
1847
+
1848
+ def initialize(**args)
1849
+ update!(**args)
1850
+ end
1851
+
1852
+ # Update properties of this object
1853
+ def update!(**args)
1854
+ @name = args[:name] if args.key?(:name)
1855
+ @value = args[:value] if args.key?(:value)
1856
+ end
1857
+ end
1858
+
1790
1859
  # PipelineSpec defines the desired state of Pipeline.
1791
1860
  class PipelineSpec
1792
1861
  include Google::Apis::Core::Hashable
@@ -1809,6 +1878,12 @@ module Google
1809
1878
  # @return [Array<Google::Apis::CloudbuildV2::ParamSpec>]
1810
1879
  attr_accessor :params
1811
1880
 
1881
+ # Optional. Output only. List of results written out by the pipeline's
1882
+ # containers
1883
+ # Corresponds to the JSON property `results`
1884
+ # @return [Array<Google::Apis::CloudbuildV2::PipelineResult>]
1885
+ attr_accessor :results
1886
+
1812
1887
  # List of Tasks that execute when this Pipeline is run.
1813
1888
  # Corresponds to the JSON property `tasks`
1814
1889
  # @return [Array<Google::Apis::CloudbuildV2::PipelineTask>]
@@ -1829,6 +1904,7 @@ module Google
1829
1904
  @finally_tasks = args[:finally_tasks] if args.key?(:finally_tasks)
1830
1905
  @generated_yaml = args[:generated_yaml] if args.key?(:generated_yaml)
1831
1906
  @params = args[:params] if args.key?(:params)
1907
+ @results = args[:results] if args.key?(:results)
1832
1908
  @tasks = args[:tasks] if args.key?(:tasks)
1833
1909
  @workspaces = args[:workspaces] if args.key?(:workspaces)
1834
1910
  end
@@ -2171,6 +2247,43 @@ module Google
2171
2247
  end
2172
2248
  end
2173
2249
 
2250
+ # ResultValue holds different types of data for a single result.
2251
+ class ResultValue
2252
+ include Google::Apis::Core::Hashable
2253
+
2254
+ # Value of the result if type is array.
2255
+ # Corresponds to the JSON property `arrayVal`
2256
+ # @return [Array<String>]
2257
+ attr_accessor :array_val
2258
+
2259
+ # Value of the result if type is object.
2260
+ # Corresponds to the JSON property `objectVal`
2261
+ # @return [Hash<String,String>]
2262
+ attr_accessor :object_val
2263
+
2264
+ # Value of the result if type is string.
2265
+ # Corresponds to the JSON property `stringVal`
2266
+ # @return [String]
2267
+ attr_accessor :string_val
2268
+
2269
+ # Output only. The type of data that the result holds.
2270
+ # Corresponds to the JSON property `type`
2271
+ # @return [String]
2272
+ attr_accessor :type
2273
+
2274
+ def initialize(**args)
2275
+ update!(**args)
2276
+ end
2277
+
2278
+ # Update properties of this object
2279
+ def update!(**args)
2280
+ @array_val = args[:array_val] if args.key?(:array_val)
2281
+ @object_val = args[:object_val] if args.key?(:object_val)
2282
+ @string_val = args[:string_val] if args.key?(:string_val)
2283
+ @type = args[:type] if args.key?(:type)
2284
+ end
2285
+ end
2286
+
2174
2287
  # Represents the custom metadata of the RunWorkflow long-running operation.
2175
2288
  class RunWorkflowCustomOperationMetadata
2176
2289
  include Google::Apis::Core::Hashable
@@ -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.13.0"
19
+ GEM_VERSION = "0.14.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 = "20240223"
25
+ REVISION = "20240305"
26
26
  end
27
27
  end
28
28
  end
@@ -280,12 +280,24 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
+ class PipelineResult
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
283
289
  class PipelineRun
284
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
291
 
286
292
  include Google::Apis::Core::JsonObjectSupport
287
293
  end
288
294
 
295
+ class PipelineRunResult
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
289
301
  class PipelineSpec
290
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
303
 
@@ -334,6 +346,12 @@ module Google
334
346
  include Google::Apis::Core::JsonObjectSupport
335
347
  end
336
348
 
349
+ class ResultValue
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
337
355
  class RunWorkflowCustomOperationMetadata
338
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
357
 
@@ -902,6 +920,17 @@ module Google
902
920
  end
903
921
  end
904
922
 
923
+ class PipelineResult
924
+ # @private
925
+ class Representation < Google::Apis::Core::JsonRepresentation
926
+ property :description, as: 'description'
927
+ property :name, as: 'name'
928
+ property :type, as: 'type'
929
+ property :value, as: 'value', class: Google::Apis::CloudbuildV2::ResultValue, decorator: Google::Apis::CloudbuildV2::ResultValue::Representation
930
+
931
+ end
932
+ end
933
+
905
934
  class PipelineRun
906
935
  # @private
907
936
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -928,6 +957,8 @@ module Google
928
957
  property :record, as: 'record'
929
958
  property :resolved_pipeline_spec, as: 'resolvedPipelineSpec', class: Google::Apis::CloudbuildV2::PipelineSpec, decorator: Google::Apis::CloudbuildV2::PipelineSpec::Representation
930
959
 
960
+ collection :results, as: 'results', class: Google::Apis::CloudbuildV2::PipelineRunResult, decorator: Google::Apis::CloudbuildV2::PipelineRunResult::Representation
961
+
931
962
  property :security, as: 'security', class: Google::Apis::CloudbuildV2::Security, decorator: Google::Apis::CloudbuildV2::Security::Representation
932
963
 
933
964
  property :service_account, as: 'serviceAccount'
@@ -947,6 +978,15 @@ module Google
947
978
  end
948
979
  end
949
980
 
981
+ class PipelineRunResult
982
+ # @private
983
+ class Representation < Google::Apis::Core::JsonRepresentation
984
+ property :name, as: 'name'
985
+ property :value, as: 'value', class: Google::Apis::CloudbuildV2::ResultValue, decorator: Google::Apis::CloudbuildV2::ResultValue::Representation
986
+
987
+ end
988
+ end
989
+
950
990
  class PipelineSpec
951
991
  # @private
952
992
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -955,6 +995,8 @@ module Google
955
995
  property :generated_yaml, as: 'generatedYaml'
956
996
  collection :params, as: 'params', class: Google::Apis::CloudbuildV2::ParamSpec, decorator: Google::Apis::CloudbuildV2::ParamSpec::Representation
957
997
 
998
+ collection :results, as: 'results', class: Google::Apis::CloudbuildV2::PipelineResult, decorator: Google::Apis::CloudbuildV2::PipelineResult::Representation
999
+
958
1000
  collection :tasks, as: 'tasks', class: Google::Apis::CloudbuildV2::PipelineTask, decorator: Google::Apis::CloudbuildV2::PipelineTask::Representation
959
1001
 
960
1002
  collection :workspaces, as: 'workspaces', class: Google::Apis::CloudbuildV2::PipelineWorkspaceDeclaration, decorator: Google::Apis::CloudbuildV2::PipelineWorkspaceDeclaration::Representation
@@ -1041,6 +1083,16 @@ module Google
1041
1083
  end
1042
1084
  end
1043
1085
 
1086
+ class ResultValue
1087
+ # @private
1088
+ class Representation < Google::Apis::Core::JsonRepresentation
1089
+ collection :array_val, as: 'arrayVal'
1090
+ hash :object_val, as: 'objectVal'
1091
+ property :string_val, as: 'stringVal'
1092
+ property :type, as: 'type'
1093
+ end
1094
+ end
1095
+
1044
1096
  class RunWorkflowCustomOperationMetadata
1045
1097
  # @private
1046
1098
  class Representation < Google::Apis::Core::JsonRepresentation
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.13.0
4
+ version: 0.14.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-03 00:00:00.000000000 Z
11
+ date: 2024-03-10 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.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v2/v0.14.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: []