google-apis-cloudbuild_v2 0.13.0 → 0.15.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: 87c916dfce5ed6789bc288c7383ac7cd23f22759accc0d99cd77639464fcb377
4
+ data.tar.gz: 1636867af3c50fd9c1306899abbc346d5f3bbcc3112c5b041943de51e7369082
5
5
  SHA512:
6
- metadata.gz: dae0de2c69a715a6b86336f50dcd4bec0536d2d9022e0c526ce42d1cd43195438a956aa18c047babc6e11e7f7a20f35df7e722afae924b1c9c3902f8f02e8a61
7
- data.tar.gz: 0bf82cb791767d3134f8205760c2e204fd599457f35e864daed73398798fea2446c73ffadae420b8cb5bccf43639a7450c530d1df83ca382ba41dc6bb235dc8c
6
+ metadata.gz: 0aa4bfad4d734bdcde6ca69d7f5eec89954349f78e19f78451462fa9dc0dd6a21b276634be92f18fb616272b981abf546963979f66f4b3e8b467e58ccc76bb6c
7
+ data.tar.gz: '074946f3b9adbe32acce7baf60b7798b7fcc41a67676fdf8cc9c652e5e35cbf06c204040e699fac8d190534901897653524bfd64309090c7ba883615eb1a6aab'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudbuild_v2
2
2
 
3
+ ### v0.15.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240310
6
+
7
+ ### v0.14.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240305
10
+
3
11
  ### v0.13.0 (2024-03-03)
4
12
 
5
13
  * 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,12 +1730,19 @@ 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]
1699
1742
  attr_accessor :security
1700
1743
 
1701
- # Service account used in the Pipeline.
1744
+ # Service account used in the Pipeline. Deprecated; please use security.
1745
+ # service_account instead.
1702
1746
  # Corresponds to the JSON property `serviceAccount`
1703
1747
  # @return [String]
1704
1748
  attr_accessor :service_account
@@ -1773,6 +1817,7 @@ module Google
1773
1817
  @provenance = args[:provenance] if args.key?(:provenance)
1774
1818
  @record = args[:record] if args.key?(:record)
1775
1819
  @resolved_pipeline_spec = args[:resolved_pipeline_spec] if args.key?(:resolved_pipeline_spec)
1820
+ @results = args[:results] if args.key?(:results)
1776
1821
  @security = args[:security] if args.key?(:security)
1777
1822
  @service_account = args[:service_account] if args.key?(:service_account)
1778
1823
  @skipped_tasks = args[:skipped_tasks] if args.key?(:skipped_tasks)
@@ -1787,6 +1832,31 @@ module Google
1787
1832
  end
1788
1833
  end
1789
1834
 
1835
+ # PipelineRunResult used to describe the results of a pipeline
1836
+ class PipelineRunResult
1837
+ include Google::Apis::Core::Hashable
1838
+
1839
+ # Output only. Name of the TaskRun
1840
+ # Corresponds to the JSON property `name`
1841
+ # @return [String]
1842
+ attr_accessor :name
1843
+
1844
+ # ResultValue holds different types of data for a single result.
1845
+ # Corresponds to the JSON property `value`
1846
+ # @return [Google::Apis::CloudbuildV2::ResultValue]
1847
+ attr_accessor :value
1848
+
1849
+ def initialize(**args)
1850
+ update!(**args)
1851
+ end
1852
+
1853
+ # Update properties of this object
1854
+ def update!(**args)
1855
+ @name = args[:name] if args.key?(:name)
1856
+ @value = args[:value] if args.key?(:value)
1857
+ end
1858
+ end
1859
+
1790
1860
  # PipelineSpec defines the desired state of Pipeline.
1791
1861
  class PipelineSpec
1792
1862
  include Google::Apis::Core::Hashable
@@ -1809,6 +1879,12 @@ module Google
1809
1879
  # @return [Array<Google::Apis::CloudbuildV2::ParamSpec>]
1810
1880
  attr_accessor :params
1811
1881
 
1882
+ # Optional. Output only. List of results written out by the pipeline's
1883
+ # containers
1884
+ # Corresponds to the JSON property `results`
1885
+ # @return [Array<Google::Apis::CloudbuildV2::PipelineResult>]
1886
+ attr_accessor :results
1887
+
1812
1888
  # List of Tasks that execute when this Pipeline is run.
1813
1889
  # Corresponds to the JSON property `tasks`
1814
1890
  # @return [Array<Google::Apis::CloudbuildV2::PipelineTask>]
@@ -1829,6 +1905,7 @@ module Google
1829
1905
  @finally_tasks = args[:finally_tasks] if args.key?(:finally_tasks)
1830
1906
  @generated_yaml = args[:generated_yaml] if args.key?(:generated_yaml)
1831
1907
  @params = args[:params] if args.key?(:params)
1908
+ @results = args[:results] if args.key?(:results)
1832
1909
  @tasks = args[:tasks] if args.key?(:tasks)
1833
1910
  @workspaces = args[:workspaces] if args.key?(:workspaces)
1834
1911
  end
@@ -2171,6 +2248,43 @@ module Google
2171
2248
  end
2172
2249
  end
2173
2250
 
2251
+ # ResultValue holds different types of data for a single result.
2252
+ class ResultValue
2253
+ include Google::Apis::Core::Hashable
2254
+
2255
+ # Value of the result if type is array.
2256
+ # Corresponds to the JSON property `arrayVal`
2257
+ # @return [Array<String>]
2258
+ attr_accessor :array_val
2259
+
2260
+ # Value of the result if type is object.
2261
+ # Corresponds to the JSON property `objectVal`
2262
+ # @return [Hash<String,String>]
2263
+ attr_accessor :object_val
2264
+
2265
+ # Value of the result if type is string.
2266
+ # Corresponds to the JSON property `stringVal`
2267
+ # @return [String]
2268
+ attr_accessor :string_val
2269
+
2270
+ # Output only. The type of data that the result holds.
2271
+ # Corresponds to the JSON property `type`
2272
+ # @return [String]
2273
+ attr_accessor :type
2274
+
2275
+ def initialize(**args)
2276
+ update!(**args)
2277
+ end
2278
+
2279
+ # Update properties of this object
2280
+ def update!(**args)
2281
+ @array_val = args[:array_val] if args.key?(:array_val)
2282
+ @object_val = args[:object_val] if args.key?(:object_val)
2283
+ @string_val = args[:string_val] if args.key?(:string_val)
2284
+ @type = args[:type] if args.key?(:type)
2285
+ end
2286
+ end
2287
+
2174
2288
  # Represents the custom metadata of the RunWorkflow long-running operation.
2175
2289
  class RunWorkflowCustomOperationMetadata
2176
2290
  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.15.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 = "20240310"
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.15.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-17 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.15.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: []