google-apis-cloudbuild_v1 0.38.0 → 0.40.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.38.0"
19
+ GEM_VERSION = "0.40.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 = "20220826"
25
+ REVISION = "20220928"
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
 
@@ -322,6 +412,12 @@ module Google
322
412
  include Google::Apis::Core::JsonObjectSupport
323
413
  end
324
414
 
415
+ class MavenArtifact
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
325
421
  class NetworkConfig
326
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
423
 
@@ -412,6 +508,12 @@ module Google
412
508
  include Google::Apis::Core::JsonObjectSupport
413
509
  end
414
510
 
511
+ class PythonPackage
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
415
517
  class ReceiveTriggerWebhookResponse
416
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
519
 
@@ -424,6 +526,12 @@ module Google
424
526
  include Google::Apis::Core::JsonObjectSupport
425
527
  end
426
528
 
529
+ class RemoveGitLabConnectedRepositoryRequest
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
427
535
  class RepoSource
428
536
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
537
 
@@ -478,6 +586,12 @@ module Google
478
586
  include Google::Apis::Core::JsonObjectSupport
479
587
  end
480
588
 
589
+ class ServiceDirectoryConfig
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
481
595
  class SlackDelivery
482
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
597
 
@@ -532,12 +646,30 @@ module Google
532
646
  include Google::Apis::Core::JsonObjectSupport
533
647
  end
534
648
 
649
+ class UpdateGitLabConfigOperationMetadata
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
535
655
  class UpdateWorkerPoolOperationMetadata
536
656
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
657
 
538
658
  include Google::Apis::Core::JsonObjectSupport
539
659
  end
540
660
 
661
+ class UploadedMavenArtifact
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class UploadedPythonPackage
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
541
673
  class Volume
542
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
543
675
 
@@ -617,8 +749,12 @@ module Google
617
749
  # @private
618
750
  class Representation < Google::Apis::Core::JsonRepresentation
619
751
  collection :images, as: 'images'
752
+ collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1::MavenArtifact, decorator: Google::Apis::CloudbuildV1::MavenArtifact::Representation
753
+
620
754
  property :objects, as: 'objects', class: Google::Apis::CloudbuildV1::ArtifactObjects, decorator: Google::Apis::CloudbuildV1::ArtifactObjects::Representation
621
755
 
756
+ collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1::PythonPackage, decorator: Google::Apis::CloudbuildV1::PythonPackage::Representation
757
+
622
758
  end
623
759
  end
624
760
 
@@ -647,6 +783,31 @@ module Google
647
783
  end
648
784
  end
649
785
 
786
+ class BatchCreateGitLabConnectedRepositoriesRequest
787
+ # @private
788
+ class Representation < Google::Apis::Core::JsonRepresentation
789
+ collection :requests, as: 'requests', class: Google::Apis::CloudbuildV1::CreateGitLabConnectedRepositoryRequest, decorator: Google::Apis::CloudbuildV1::CreateGitLabConnectedRepositoryRequest::Representation
790
+
791
+ end
792
+ end
793
+
794
+ class BatchCreateGitLabConnectedRepositoriesResponse
795
+ # @private
796
+ class Representation < Google::Apis::Core::JsonRepresentation
797
+ collection :gitlab_connected_repositories, as: 'gitlabConnectedRepositories', class: Google::Apis::CloudbuildV1::GitLabConnectedRepository, decorator: Google::Apis::CloudbuildV1::GitLabConnectedRepository::Representation
798
+
799
+ end
800
+ end
801
+
802
+ class BatchCreateGitLabConnectedRepositoriesResponseMetadata
803
+ # @private
804
+ class Representation < Google::Apis::Core::JsonRepresentation
805
+ property :complete_time, as: 'completeTime'
806
+ property :config, as: 'config'
807
+ property :create_time, as: 'createTime'
808
+ end
809
+ end
810
+
650
811
  class BitbucketServerConfig
651
812
  # @private
652
813
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -854,6 +1015,8 @@ module Google
854
1015
 
855
1016
  property :github, as: 'github', class: Google::Apis::CloudbuildV1::GitHubEventsConfig, decorator: Google::Apis::CloudbuildV1::GitHubEventsConfig::Representation
856
1017
 
1018
+ property :gitlab_enterprise_events_config, as: 'gitlabEnterpriseEventsConfig', class: Google::Apis::CloudbuildV1::GitLabEventsConfig, decorator: Google::Apis::CloudbuildV1::GitLabEventsConfig::Representation
1019
+
857
1020
  property :id, as: 'id'
858
1021
  collection :ignored_files, as: 'ignoredFiles'
859
1022
  property :include_build_logs, as: 'includeBuildLogs'
@@ -926,6 +1089,24 @@ module Google
926
1089
  end
927
1090
  end
928
1091
 
1092
+ class CreateGitLabConfigOperationMetadata
1093
+ # @private
1094
+ class Representation < Google::Apis::Core::JsonRepresentation
1095
+ property :complete_time, as: 'completeTime'
1096
+ property :create_time, as: 'createTime'
1097
+ property :gitlab_config, as: 'gitlabConfig'
1098
+ end
1099
+ end
1100
+
1101
+ class CreateGitLabConnectedRepositoryRequest
1102
+ # @private
1103
+ class Representation < Google::Apis::Core::JsonRepresentation
1104
+ property :gitlab_connected_repository, as: 'gitlabConnectedRepository', class: Google::Apis::CloudbuildV1::GitLabConnectedRepository, decorator: Google::Apis::CloudbuildV1::GitLabConnectedRepository::Representation
1105
+
1106
+ property :parent, as: 'parent'
1107
+ end
1108
+ end
1109
+
929
1110
  class CreateWorkerPoolOperationMetadata
930
1111
  # @private
931
1112
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -953,6 +1134,15 @@ module Google
953
1134
  end
954
1135
  end
955
1136
 
1137
+ class DeleteGitLabConfigOperationMetadata
1138
+ # @private
1139
+ class Representation < Google::Apis::Core::JsonRepresentation
1140
+ property :complete_time, as: 'completeTime'
1141
+ property :create_time, as: 'createTime'
1142
+ property :gitlab_config, as: 'gitlabConfig'
1143
+ end
1144
+ end
1145
+
956
1146
  class DeleteWorkerPoolOperationMetadata
957
1147
  # @private
958
1148
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1040,6 +1230,87 @@ module Google
1040
1230
  end
1041
1231
  end
1042
1232
 
1233
+ class GitLabConfig
1234
+ # @private
1235
+ class Representation < Google::Apis::Core::JsonRepresentation
1236
+ collection :connected_repositories, as: 'connectedRepositories', class: Google::Apis::CloudbuildV1::GitLabRepositoryId, decorator: Google::Apis::CloudbuildV1::GitLabRepositoryId::Representation
1237
+
1238
+ property :create_time, as: 'createTime'
1239
+ property :enterprise_config, as: 'enterpriseConfig', class: Google::Apis::CloudbuildV1::GitLabEnterpriseConfig, decorator: Google::Apis::CloudbuildV1::GitLabEnterpriseConfig::Representation
1240
+
1241
+ property :name, as: 'name'
1242
+ property :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1::GitLabSecrets, decorator: Google::Apis::CloudbuildV1::GitLabSecrets::Representation
1243
+
1244
+ property :username, as: 'username'
1245
+ property :webhook_key, as: 'webhookKey'
1246
+ end
1247
+ end
1248
+
1249
+ class GitLabConnectedRepository
1250
+ # @private
1251
+ class Representation < Google::Apis::Core::JsonRepresentation
1252
+ property :parent, as: 'parent'
1253
+ property :repo, as: 'repo', class: Google::Apis::CloudbuildV1::GitLabRepositoryId, decorator: Google::Apis::CloudbuildV1::GitLabRepositoryId::Representation
1254
+
1255
+ property :status, as: 'status', class: Google::Apis::CloudbuildV1::Status, decorator: Google::Apis::CloudbuildV1::Status::Representation
1256
+
1257
+ end
1258
+ end
1259
+
1260
+ class GitLabEnterpriseConfig
1261
+ # @private
1262
+ class Representation < Google::Apis::Core::JsonRepresentation
1263
+ property :host_uri, as: 'hostUri'
1264
+ property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::CloudbuildV1::ServiceDirectoryConfig, decorator: Google::Apis::CloudbuildV1::ServiceDirectoryConfig::Representation
1265
+
1266
+ property :ssl_ca, as: 'sslCa'
1267
+ end
1268
+ end
1269
+
1270
+ class GitLabEventsConfig
1271
+ # @private
1272
+ class Representation < Google::Apis::Core::JsonRepresentation
1273
+ property :gitlab_config, as: 'gitlabConfig', class: Google::Apis::CloudbuildV1::GitLabConfig, decorator: Google::Apis::CloudbuildV1::GitLabConfig::Representation
1274
+
1275
+ property :gitlab_config_resource, as: 'gitlabConfigResource'
1276
+ property :project_namespace, as: 'projectNamespace'
1277
+ property :pull_request, as: 'pullRequest', class: Google::Apis::CloudbuildV1::PullRequestFilter, decorator: Google::Apis::CloudbuildV1::PullRequestFilter::Representation
1278
+
1279
+ property :push, as: 'push', class: Google::Apis::CloudbuildV1::PushFilter, decorator: Google::Apis::CloudbuildV1::PushFilter::Representation
1280
+
1281
+ end
1282
+ end
1283
+
1284
+ class GitLabRepository
1285
+ # @private
1286
+ class Representation < Google::Apis::Core::JsonRepresentation
1287
+ property :browse_uri, as: 'browseUri'
1288
+ property :description, as: 'description'
1289
+ property :display_name, as: 'displayName'
1290
+ property :name, as: 'name'
1291
+ property :repository_id, as: 'repositoryId', class: Google::Apis::CloudbuildV1::GitLabRepositoryId, decorator: Google::Apis::CloudbuildV1::GitLabRepositoryId::Representation
1292
+
1293
+ end
1294
+ end
1295
+
1296
+ class GitLabRepositoryId
1297
+ # @private
1298
+ class Representation < Google::Apis::Core::JsonRepresentation
1299
+ property :id, as: 'id'
1300
+ property :webhook_id, as: 'webhookId'
1301
+ end
1302
+ end
1303
+
1304
+ class GitLabSecrets
1305
+ # @private
1306
+ class Representation < Google::Apis::Core::JsonRepresentation
1307
+ property :api_access_token_version, as: 'apiAccessTokenVersion'
1308
+ property :api_key_version, as: 'apiKeyVersion'
1309
+ property :read_access_token_version, as: 'readAccessTokenVersion'
1310
+ property :webhook_secret_version, as: 'webhookSecretVersion'
1311
+ end
1312
+ end
1313
+
1043
1314
  class GitRepoSource
1044
1315
  # @private
1045
1316
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1132,6 +1403,24 @@ module Google
1132
1403
  end
1133
1404
  end
1134
1405
 
1406
+ class ListGitLabConfigsResponse
1407
+ # @private
1408
+ class Representation < Google::Apis::Core::JsonRepresentation
1409
+ collection :gitlab_configs, as: 'gitlabConfigs', class: Google::Apis::CloudbuildV1::GitLabConfig, decorator: Google::Apis::CloudbuildV1::GitLabConfig::Representation
1410
+
1411
+ property :next_page_token, as: 'nextPageToken'
1412
+ end
1413
+ end
1414
+
1415
+ class ListGitLabRepositoriesResponse
1416
+ # @private
1417
+ class Representation < Google::Apis::Core::JsonRepresentation
1418
+ collection :gitlab_repositories, as: 'gitlabRepositories', class: Google::Apis::CloudbuildV1::GitLabRepository, decorator: Google::Apis::CloudbuildV1::GitLabRepository::Representation
1419
+
1420
+ property :next_page_token, as: 'nextPageToken'
1421
+ end
1422
+ end
1423
+
1135
1424
  class ListGithubEnterpriseConfigsResponse
1136
1425
  # @private
1137
1426
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1149,6 +1438,17 @@ module Google
1149
1438
  end
1150
1439
  end
1151
1440
 
1441
+ class MavenArtifact
1442
+ # @private
1443
+ class Representation < Google::Apis::Core::JsonRepresentation
1444
+ property :artifact_id, as: 'artifactId'
1445
+ property :group_id, as: 'groupId'
1446
+ property :path, as: 'path'
1447
+ property :repository, as: 'repository'
1448
+ property :version, as: 'version'
1449
+ end
1450
+ end
1451
+
1152
1452
  class NetworkConfig
1153
1453
  # @private
1154
1454
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1295,6 +1595,14 @@ module Google
1295
1595
  end
1296
1596
  end
1297
1597
 
1598
+ class PythonPackage
1599
+ # @private
1600
+ class Representation < Google::Apis::Core::JsonRepresentation
1601
+ collection :paths, as: 'paths'
1602
+ property :repository, as: 'repository'
1603
+ end
1604
+ end
1605
+
1298
1606
  class ReceiveTriggerWebhookResponse
1299
1607
  # @private
1300
1608
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1309,6 +1617,14 @@ module Google
1309
1617
  end
1310
1618
  end
1311
1619
 
1620
+ class RemoveGitLabConnectedRepositoryRequest
1621
+ # @private
1622
+ class Representation < Google::Apis::Core::JsonRepresentation
1623
+ property :connected_repository, as: 'connectedRepository', class: Google::Apis::CloudbuildV1::GitLabRepositoryId, decorator: Google::Apis::CloudbuildV1::GitLabRepositoryId::Representation
1624
+
1625
+ end
1626
+ end
1627
+
1312
1628
  class RepoSource
1313
1629
  # @private
1314
1630
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1333,7 +1649,11 @@ module Google
1333
1649
  collection :build_step_outputs, as: 'buildStepOutputs'
1334
1650
  collection :images, as: 'images', class: Google::Apis::CloudbuildV1::BuiltImage, decorator: Google::Apis::CloudbuildV1::BuiltImage::Representation
1335
1651
 
1652
+ collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1::UploadedMavenArtifact, decorator: Google::Apis::CloudbuildV1::UploadedMavenArtifact::Representation
1653
+
1336
1654
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1655
+ collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1::UploadedPythonPackage, decorator: Google::Apis::CloudbuildV1::UploadedPythonPackage::Representation
1656
+
1337
1657
  end
1338
1658
  end
1339
1659
 
@@ -1408,6 +1728,13 @@ module Google
1408
1728
  end
1409
1729
  end
1410
1730
 
1731
+ class ServiceDirectoryConfig
1732
+ # @private
1733
+ class Representation < Google::Apis::Core::JsonRepresentation
1734
+ property :service, as: 'service'
1735
+ end
1736
+ end
1737
+
1411
1738
  class SlackDelivery
1412
1739
  # @private
1413
1740
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1495,6 +1822,15 @@ module Google
1495
1822
  end
1496
1823
  end
1497
1824
 
1825
+ class UpdateGitLabConfigOperationMetadata
1826
+ # @private
1827
+ class Representation < Google::Apis::Core::JsonRepresentation
1828
+ property :complete_time, as: 'completeTime'
1829
+ property :create_time, as: 'createTime'
1830
+ property :gitlab_config, as: 'gitlabConfig'
1831
+ end
1832
+ end
1833
+
1498
1834
  class UpdateWorkerPoolOperationMetadata
1499
1835
  # @private
1500
1836
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1504,6 +1840,28 @@ module Google
1504
1840
  end
1505
1841
  end
1506
1842
 
1843
+ class UploadedMavenArtifact
1844
+ # @private
1845
+ class Representation < Google::Apis::Core::JsonRepresentation
1846
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
1847
+
1848
+ property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
1849
+
1850
+ property :uri, as: 'uri'
1851
+ end
1852
+ end
1853
+
1854
+ class UploadedPythonPackage
1855
+ # @private
1856
+ class Representation < Google::Apis::Core::JsonRepresentation
1857
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
1858
+
1859
+ property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
1860
+
1861
+ property :uri, as: 'uri'
1862
+ end
1863
+ end
1864
+
1507
1865
  class Volume
1508
1866
  # @private
1509
1867
  class Representation < Google::Apis::Core::JsonRepresentation