google-apis-cloudbuild_v2 0.36.0 → 0.37.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/cloudbuild_v2/classes.rb +197 -197
- data/lib/google/apis/cloudbuild_v2/gem_version.rb +2 -2
- data/lib/google/apis/cloudbuild_v2/representations.rb +54 -54
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7d6b64fbbbf9d66309454d7162a1dd752bd4599b6f41413a5c647dd3c99bf731
|
|
4
|
+
data.tar.gz: bb8af6ace9fe84d70cfa0830f7be90d60238e3c051cc4678d2a0fd2e31f8be35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1e82d3f348000c0f110d150967c3a11578bde0fcaa3679314b214d6969daa049b781e1a3b5f52cba8eb626ca78564b7a8751b201805def8d4cee5be8970b02b
|
|
7
|
+
data.tar.gz: db83584b9366fd90fc758ec1e2de736700575339224da4155848b49c59390087ca65320687b19b43ee311e0d0fdbb15b68b418a1afbb3e33a1db101f9976c013
|
data/CHANGELOG.md
CHANGED
|
@@ -1077,6 +1077,203 @@ module Google
|
|
|
1077
1077
|
end
|
|
1078
1078
|
end
|
|
1079
1079
|
|
|
1080
|
+
# Message describing PipelineRun object
|
|
1081
|
+
class GoogleDevtoolsCloudbuildV2PipelineRun
|
|
1082
|
+
include Google::Apis::Core::Hashable
|
|
1083
|
+
|
|
1084
|
+
# User annotations. See https://google.aip.dev/128#annotations
|
|
1085
|
+
# Corresponds to the JSON property `annotations`
|
|
1086
|
+
# @return [Hash<String,String>]
|
|
1087
|
+
attr_accessor :annotations
|
|
1088
|
+
|
|
1089
|
+
# Output only. List of TaskRun and Run names and PipelineTask names for children
|
|
1090
|
+
# of this PipelineRun.
|
|
1091
|
+
# Corresponds to the JSON property `childReferences`
|
|
1092
|
+
# @return [Array<Google::Apis::CloudbuildV2::ChildStatusReference>]
|
|
1093
|
+
attr_accessor :child_references
|
|
1094
|
+
|
|
1095
|
+
# Output only. Time the pipeline completed.
|
|
1096
|
+
# Corresponds to the JSON property `completionTime`
|
|
1097
|
+
# @return [String]
|
|
1098
|
+
attr_accessor :completion_time
|
|
1099
|
+
|
|
1100
|
+
# Output only. Kubernetes Conditions convention for PipelineRun status and error.
|
|
1101
|
+
# Corresponds to the JSON property `conditions`
|
|
1102
|
+
# @return [Array<Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2Condition>]
|
|
1103
|
+
attr_accessor :conditions
|
|
1104
|
+
|
|
1105
|
+
# Output only. Time at which the request to create the `PipelineRun` was
|
|
1106
|
+
# received.
|
|
1107
|
+
# Corresponds to the JSON property `createTime`
|
|
1108
|
+
# @return [String]
|
|
1109
|
+
attr_accessor :create_time
|
|
1110
|
+
|
|
1111
|
+
# Needed for declarative-friendly resources.
|
|
1112
|
+
# Corresponds to the JSON property `etag`
|
|
1113
|
+
# @return [String]
|
|
1114
|
+
attr_accessor :etag
|
|
1115
|
+
|
|
1116
|
+
# Output only. FinallyStartTime is when all non-finally tasks have been
|
|
1117
|
+
# completed and only finally tasks are being executed. +optional
|
|
1118
|
+
# Corresponds to the JSON property `finallyStartTime`
|
|
1119
|
+
# @return [String]
|
|
1120
|
+
attr_accessor :finally_start_time
|
|
1121
|
+
|
|
1122
|
+
# Output only. GCB default params.
|
|
1123
|
+
# Corresponds to the JSON property `gcbParams`
|
|
1124
|
+
# @return [Hash<String,String>]
|
|
1125
|
+
attr_accessor :gcb_params
|
|
1126
|
+
|
|
1127
|
+
# Output only. The `PipelineRun` name with format `projects/`project`/locations/`
|
|
1128
|
+
# location`/pipelineRuns/`pipeline_run``
|
|
1129
|
+
# Corresponds to the JSON property `name`
|
|
1130
|
+
# @return [String]
|
|
1131
|
+
attr_accessor :name
|
|
1132
|
+
|
|
1133
|
+
# Params is a list of parameter names and values.
|
|
1134
|
+
# Corresponds to the JSON property `params`
|
|
1135
|
+
# @return [Array<Google::Apis::CloudbuildV2::Param>]
|
|
1136
|
+
attr_accessor :params
|
|
1137
|
+
|
|
1138
|
+
# PipelineRef can be used to refer to a specific instance of a Pipeline.
|
|
1139
|
+
# Corresponds to the JSON property `pipelineRef`
|
|
1140
|
+
# @return [Google::Apis::CloudbuildV2::PipelineRef]
|
|
1141
|
+
attr_accessor :pipeline_ref
|
|
1142
|
+
|
|
1143
|
+
# Pipelinerun status the user can provide. Used for cancellation.
|
|
1144
|
+
# Corresponds to the JSON property `pipelineRunStatus`
|
|
1145
|
+
# @return [String]
|
|
1146
|
+
attr_accessor :pipeline_run_status
|
|
1147
|
+
|
|
1148
|
+
# PipelineSpec defines the desired state of Pipeline.
|
|
1149
|
+
# Corresponds to the JSON property `pipelineSpec`
|
|
1150
|
+
# @return [Google::Apis::CloudbuildV2::PipelineSpec]
|
|
1151
|
+
attr_accessor :pipeline_spec
|
|
1152
|
+
|
|
1153
|
+
# Output only. Inline pipelineSpec yaml string, used by workflow run requests.
|
|
1154
|
+
# Corresponds to the JSON property `pipelineSpecYaml`
|
|
1155
|
+
# @return [String]
|
|
1156
|
+
attr_accessor :pipeline_spec_yaml
|
|
1157
|
+
|
|
1158
|
+
# Provenance configuration.
|
|
1159
|
+
# Corresponds to the JSON property `provenance`
|
|
1160
|
+
# @return [Google::Apis::CloudbuildV2::Provenance]
|
|
1161
|
+
attr_accessor :provenance
|
|
1162
|
+
|
|
1163
|
+
# Output only. The `Record` of this `PipelineRun`. Format: `projects/`project`/
|
|
1164
|
+
# locations/`location`/results/`result_id`/records/`record_id``
|
|
1165
|
+
# Corresponds to the JSON property `record`
|
|
1166
|
+
# @return [String]
|
|
1167
|
+
attr_accessor :record
|
|
1168
|
+
|
|
1169
|
+
# PipelineSpec defines the desired state of Pipeline.
|
|
1170
|
+
# Corresponds to the JSON property `resolvedPipelineSpec`
|
|
1171
|
+
# @return [Google::Apis::CloudbuildV2::PipelineSpec]
|
|
1172
|
+
attr_accessor :resolved_pipeline_spec
|
|
1173
|
+
|
|
1174
|
+
# Optional. Output only. List of results written out by the pipeline's
|
|
1175
|
+
# containers
|
|
1176
|
+
# Corresponds to the JSON property `results`
|
|
1177
|
+
# @return [Array<Google::Apis::CloudbuildV2::PipelineRunResult>]
|
|
1178
|
+
attr_accessor :results
|
|
1179
|
+
|
|
1180
|
+
# Security configuration.
|
|
1181
|
+
# Corresponds to the JSON property `security`
|
|
1182
|
+
# @return [Google::Apis::CloudbuildV2::Security]
|
|
1183
|
+
attr_accessor :security
|
|
1184
|
+
|
|
1185
|
+
# Service account used in the Pipeline. Deprecated; please use security.
|
|
1186
|
+
# service_account instead.
|
|
1187
|
+
# Corresponds to the JSON property `serviceAccount`
|
|
1188
|
+
# @return [String]
|
|
1189
|
+
attr_accessor :service_account
|
|
1190
|
+
|
|
1191
|
+
# Output only. List of tasks that were skipped due to when expressions
|
|
1192
|
+
# evaluating to false.
|
|
1193
|
+
# Corresponds to the JSON property `skippedTasks`
|
|
1194
|
+
# @return [Array<Google::Apis::CloudbuildV2::SkippedTask>]
|
|
1195
|
+
attr_accessor :skipped_tasks
|
|
1196
|
+
|
|
1197
|
+
# Output only. Time the pipeline is actually started.
|
|
1198
|
+
# Corresponds to the JSON property `startTime`
|
|
1199
|
+
# @return [String]
|
|
1200
|
+
attr_accessor :start_time
|
|
1201
|
+
|
|
1202
|
+
# TimeoutFields allows granular specification of pipeline, task, and finally
|
|
1203
|
+
# timeouts
|
|
1204
|
+
# Corresponds to the JSON property `timeouts`
|
|
1205
|
+
# @return [Google::Apis::CloudbuildV2::TimeoutFields]
|
|
1206
|
+
attr_accessor :timeouts
|
|
1207
|
+
|
|
1208
|
+
# Output only. A unique identifier for the `PipelineRun`.
|
|
1209
|
+
# Corresponds to the JSON property `uid`
|
|
1210
|
+
# @return [String]
|
|
1211
|
+
attr_accessor :uid
|
|
1212
|
+
|
|
1213
|
+
# Output only. Time at which the request to update the `PipelineRun` was
|
|
1214
|
+
# received.
|
|
1215
|
+
# Corresponds to the JSON property `updateTime`
|
|
1216
|
+
# @return [String]
|
|
1217
|
+
attr_accessor :update_time
|
|
1218
|
+
|
|
1219
|
+
# Configuration for the worker.
|
|
1220
|
+
# Corresponds to the JSON property `worker`
|
|
1221
|
+
# @return [Google::Apis::CloudbuildV2::Worker]
|
|
1222
|
+
attr_accessor :worker
|
|
1223
|
+
|
|
1224
|
+
# Output only. The WorkerPool used to run this PipelineRun.
|
|
1225
|
+
# Corresponds to the JSON property `workerPool`
|
|
1226
|
+
# @return [String]
|
|
1227
|
+
attr_accessor :worker_pool
|
|
1228
|
+
|
|
1229
|
+
# Output only. The Workflow used to create this PipelineRun.
|
|
1230
|
+
# Corresponds to the JSON property `workflow`
|
|
1231
|
+
# @return [String]
|
|
1232
|
+
attr_accessor :workflow
|
|
1233
|
+
|
|
1234
|
+
# Workspaces is a list of WorkspaceBindings from volumes to workspaces.
|
|
1235
|
+
# Corresponds to the JSON property `workspaces`
|
|
1236
|
+
# @return [Array<Google::Apis::CloudbuildV2::WorkspaceBinding>]
|
|
1237
|
+
attr_accessor :workspaces
|
|
1238
|
+
|
|
1239
|
+
def initialize(**args)
|
|
1240
|
+
update!(**args)
|
|
1241
|
+
end
|
|
1242
|
+
|
|
1243
|
+
# Update properties of this object
|
|
1244
|
+
def update!(**args)
|
|
1245
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
|
1246
|
+
@child_references = args[:child_references] if args.key?(:child_references)
|
|
1247
|
+
@completion_time = args[:completion_time] if args.key?(:completion_time)
|
|
1248
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
|
1249
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1250
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1251
|
+
@finally_start_time = args[:finally_start_time] if args.key?(:finally_start_time)
|
|
1252
|
+
@gcb_params = args[:gcb_params] if args.key?(:gcb_params)
|
|
1253
|
+
@name = args[:name] if args.key?(:name)
|
|
1254
|
+
@params = args[:params] if args.key?(:params)
|
|
1255
|
+
@pipeline_ref = args[:pipeline_ref] if args.key?(:pipeline_ref)
|
|
1256
|
+
@pipeline_run_status = args[:pipeline_run_status] if args.key?(:pipeline_run_status)
|
|
1257
|
+
@pipeline_spec = args[:pipeline_spec] if args.key?(:pipeline_spec)
|
|
1258
|
+
@pipeline_spec_yaml = args[:pipeline_spec_yaml] if args.key?(:pipeline_spec_yaml)
|
|
1259
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
|
1260
|
+
@record = args[:record] if args.key?(:record)
|
|
1261
|
+
@resolved_pipeline_spec = args[:resolved_pipeline_spec] if args.key?(:resolved_pipeline_spec)
|
|
1262
|
+
@results = args[:results] if args.key?(:results)
|
|
1263
|
+
@security = args[:security] if args.key?(:security)
|
|
1264
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
|
1265
|
+
@skipped_tasks = args[:skipped_tasks] if args.key?(:skipped_tasks)
|
|
1266
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1267
|
+
@timeouts = args[:timeouts] if args.key?(:timeouts)
|
|
1268
|
+
@uid = args[:uid] if args.key?(:uid)
|
|
1269
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1270
|
+
@worker = args[:worker] if args.key?(:worker)
|
|
1271
|
+
@worker_pool = args[:worker_pool] if args.key?(:worker_pool)
|
|
1272
|
+
@workflow = args[:workflow] if args.key?(:workflow)
|
|
1273
|
+
@workspaces = args[:workspaces] if args.key?(:workspaces)
|
|
1274
|
+
end
|
|
1275
|
+
end
|
|
1276
|
+
|
|
1080
1277
|
# ServiceDirectoryConfig represents Service Directory configuration for a
|
|
1081
1278
|
# connection.
|
|
1082
1279
|
class GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
|
|
@@ -1634,203 +1831,6 @@ module Google
|
|
|
1634
1831
|
end
|
|
1635
1832
|
end
|
|
1636
1833
|
|
|
1637
|
-
# Message describing PipelineRun object
|
|
1638
|
-
class PipelineRun
|
|
1639
|
-
include Google::Apis::Core::Hashable
|
|
1640
|
-
|
|
1641
|
-
# User annotations. See https://google.aip.dev/128#annotations
|
|
1642
|
-
# Corresponds to the JSON property `annotations`
|
|
1643
|
-
# @return [Hash<String,String>]
|
|
1644
|
-
attr_accessor :annotations
|
|
1645
|
-
|
|
1646
|
-
# Output only. List of TaskRun and Run names and PipelineTask names for children
|
|
1647
|
-
# of this PipelineRun.
|
|
1648
|
-
# Corresponds to the JSON property `childReferences`
|
|
1649
|
-
# @return [Array<Google::Apis::CloudbuildV2::ChildStatusReference>]
|
|
1650
|
-
attr_accessor :child_references
|
|
1651
|
-
|
|
1652
|
-
# Output only. Time the pipeline completed.
|
|
1653
|
-
# Corresponds to the JSON property `completionTime`
|
|
1654
|
-
# @return [String]
|
|
1655
|
-
attr_accessor :completion_time
|
|
1656
|
-
|
|
1657
|
-
# Output only. Kubernetes Conditions convention for PipelineRun status and error.
|
|
1658
|
-
# Corresponds to the JSON property `conditions`
|
|
1659
|
-
# @return [Array<Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2Condition>]
|
|
1660
|
-
attr_accessor :conditions
|
|
1661
|
-
|
|
1662
|
-
# Output only. Time at which the request to create the `PipelineRun` was
|
|
1663
|
-
# received.
|
|
1664
|
-
# Corresponds to the JSON property `createTime`
|
|
1665
|
-
# @return [String]
|
|
1666
|
-
attr_accessor :create_time
|
|
1667
|
-
|
|
1668
|
-
# Needed for declarative-friendly resources.
|
|
1669
|
-
# Corresponds to the JSON property `etag`
|
|
1670
|
-
# @return [String]
|
|
1671
|
-
attr_accessor :etag
|
|
1672
|
-
|
|
1673
|
-
# Output only. FinallyStartTime is when all non-finally tasks have been
|
|
1674
|
-
# completed and only finally tasks are being executed. +optional
|
|
1675
|
-
# Corresponds to the JSON property `finallyStartTime`
|
|
1676
|
-
# @return [String]
|
|
1677
|
-
attr_accessor :finally_start_time
|
|
1678
|
-
|
|
1679
|
-
# Output only. GCB default params.
|
|
1680
|
-
# Corresponds to the JSON property `gcbParams`
|
|
1681
|
-
# @return [Hash<String,String>]
|
|
1682
|
-
attr_accessor :gcb_params
|
|
1683
|
-
|
|
1684
|
-
# Output only. The `PipelineRun` name with format `projects/`project`/locations/`
|
|
1685
|
-
# location`/pipelineRuns/`pipeline_run``
|
|
1686
|
-
# Corresponds to the JSON property `name`
|
|
1687
|
-
# @return [String]
|
|
1688
|
-
attr_accessor :name
|
|
1689
|
-
|
|
1690
|
-
# Params is a list of parameter names and values.
|
|
1691
|
-
# Corresponds to the JSON property `params`
|
|
1692
|
-
# @return [Array<Google::Apis::CloudbuildV2::Param>]
|
|
1693
|
-
attr_accessor :params
|
|
1694
|
-
|
|
1695
|
-
# PipelineRef can be used to refer to a specific instance of a Pipeline.
|
|
1696
|
-
# Corresponds to the JSON property `pipelineRef`
|
|
1697
|
-
# @return [Google::Apis::CloudbuildV2::PipelineRef]
|
|
1698
|
-
attr_accessor :pipeline_ref
|
|
1699
|
-
|
|
1700
|
-
# Pipelinerun status the user can provide. Used for cancellation.
|
|
1701
|
-
# Corresponds to the JSON property `pipelineRunStatus`
|
|
1702
|
-
# @return [String]
|
|
1703
|
-
attr_accessor :pipeline_run_status
|
|
1704
|
-
|
|
1705
|
-
# PipelineSpec defines the desired state of Pipeline.
|
|
1706
|
-
# Corresponds to the JSON property `pipelineSpec`
|
|
1707
|
-
# @return [Google::Apis::CloudbuildV2::PipelineSpec]
|
|
1708
|
-
attr_accessor :pipeline_spec
|
|
1709
|
-
|
|
1710
|
-
# Output only. Inline pipelineSpec yaml string, used by workflow run requests.
|
|
1711
|
-
# Corresponds to the JSON property `pipelineSpecYaml`
|
|
1712
|
-
# @return [String]
|
|
1713
|
-
attr_accessor :pipeline_spec_yaml
|
|
1714
|
-
|
|
1715
|
-
# Provenance configuration.
|
|
1716
|
-
# Corresponds to the JSON property `provenance`
|
|
1717
|
-
# @return [Google::Apis::CloudbuildV2::Provenance]
|
|
1718
|
-
attr_accessor :provenance
|
|
1719
|
-
|
|
1720
|
-
# Output only. The `Record` of this `PipelineRun`. Format: `projects/`project`/
|
|
1721
|
-
# locations/`location`/results/`result_id`/records/`record_id``
|
|
1722
|
-
# Corresponds to the JSON property `record`
|
|
1723
|
-
# @return [String]
|
|
1724
|
-
attr_accessor :record
|
|
1725
|
-
|
|
1726
|
-
# PipelineSpec defines the desired state of Pipeline.
|
|
1727
|
-
# Corresponds to the JSON property `resolvedPipelineSpec`
|
|
1728
|
-
# @return [Google::Apis::CloudbuildV2::PipelineSpec]
|
|
1729
|
-
attr_accessor :resolved_pipeline_spec
|
|
1730
|
-
|
|
1731
|
-
# Optional. Output only. List of results written out by the pipeline's
|
|
1732
|
-
# containers
|
|
1733
|
-
# Corresponds to the JSON property `results`
|
|
1734
|
-
# @return [Array<Google::Apis::CloudbuildV2::PipelineRunResult>]
|
|
1735
|
-
attr_accessor :results
|
|
1736
|
-
|
|
1737
|
-
# Security configuration.
|
|
1738
|
-
# Corresponds to the JSON property `security`
|
|
1739
|
-
# @return [Google::Apis::CloudbuildV2::Security]
|
|
1740
|
-
attr_accessor :security
|
|
1741
|
-
|
|
1742
|
-
# Service account used in the Pipeline. Deprecated; please use security.
|
|
1743
|
-
# service_account instead.
|
|
1744
|
-
# Corresponds to the JSON property `serviceAccount`
|
|
1745
|
-
# @return [String]
|
|
1746
|
-
attr_accessor :service_account
|
|
1747
|
-
|
|
1748
|
-
# Output only. List of tasks that were skipped due to when expressions
|
|
1749
|
-
# evaluating to false.
|
|
1750
|
-
# Corresponds to the JSON property `skippedTasks`
|
|
1751
|
-
# @return [Array<Google::Apis::CloudbuildV2::SkippedTask>]
|
|
1752
|
-
attr_accessor :skipped_tasks
|
|
1753
|
-
|
|
1754
|
-
# Output only. Time the pipeline is actually started.
|
|
1755
|
-
# Corresponds to the JSON property `startTime`
|
|
1756
|
-
# @return [String]
|
|
1757
|
-
attr_accessor :start_time
|
|
1758
|
-
|
|
1759
|
-
# TimeoutFields allows granular specification of pipeline, task, and finally
|
|
1760
|
-
# timeouts
|
|
1761
|
-
# Corresponds to the JSON property `timeouts`
|
|
1762
|
-
# @return [Google::Apis::CloudbuildV2::TimeoutFields]
|
|
1763
|
-
attr_accessor :timeouts
|
|
1764
|
-
|
|
1765
|
-
# Output only. A unique identifier for the `PipelineRun`.
|
|
1766
|
-
# Corresponds to the JSON property `uid`
|
|
1767
|
-
# @return [String]
|
|
1768
|
-
attr_accessor :uid
|
|
1769
|
-
|
|
1770
|
-
# Output only. Time at which the request to update the `PipelineRun` was
|
|
1771
|
-
# received.
|
|
1772
|
-
# Corresponds to the JSON property `updateTime`
|
|
1773
|
-
# @return [String]
|
|
1774
|
-
attr_accessor :update_time
|
|
1775
|
-
|
|
1776
|
-
# Configuration for the worker.
|
|
1777
|
-
# Corresponds to the JSON property `worker`
|
|
1778
|
-
# @return [Google::Apis::CloudbuildV2::Worker]
|
|
1779
|
-
attr_accessor :worker
|
|
1780
|
-
|
|
1781
|
-
# Output only. The WorkerPool used to run this PipelineRun.
|
|
1782
|
-
# Corresponds to the JSON property `workerPool`
|
|
1783
|
-
# @return [String]
|
|
1784
|
-
attr_accessor :worker_pool
|
|
1785
|
-
|
|
1786
|
-
# Output only. The Workflow used to create this PipelineRun.
|
|
1787
|
-
# Corresponds to the JSON property `workflow`
|
|
1788
|
-
# @return [String]
|
|
1789
|
-
attr_accessor :workflow
|
|
1790
|
-
|
|
1791
|
-
# Workspaces is a list of WorkspaceBindings from volumes to workspaces.
|
|
1792
|
-
# Corresponds to the JSON property `workspaces`
|
|
1793
|
-
# @return [Array<Google::Apis::CloudbuildV2::WorkspaceBinding>]
|
|
1794
|
-
attr_accessor :workspaces
|
|
1795
|
-
|
|
1796
|
-
def initialize(**args)
|
|
1797
|
-
update!(**args)
|
|
1798
|
-
end
|
|
1799
|
-
|
|
1800
|
-
# Update properties of this object
|
|
1801
|
-
def update!(**args)
|
|
1802
|
-
@annotations = args[:annotations] if args.key?(:annotations)
|
|
1803
|
-
@child_references = args[:child_references] if args.key?(:child_references)
|
|
1804
|
-
@completion_time = args[:completion_time] if args.key?(:completion_time)
|
|
1805
|
-
@conditions = args[:conditions] if args.key?(:conditions)
|
|
1806
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1807
|
-
@etag = args[:etag] if args.key?(:etag)
|
|
1808
|
-
@finally_start_time = args[:finally_start_time] if args.key?(:finally_start_time)
|
|
1809
|
-
@gcb_params = args[:gcb_params] if args.key?(:gcb_params)
|
|
1810
|
-
@name = args[:name] if args.key?(:name)
|
|
1811
|
-
@params = args[:params] if args.key?(:params)
|
|
1812
|
-
@pipeline_ref = args[:pipeline_ref] if args.key?(:pipeline_ref)
|
|
1813
|
-
@pipeline_run_status = args[:pipeline_run_status] if args.key?(:pipeline_run_status)
|
|
1814
|
-
@pipeline_spec = args[:pipeline_spec] if args.key?(:pipeline_spec)
|
|
1815
|
-
@pipeline_spec_yaml = args[:pipeline_spec_yaml] if args.key?(:pipeline_spec_yaml)
|
|
1816
|
-
@provenance = args[:provenance] if args.key?(:provenance)
|
|
1817
|
-
@record = args[:record] if args.key?(:record)
|
|
1818
|
-
@resolved_pipeline_spec = args[:resolved_pipeline_spec] if args.key?(:resolved_pipeline_spec)
|
|
1819
|
-
@results = args[:results] if args.key?(:results)
|
|
1820
|
-
@security = args[:security] if args.key?(:security)
|
|
1821
|
-
@service_account = args[:service_account] if args.key?(:service_account)
|
|
1822
|
-
@skipped_tasks = args[:skipped_tasks] if args.key?(:skipped_tasks)
|
|
1823
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1824
|
-
@timeouts = args[:timeouts] if args.key?(:timeouts)
|
|
1825
|
-
@uid = args[:uid] if args.key?(:uid)
|
|
1826
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1827
|
-
@worker = args[:worker] if args.key?(:worker)
|
|
1828
|
-
@worker_pool = args[:worker_pool] if args.key?(:worker_pool)
|
|
1829
|
-
@workflow = args[:workflow] if args.key?(:workflow)
|
|
1830
|
-
@workspaces = args[:workspaces] if args.key?(:workspaces)
|
|
1831
|
-
end
|
|
1832
|
-
end
|
|
1833
|
-
|
|
1834
1834
|
# PipelineRunResult used to describe the results of a pipeline
|
|
1835
1835
|
class PipelineRunResult
|
|
1836
1836
|
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.
|
|
19
|
+
GEM_VERSION = "0.37.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260904"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -190,6 +190,12 @@ module Google
|
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
|
191
191
|
end
|
|
192
192
|
|
|
193
|
+
class GoogleDevtoolsCloudbuildV2PipelineRun
|
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
|
+
|
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
197
|
+
end
|
|
198
|
+
|
|
193
199
|
class GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
|
|
194
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
201
|
|
|
@@ -280,12 +286,6 @@ module Google
|
|
|
280
286
|
include Google::Apis::Core::JsonObjectSupport
|
|
281
287
|
end
|
|
282
288
|
|
|
283
|
-
class PipelineRun
|
|
284
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
|
-
|
|
286
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
287
|
-
end
|
|
288
|
-
|
|
289
289
|
class PipelineRunResult
|
|
290
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
291
291
|
|
|
@@ -777,6 +777,54 @@ module Google
|
|
|
777
777
|
end
|
|
778
778
|
end
|
|
779
779
|
|
|
780
|
+
class GoogleDevtoolsCloudbuildV2PipelineRun
|
|
781
|
+
# @private
|
|
782
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
783
|
+
hash :annotations, as: 'annotations'
|
|
784
|
+
collection :child_references, as: 'childReferences', class: Google::Apis::CloudbuildV2::ChildStatusReference, decorator: Google::Apis::CloudbuildV2::ChildStatusReference::Representation
|
|
785
|
+
|
|
786
|
+
property :completion_time, as: 'completionTime'
|
|
787
|
+
collection :conditions, as: 'conditions', class: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2Condition, decorator: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2Condition::Representation
|
|
788
|
+
|
|
789
|
+
property :create_time, as: 'createTime'
|
|
790
|
+
property :etag, as: 'etag'
|
|
791
|
+
property :finally_start_time, as: 'finallyStartTime'
|
|
792
|
+
hash :gcb_params, as: 'gcbParams'
|
|
793
|
+
property :name, as: 'name'
|
|
794
|
+
collection :params, as: 'params', class: Google::Apis::CloudbuildV2::Param, decorator: Google::Apis::CloudbuildV2::Param::Representation
|
|
795
|
+
|
|
796
|
+
property :pipeline_ref, as: 'pipelineRef', class: Google::Apis::CloudbuildV2::PipelineRef, decorator: Google::Apis::CloudbuildV2::PipelineRef::Representation
|
|
797
|
+
|
|
798
|
+
property :pipeline_run_status, as: 'pipelineRunStatus'
|
|
799
|
+
property :pipeline_spec, as: 'pipelineSpec', class: Google::Apis::CloudbuildV2::PipelineSpec, decorator: Google::Apis::CloudbuildV2::PipelineSpec::Representation
|
|
800
|
+
|
|
801
|
+
property :pipeline_spec_yaml, as: 'pipelineSpecYaml'
|
|
802
|
+
property :provenance, as: 'provenance', class: Google::Apis::CloudbuildV2::Provenance, decorator: Google::Apis::CloudbuildV2::Provenance::Representation
|
|
803
|
+
|
|
804
|
+
property :record, as: 'record'
|
|
805
|
+
property :resolved_pipeline_spec, as: 'resolvedPipelineSpec', class: Google::Apis::CloudbuildV2::PipelineSpec, decorator: Google::Apis::CloudbuildV2::PipelineSpec::Representation
|
|
806
|
+
|
|
807
|
+
collection :results, as: 'results', class: Google::Apis::CloudbuildV2::PipelineRunResult, decorator: Google::Apis::CloudbuildV2::PipelineRunResult::Representation
|
|
808
|
+
|
|
809
|
+
property :security, as: 'security', class: Google::Apis::CloudbuildV2::Security, decorator: Google::Apis::CloudbuildV2::Security::Representation
|
|
810
|
+
|
|
811
|
+
property :service_account, as: 'serviceAccount'
|
|
812
|
+
collection :skipped_tasks, as: 'skippedTasks', class: Google::Apis::CloudbuildV2::SkippedTask, decorator: Google::Apis::CloudbuildV2::SkippedTask::Representation
|
|
813
|
+
|
|
814
|
+
property :start_time, as: 'startTime'
|
|
815
|
+
property :timeouts, as: 'timeouts', class: Google::Apis::CloudbuildV2::TimeoutFields, decorator: Google::Apis::CloudbuildV2::TimeoutFields::Representation
|
|
816
|
+
|
|
817
|
+
property :uid, as: 'uid'
|
|
818
|
+
property :update_time, as: 'updateTime'
|
|
819
|
+
property :worker, as: 'worker', class: Google::Apis::CloudbuildV2::Worker, decorator: Google::Apis::CloudbuildV2::Worker::Representation
|
|
820
|
+
|
|
821
|
+
property :worker_pool, as: 'workerPool'
|
|
822
|
+
property :workflow, as: 'workflow'
|
|
823
|
+
collection :workspaces, as: 'workspaces', class: Google::Apis::CloudbuildV2::WorkspaceBinding, decorator: Google::Apis::CloudbuildV2::WorkspaceBinding::Representation
|
|
824
|
+
|
|
825
|
+
end
|
|
826
|
+
end
|
|
827
|
+
|
|
780
828
|
class GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
|
|
781
829
|
# @private
|
|
782
830
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -926,54 +974,6 @@ module Google
|
|
|
926
974
|
end
|
|
927
975
|
end
|
|
928
976
|
|
|
929
|
-
class PipelineRun
|
|
930
|
-
# @private
|
|
931
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
932
|
-
hash :annotations, as: 'annotations'
|
|
933
|
-
collection :child_references, as: 'childReferences', class: Google::Apis::CloudbuildV2::ChildStatusReference, decorator: Google::Apis::CloudbuildV2::ChildStatusReference::Representation
|
|
934
|
-
|
|
935
|
-
property :completion_time, as: 'completionTime'
|
|
936
|
-
collection :conditions, as: 'conditions', class: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2Condition, decorator: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2Condition::Representation
|
|
937
|
-
|
|
938
|
-
property :create_time, as: 'createTime'
|
|
939
|
-
property :etag, as: 'etag'
|
|
940
|
-
property :finally_start_time, as: 'finallyStartTime'
|
|
941
|
-
hash :gcb_params, as: 'gcbParams'
|
|
942
|
-
property :name, as: 'name'
|
|
943
|
-
collection :params, as: 'params', class: Google::Apis::CloudbuildV2::Param, decorator: Google::Apis::CloudbuildV2::Param::Representation
|
|
944
|
-
|
|
945
|
-
property :pipeline_ref, as: 'pipelineRef', class: Google::Apis::CloudbuildV2::PipelineRef, decorator: Google::Apis::CloudbuildV2::PipelineRef::Representation
|
|
946
|
-
|
|
947
|
-
property :pipeline_run_status, as: 'pipelineRunStatus'
|
|
948
|
-
property :pipeline_spec, as: 'pipelineSpec', class: Google::Apis::CloudbuildV2::PipelineSpec, decorator: Google::Apis::CloudbuildV2::PipelineSpec::Representation
|
|
949
|
-
|
|
950
|
-
property :pipeline_spec_yaml, as: 'pipelineSpecYaml'
|
|
951
|
-
property :provenance, as: 'provenance', class: Google::Apis::CloudbuildV2::Provenance, decorator: Google::Apis::CloudbuildV2::Provenance::Representation
|
|
952
|
-
|
|
953
|
-
property :record, as: 'record'
|
|
954
|
-
property :resolved_pipeline_spec, as: 'resolvedPipelineSpec', class: Google::Apis::CloudbuildV2::PipelineSpec, decorator: Google::Apis::CloudbuildV2::PipelineSpec::Representation
|
|
955
|
-
|
|
956
|
-
collection :results, as: 'results', class: Google::Apis::CloudbuildV2::PipelineRunResult, decorator: Google::Apis::CloudbuildV2::PipelineRunResult::Representation
|
|
957
|
-
|
|
958
|
-
property :security, as: 'security', class: Google::Apis::CloudbuildV2::Security, decorator: Google::Apis::CloudbuildV2::Security::Representation
|
|
959
|
-
|
|
960
|
-
property :service_account, as: 'serviceAccount'
|
|
961
|
-
collection :skipped_tasks, as: 'skippedTasks', class: Google::Apis::CloudbuildV2::SkippedTask, decorator: Google::Apis::CloudbuildV2::SkippedTask::Representation
|
|
962
|
-
|
|
963
|
-
property :start_time, as: 'startTime'
|
|
964
|
-
property :timeouts, as: 'timeouts', class: Google::Apis::CloudbuildV2::TimeoutFields, decorator: Google::Apis::CloudbuildV2::TimeoutFields::Representation
|
|
965
|
-
|
|
966
|
-
property :uid, as: 'uid'
|
|
967
|
-
property :update_time, as: 'updateTime'
|
|
968
|
-
property :worker, as: 'worker', class: Google::Apis::CloudbuildV2::Worker, decorator: Google::Apis::CloudbuildV2::Worker::Representation
|
|
969
|
-
|
|
970
|
-
property :worker_pool, as: 'workerPool'
|
|
971
|
-
property :workflow, as: 'workflow'
|
|
972
|
-
collection :workspaces, as: 'workspaces', class: Google::Apis::CloudbuildV2::WorkspaceBinding, decorator: Google::Apis::CloudbuildV2::WorkspaceBinding::Representation
|
|
973
|
-
|
|
974
|
-
end
|
|
975
|
-
end
|
|
976
|
-
|
|
977
977
|
class PipelineRunResult
|
|
978
978
|
# @private
|
|
979
979
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.37.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v2/v0.37.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|