google-apis-cloudbuild_v2 0.12.0 → 0.14.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bdc345c707a636a87c427590b9c0691cbd06f8031280f535f0825d3c18307fe
|
4
|
+
data.tar.gz: 9ae4c023755a5951c85b3c3bb7ca8c18172cfbec9bdc7a55320aff5dcc7ecd47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bd461e05ec300db8409750aae3303a77f74f23619e812f3fab96811af2e03a666e5bf4551abc76de6ac446eba9f0b320f8aa5839c6c3a6c815327ab4bc7c9d7
|
7
|
+
data.tar.gz: da2aa831c51ffaeb7b4e8363d379fae95a6fd3ad5184239db4e77e8b674c428c563d1dd703e7c31a1f7316808ded29ccf206724e31103a6c20019085f3aaf363
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
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
|
+
|
7
|
+
### v0.13.0 (2024-03-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240223
|
10
|
+
* Regenerated using generator version 0.14.0
|
11
|
+
|
3
12
|
### v0.12.0 (2024-02-23)
|
4
13
|
|
5
14
|
* Unspecified changes
|
@@ -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
|
@@ -2893,25 +3006,6 @@ module Google
|
|
2893
3006
|
end
|
2894
3007
|
end
|
2895
3008
|
|
2896
|
-
# VolumeClaim is a user's request for a volume.
|
2897
|
-
class VolumeClaim
|
2898
|
-
include Google::Apis::Core::Hashable
|
2899
|
-
|
2900
|
-
# Volume size, e.g. 1gb.
|
2901
|
-
# Corresponds to the JSON property `storage`
|
2902
|
-
# @return [String]
|
2903
|
-
attr_accessor :storage
|
2904
|
-
|
2905
|
-
def initialize(**args)
|
2906
|
-
update!(**args)
|
2907
|
-
end
|
2908
|
-
|
2909
|
-
# Update properties of this object
|
2910
|
-
def update!(**args)
|
2911
|
-
@storage = args[:storage] if args.key?(:storage)
|
2912
|
-
end
|
2913
|
-
end
|
2914
|
-
|
2915
3009
|
# Pod volumes to mount into the container's filesystem.
|
2916
3010
|
class VolumeMount
|
2917
3011
|
include Google::Apis::Core::Hashable
|
@@ -3061,11 +3155,6 @@ module Google
|
|
3061
3155
|
# @return [String]
|
3062
3156
|
attr_accessor :sub_path
|
3063
3157
|
|
3064
|
-
# VolumeClaim is a user's request for a volume.
|
3065
|
-
# Corresponds to the JSON property `volumeClaim`
|
3066
|
-
# @return [Google::Apis::CloudbuildV2::VolumeClaim]
|
3067
|
-
attr_accessor :volume_claim
|
3068
|
-
|
3069
3158
|
def initialize(**args)
|
3070
3159
|
update!(**args)
|
3071
3160
|
end
|
@@ -3075,7 +3164,6 @@ module Google
|
|
3075
3164
|
@name = args[:name] if args.key?(:name)
|
3076
3165
|
@secret = args[:secret] if args.key?(:secret)
|
3077
3166
|
@sub_path = args[:sub_path] if args.key?(:sub_path)
|
3078
|
-
@volume_claim = args[:volume_claim] if args.key?(:volume_claim)
|
3079
3167
|
end
|
3080
3168
|
end
|
3081
3169
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
|
@@ -436,12 +454,6 @@ module Google
|
|
436
454
|
include Google::Apis::Core::JsonObjectSupport
|
437
455
|
end
|
438
456
|
|
439
|
-
class VolumeClaim
|
440
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
-
|
442
|
-
include Google::Apis::Core::JsonObjectSupport
|
443
|
-
end
|
444
|
-
|
445
457
|
class VolumeMount
|
446
458
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
459
|
|
@@ -908,6 +920,17 @@ module Google
|
|
908
920
|
end
|
909
921
|
end
|
910
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
|
+
|
911
934
|
class PipelineRun
|
912
935
|
# @private
|
913
936
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -934,6 +957,8 @@ module Google
|
|
934
957
|
property :record, as: 'record'
|
935
958
|
property :resolved_pipeline_spec, as: 'resolvedPipelineSpec', class: Google::Apis::CloudbuildV2::PipelineSpec, decorator: Google::Apis::CloudbuildV2::PipelineSpec::Representation
|
936
959
|
|
960
|
+
collection :results, as: 'results', class: Google::Apis::CloudbuildV2::PipelineRunResult, decorator: Google::Apis::CloudbuildV2::PipelineRunResult::Representation
|
961
|
+
|
937
962
|
property :security, as: 'security', class: Google::Apis::CloudbuildV2::Security, decorator: Google::Apis::CloudbuildV2::Security::Representation
|
938
963
|
|
939
964
|
property :service_account, as: 'serviceAccount'
|
@@ -953,6 +978,15 @@ module Google
|
|
953
978
|
end
|
954
979
|
end
|
955
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
|
+
|
956
990
|
class PipelineSpec
|
957
991
|
# @private
|
958
992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -961,6 +995,8 @@ module Google
|
|
961
995
|
property :generated_yaml, as: 'generatedYaml'
|
962
996
|
collection :params, as: 'params', class: Google::Apis::CloudbuildV2::ParamSpec, decorator: Google::Apis::CloudbuildV2::ParamSpec::Representation
|
963
997
|
|
998
|
+
collection :results, as: 'results', class: Google::Apis::CloudbuildV2::PipelineResult, decorator: Google::Apis::CloudbuildV2::PipelineResult::Representation
|
999
|
+
|
964
1000
|
collection :tasks, as: 'tasks', class: Google::Apis::CloudbuildV2::PipelineTask, decorator: Google::Apis::CloudbuildV2::PipelineTask::Representation
|
965
1001
|
|
966
1002
|
collection :workspaces, as: 'workspaces', class: Google::Apis::CloudbuildV2::PipelineWorkspaceDeclaration, decorator: Google::Apis::CloudbuildV2::PipelineWorkspaceDeclaration::Representation
|
@@ -1047,6 +1083,16 @@ module Google
|
|
1047
1083
|
end
|
1048
1084
|
end
|
1049
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
|
+
|
1050
1096
|
class RunWorkflowCustomOperationMetadata
|
1051
1097
|
# @private
|
1052
1098
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1240,13 +1286,6 @@ module Google
|
|
1240
1286
|
end
|
1241
1287
|
end
|
1242
1288
|
|
1243
|
-
class VolumeClaim
|
1244
|
-
# @private
|
1245
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1246
|
-
property :storage, as: 'storage'
|
1247
|
-
end
|
1248
|
-
end
|
1249
|
-
|
1250
1289
|
class VolumeMount
|
1251
1290
|
# @private
|
1252
1291
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1290,8 +1329,6 @@ module Google
|
|
1290
1329
|
property :secret, as: 'secret', class: Google::Apis::CloudbuildV2::SecretVolumeSource, decorator: Google::Apis::CloudbuildV2::SecretVolumeSource::Representation
|
1291
1330
|
|
1292
1331
|
property :sub_path, as: 'subPath'
|
1293
|
-
property :volume_claim, as: 'volumeClaim', class: Google::Apis::CloudbuildV2::VolumeClaim, decorator: Google::Apis::CloudbuildV2::VolumeClaim::Representation
|
1294
|
-
|
1295
1332
|
end
|
1296
1333
|
end
|
1297
1334
|
|
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.
|
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-
|
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.
|
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: []
|