google-apis-cloudbuild_v1 0.37.0 → 0.39.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.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1
18
18
  # Version of the google-apis-cloudbuild_v1 gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.39.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220818"
25
+ REVISION = "20220916"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,24 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class BatchCreateGitLabConnectedRepositoriesRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class BatchCreateGitLabConnectedRepositoriesResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class BatchCreateGitLabConnectedRepositoriesResponseMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
79
97
  class BitbucketServerConfig
80
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
99
 
@@ -184,6 +202,18 @@ module Google
184
202
  include Google::Apis::Core::JsonObjectSupport
185
203
  end
186
204
 
205
+ class CreateGitLabConfigOperationMetadata
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class CreateGitLabConnectedRepositoryRequest
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
187
217
  class CreateWorkerPoolOperationMetadata
188
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
219
 
@@ -202,6 +232,12 @@ module Google
202
232
  include Google::Apis::Core::JsonObjectSupport
203
233
  end
204
234
 
235
+ class DeleteGitLabConfigOperationMetadata
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
205
241
  class DeleteWorkerPoolOperationMetadata
206
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
243
 
@@ -250,6 +286,48 @@ module Google
250
286
  include Google::Apis::Core::JsonObjectSupport
251
287
  end
252
288
 
289
+ class GitLabConfig
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class GitLabConnectedRepository
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GitLabEnterpriseConfig
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GitLabEventsConfig
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class GitLabRepository
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class GitLabRepositoryId
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class GitLabSecrets
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
253
331
  class GitRepoSource
254
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
333
 
@@ -310,6 +388,18 @@ module Google
310
388
  include Google::Apis::Core::JsonObjectSupport
311
389
  end
312
390
 
391
+ class ListGitLabConfigsResponse
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class ListGitLabRepositoriesResponse
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
313
403
  class ListGithubEnterpriseConfigsResponse
314
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
405
 
@@ -424,6 +514,12 @@ module Google
424
514
  include Google::Apis::Core::JsonObjectSupport
425
515
  end
426
516
 
517
+ class RemoveGitLabConnectedRepositoryRequest
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
427
523
  class RepoSource
428
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
525
 
@@ -478,6 +574,12 @@ module Google
478
574
  include Google::Apis::Core::JsonObjectSupport
479
575
  end
480
576
 
577
+ class ServiceDirectoryConfig
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
481
583
  class SlackDelivery
482
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
585
 
@@ -532,6 +634,12 @@ module Google
532
634
  include Google::Apis::Core::JsonObjectSupport
533
635
  end
534
636
 
637
+ class UpdateGitLabConfigOperationMetadata
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
535
643
  class UpdateWorkerPoolOperationMetadata
536
644
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
645
 
@@ -647,6 +755,31 @@ module Google
647
755
  end
648
756
  end
649
757
 
758
+ class BatchCreateGitLabConnectedRepositoriesRequest
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ collection :requests, as: 'requests', class: Google::Apis::CloudbuildV1::CreateGitLabConnectedRepositoryRequest, decorator: Google::Apis::CloudbuildV1::CreateGitLabConnectedRepositoryRequest::Representation
762
+
763
+ end
764
+ end
765
+
766
+ class BatchCreateGitLabConnectedRepositoriesResponse
767
+ # @private
768
+ class Representation < Google::Apis::Core::JsonRepresentation
769
+ collection :gitlab_connected_repositories, as: 'gitlabConnectedRepositories', class: Google::Apis::CloudbuildV1::GitLabConnectedRepository, decorator: Google::Apis::CloudbuildV1::GitLabConnectedRepository::Representation
770
+
771
+ end
772
+ end
773
+
774
+ class BatchCreateGitLabConnectedRepositoriesResponseMetadata
775
+ # @private
776
+ class Representation < Google::Apis::Core::JsonRepresentation
777
+ property :complete_time, as: 'completeTime'
778
+ property :config, as: 'config'
779
+ property :create_time, as: 'createTime'
780
+ end
781
+ end
782
+
650
783
  class BitbucketServerConfig
651
784
  # @private
652
785
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -811,10 +944,13 @@ module Google
811
944
  class BuildStep
812
945
  # @private
813
946
  class Representation < Google::Apis::Core::JsonRepresentation
947
+ collection :allow_exit_codes, as: 'allowExitCodes'
948
+ property :allow_failure, as: 'allowFailure'
814
949
  collection :args, as: 'args'
815
950
  property :dir, as: 'dir'
816
951
  property :entrypoint, as: 'entrypoint'
817
952
  collection :env, as: 'env'
953
+ property :exit_code, as: 'exitCode'
818
954
  property :id, as: 'id'
819
955
  property :name, as: 'name'
820
956
  property :pull_timing, as: 'pullTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
@@ -851,6 +987,8 @@ module Google
851
987
 
852
988
  property :github, as: 'github', class: Google::Apis::CloudbuildV1::GitHubEventsConfig, decorator: Google::Apis::CloudbuildV1::GitHubEventsConfig::Representation
853
989
 
990
+ property :gitlab_enterprise_events_config, as: 'gitlabEnterpriseEventsConfig', class: Google::Apis::CloudbuildV1::GitLabEventsConfig, decorator: Google::Apis::CloudbuildV1::GitLabEventsConfig::Representation
991
+
854
992
  property :id, as: 'id'
855
993
  collection :ignored_files, as: 'ignoredFiles'
856
994
  property :include_build_logs, as: 'includeBuildLogs'
@@ -923,6 +1061,24 @@ module Google
923
1061
  end
924
1062
  end
925
1063
 
1064
+ class CreateGitLabConfigOperationMetadata
1065
+ # @private
1066
+ class Representation < Google::Apis::Core::JsonRepresentation
1067
+ property :complete_time, as: 'completeTime'
1068
+ property :create_time, as: 'createTime'
1069
+ property :gitlab_config, as: 'gitlabConfig'
1070
+ end
1071
+ end
1072
+
1073
+ class CreateGitLabConnectedRepositoryRequest
1074
+ # @private
1075
+ class Representation < Google::Apis::Core::JsonRepresentation
1076
+ property :gitlab_connected_repository, as: 'gitlabConnectedRepository', class: Google::Apis::CloudbuildV1::GitLabConnectedRepository, decorator: Google::Apis::CloudbuildV1::GitLabConnectedRepository::Representation
1077
+
1078
+ property :parent, as: 'parent'
1079
+ end
1080
+ end
1081
+
926
1082
  class CreateWorkerPoolOperationMetadata
927
1083
  # @private
928
1084
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -950,6 +1106,15 @@ module Google
950
1106
  end
951
1107
  end
952
1108
 
1109
+ class DeleteGitLabConfigOperationMetadata
1110
+ # @private
1111
+ class Representation < Google::Apis::Core::JsonRepresentation
1112
+ property :complete_time, as: 'completeTime'
1113
+ property :create_time, as: 'createTime'
1114
+ property :gitlab_config, as: 'gitlabConfig'
1115
+ end
1116
+ end
1117
+
953
1118
  class DeleteWorkerPoolOperationMetadata
954
1119
  # @private
955
1120
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1037,6 +1202,87 @@ module Google
1037
1202
  end
1038
1203
  end
1039
1204
 
1205
+ class GitLabConfig
1206
+ # @private
1207
+ class Representation < Google::Apis::Core::JsonRepresentation
1208
+ collection :connected_repositories, as: 'connectedRepositories', class: Google::Apis::CloudbuildV1::GitLabRepositoryId, decorator: Google::Apis::CloudbuildV1::GitLabRepositoryId::Representation
1209
+
1210
+ property :create_time, as: 'createTime'
1211
+ property :enterprise_config, as: 'enterpriseConfig', class: Google::Apis::CloudbuildV1::GitLabEnterpriseConfig, decorator: Google::Apis::CloudbuildV1::GitLabEnterpriseConfig::Representation
1212
+
1213
+ property :name, as: 'name'
1214
+ property :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1::GitLabSecrets, decorator: Google::Apis::CloudbuildV1::GitLabSecrets::Representation
1215
+
1216
+ property :username, as: 'username'
1217
+ property :webhook_key, as: 'webhookKey'
1218
+ end
1219
+ end
1220
+
1221
+ class GitLabConnectedRepository
1222
+ # @private
1223
+ class Representation < Google::Apis::Core::JsonRepresentation
1224
+ property :parent, as: 'parent'
1225
+ property :repo, as: 'repo', class: Google::Apis::CloudbuildV1::GitLabRepositoryId, decorator: Google::Apis::CloudbuildV1::GitLabRepositoryId::Representation
1226
+
1227
+ property :status, as: 'status', class: Google::Apis::CloudbuildV1::Status, decorator: Google::Apis::CloudbuildV1::Status::Representation
1228
+
1229
+ end
1230
+ end
1231
+
1232
+ class GitLabEnterpriseConfig
1233
+ # @private
1234
+ class Representation < Google::Apis::Core::JsonRepresentation
1235
+ property :host_uri, as: 'hostUri'
1236
+ property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::CloudbuildV1::ServiceDirectoryConfig, decorator: Google::Apis::CloudbuildV1::ServiceDirectoryConfig::Representation
1237
+
1238
+ property :ssl_ca, as: 'sslCa'
1239
+ end
1240
+ end
1241
+
1242
+ class GitLabEventsConfig
1243
+ # @private
1244
+ class Representation < Google::Apis::Core::JsonRepresentation
1245
+ property :gitlab_config, as: 'gitlabConfig', class: Google::Apis::CloudbuildV1::GitLabConfig, decorator: Google::Apis::CloudbuildV1::GitLabConfig::Representation
1246
+
1247
+ property :gitlab_config_resource, as: 'gitlabConfigResource'
1248
+ property :project_namespace, as: 'projectNamespace'
1249
+ property :pull_request, as: 'pullRequest', class: Google::Apis::CloudbuildV1::PullRequestFilter, decorator: Google::Apis::CloudbuildV1::PullRequestFilter::Representation
1250
+
1251
+ property :push, as: 'push', class: Google::Apis::CloudbuildV1::PushFilter, decorator: Google::Apis::CloudbuildV1::PushFilter::Representation
1252
+
1253
+ end
1254
+ end
1255
+
1256
+ class GitLabRepository
1257
+ # @private
1258
+ class Representation < Google::Apis::Core::JsonRepresentation
1259
+ property :browse_uri, as: 'browseUri'
1260
+ property :description, as: 'description'
1261
+ property :display_name, as: 'displayName'
1262
+ property :name, as: 'name'
1263
+ property :repository_id, as: 'repositoryId', class: Google::Apis::CloudbuildV1::GitLabRepositoryId, decorator: Google::Apis::CloudbuildV1::GitLabRepositoryId::Representation
1264
+
1265
+ end
1266
+ end
1267
+
1268
+ class GitLabRepositoryId
1269
+ # @private
1270
+ class Representation < Google::Apis::Core::JsonRepresentation
1271
+ property :id, as: 'id'
1272
+ property :webhook_id, as: 'webhookId'
1273
+ end
1274
+ end
1275
+
1276
+ class GitLabSecrets
1277
+ # @private
1278
+ class Representation < Google::Apis::Core::JsonRepresentation
1279
+ property :api_access_token_version, as: 'apiAccessTokenVersion'
1280
+ property :api_key_version, as: 'apiKeyVersion'
1281
+ property :read_access_token_version, as: 'readAccessTokenVersion'
1282
+ property :webhook_secret_version, as: 'webhookSecretVersion'
1283
+ end
1284
+ end
1285
+
1040
1286
  class GitRepoSource
1041
1287
  # @private
1042
1288
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1129,6 +1375,24 @@ module Google
1129
1375
  end
1130
1376
  end
1131
1377
 
1378
+ class ListGitLabConfigsResponse
1379
+ # @private
1380
+ class Representation < Google::Apis::Core::JsonRepresentation
1381
+ collection :gitlab_configs, as: 'gitlabConfigs', class: Google::Apis::CloudbuildV1::GitLabConfig, decorator: Google::Apis::CloudbuildV1::GitLabConfig::Representation
1382
+
1383
+ property :next_page_token, as: 'nextPageToken'
1384
+ end
1385
+ end
1386
+
1387
+ class ListGitLabRepositoriesResponse
1388
+ # @private
1389
+ class Representation < Google::Apis::Core::JsonRepresentation
1390
+ collection :gitlab_repositories, as: 'gitlabRepositories', class: Google::Apis::CloudbuildV1::GitLabRepository, decorator: Google::Apis::CloudbuildV1::GitLabRepository::Representation
1391
+
1392
+ property :next_page_token, as: 'nextPageToken'
1393
+ end
1394
+ end
1395
+
1132
1396
  class ListGithubEnterpriseConfigsResponse
1133
1397
  # @private
1134
1398
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1306,6 +1570,14 @@ module Google
1306
1570
  end
1307
1571
  end
1308
1572
 
1573
+ class RemoveGitLabConnectedRepositoryRequest
1574
+ # @private
1575
+ class Representation < Google::Apis::Core::JsonRepresentation
1576
+ property :connected_repository, as: 'connectedRepository', class: Google::Apis::CloudbuildV1::GitLabRepositoryId, decorator: Google::Apis::CloudbuildV1::GitLabRepositoryId::Representation
1577
+
1578
+ end
1579
+ end
1580
+
1309
1581
  class RepoSource
1310
1582
  # @private
1311
1583
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1405,6 +1677,13 @@ module Google
1405
1677
  end
1406
1678
  end
1407
1679
 
1680
+ class ServiceDirectoryConfig
1681
+ # @private
1682
+ class Representation < Google::Apis::Core::JsonRepresentation
1683
+ property :service, as: 'service'
1684
+ end
1685
+ end
1686
+
1408
1687
  class SlackDelivery
1409
1688
  # @private
1410
1689
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1492,6 +1771,15 @@ module Google
1492
1771
  end
1493
1772
  end
1494
1773
 
1774
+ class UpdateGitLabConfigOperationMetadata
1775
+ # @private
1776
+ class Representation < Google::Apis::Core::JsonRepresentation
1777
+ property :complete_time, as: 'completeTime'
1778
+ property :create_time, as: 'createTime'
1779
+ property :gitlab_config, as: 'gitlabConfig'
1780
+ end
1781
+ end
1782
+
1495
1783
  class UpdateWorkerPoolOperationMetadata
1496
1784
  # @private
1497
1785
  class Representation < Google::Apis::Core::JsonRepresentation