google-apis-cloudbuild_v1 0.18.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.18.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210923"
25
+ REVISION = "20211230"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module CloudbuildV1
24
24
 
25
+ class AddBitbucketServerConnectedRepositoryRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AddBitbucketServerConnectedRepositoryResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class ApprovalConfig
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -58,6 +70,60 @@ module Google
58
70
  include Google::Apis::Core::JsonObjectSupport
59
71
  end
60
72
 
73
+ class BatchCreateBitbucketServerConnectedRepositoriesRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class BatchCreateBitbucketServerConnectedRepositoriesResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class BitbucketServerConfig
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class BitbucketServerConnectedRepository
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class BitbucketServerRepository
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class BitbucketServerRepositoryId
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class BitbucketServerSecrets
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class BitbucketServerTriggerConfig
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
61
127
  class Build
62
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
129
 
@@ -112,24 +178,54 @@ module Google
112
178
  include Google::Apis::Core::JsonObjectSupport
113
179
  end
114
180
 
181
+ class CreateBitbucketServerConfigOperationMetadata
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class CreateBitbucketServerConnectedRepositoryRequest
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
115
193
  class CreateGitHubEnterpriseConfigOperationMetadata
116
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
195
 
118
196
  include Google::Apis::Core::JsonObjectSupport
119
197
  end
120
198
 
199
+ class CreateGitLabConfigOperationMetadata
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
121
205
  class CreateWorkerPoolOperationMetadata
122
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
207
 
124
208
  include Google::Apis::Core::JsonObjectSupport
125
209
  end
126
210
 
211
+ class DeleteBitbucketServerConfigOperationMetadata
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
127
217
  class DeleteGitHubEnterpriseConfigOperationMetadata
128
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
219
 
130
220
  include Google::Apis::Core::JsonObjectSupport
131
221
  end
132
222
 
223
+ class DeleteGitLabConfigOperationMetadata
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
133
229
  class DeleteWorkerPoolOperationMetadata
134
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
231
 
@@ -214,6 +310,18 @@ module Google
214
310
  include Google::Apis::Core::JsonObjectSupport
215
311
  end
216
312
 
313
+ class ListBitbucketServerConfigsResponse
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class ListBitbucketServerRepositoriesResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
217
325
  class ListBuildTriggersResponse
218
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
327
 
@@ -334,6 +442,12 @@ module Google
334
442
  include Google::Apis::Core::JsonObjectSupport
335
443
  end
336
444
 
445
+ class RemoveBitbucketServerConnectedRepositoryRequest
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
337
451
  class RepoSource
338
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
453
 
@@ -424,12 +538,24 @@ module Google
424
538
  include Google::Apis::Core::JsonObjectSupport
425
539
  end
426
540
 
541
+ class UpdateBitbucketServerConfigOperationMetadata
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
427
547
  class UpdateGitHubEnterpriseConfigOperationMetadata
428
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
549
 
430
550
  include Google::Apis::Core::JsonObjectSupport
431
551
  end
432
552
 
553
+ class UpdateGitLabConfigOperationMetadata
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
433
559
  class UpdateWorkerPoolOperationMetadata
434
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
561
 
@@ -466,6 +592,23 @@ module Google
466
592
  include Google::Apis::Core::JsonObjectSupport
467
593
  end
468
594
 
595
+ class AddBitbucketServerConnectedRepositoryRequest
596
+ # @private
597
+ class Representation < Google::Apis::Core::JsonRepresentation
598
+ property :connected_repository, as: 'connectedRepository', class: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId, decorator: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId::Representation
599
+
600
+ end
601
+ end
602
+
603
+ class AddBitbucketServerConnectedRepositoryResponse
604
+ # @private
605
+ class Representation < Google::Apis::Core::JsonRepresentation
606
+ property :config, as: 'config'
607
+ property :connected_repository, as: 'connectedRepository', class: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId, decorator: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId::Representation
608
+
609
+ end
610
+ end
611
+
469
612
  class ApprovalConfig
470
613
  # @private
471
614
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -520,6 +663,105 @@ module Google
520
663
  end
521
664
  end
522
665
 
666
+ class BatchCreateBitbucketServerConnectedRepositoriesRequest
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ collection :requests, as: 'requests', class: Google::Apis::CloudbuildV1::CreateBitbucketServerConnectedRepositoryRequest, decorator: Google::Apis::CloudbuildV1::CreateBitbucketServerConnectedRepositoryRequest::Representation
670
+
671
+ end
672
+ end
673
+
674
+ class BatchCreateBitbucketServerConnectedRepositoriesResponse
675
+ # @private
676
+ class Representation < Google::Apis::Core::JsonRepresentation
677
+ collection :bitbucket_server_connected_repositories, as: 'bitbucketServerConnectedRepositories', class: Google::Apis::CloudbuildV1::BitbucketServerConnectedRepository, decorator: Google::Apis::CloudbuildV1::BitbucketServerConnectedRepository::Representation
678
+
679
+ end
680
+ end
681
+
682
+ class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ property :complete_time, as: 'completeTime'
686
+ property :config, as: 'config'
687
+ property :create_time, as: 'createTime'
688
+ end
689
+ end
690
+
691
+ class BitbucketServerConfig
692
+ # @private
693
+ class Representation < Google::Apis::Core::JsonRepresentation
694
+ property :api_key, as: 'apiKey'
695
+ collection :connected_repositories, as: 'connectedRepositories', class: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId, decorator: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId::Representation
696
+
697
+ property :create_time, as: 'createTime'
698
+ property :host_uri, as: 'hostUri'
699
+ property :name, as: 'name'
700
+ property :peered_network, as: 'peeredNetwork'
701
+ property :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1::BitbucketServerSecrets, decorator: Google::Apis::CloudbuildV1::BitbucketServerSecrets::Representation
702
+
703
+ property :ssl_ca, as: 'sslCa'
704
+ property :username, as: 'username'
705
+ property :webhook_key, as: 'webhookKey'
706
+ end
707
+ end
708
+
709
+ class BitbucketServerConnectedRepository
710
+ # @private
711
+ class Representation < Google::Apis::Core::JsonRepresentation
712
+ property :parent, as: 'parent'
713
+ property :repo, as: 'repo', class: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId, decorator: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId::Representation
714
+
715
+ property :status, as: 'status', class: Google::Apis::CloudbuildV1::Status, decorator: Google::Apis::CloudbuildV1::Status::Representation
716
+
717
+ end
718
+ end
719
+
720
+ class BitbucketServerRepository
721
+ # @private
722
+ class Representation < Google::Apis::Core::JsonRepresentation
723
+ property :browse_uri, as: 'browseUri'
724
+ property :description, as: 'description'
725
+ property :display_name, as: 'displayName'
726
+ property :name, as: 'name'
727
+ property :repo_id, as: 'repoId', class: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId, decorator: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId::Representation
728
+
729
+ end
730
+ end
731
+
732
+ class BitbucketServerRepositoryId
733
+ # @private
734
+ class Representation < Google::Apis::Core::JsonRepresentation
735
+ property :project_key, as: 'projectKey'
736
+ property :repo_slug, as: 'repoSlug'
737
+ property :webhook_id, as: 'webhookId'
738
+ end
739
+ end
740
+
741
+ class BitbucketServerSecrets
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ property :admin_access_token_version_name, as: 'adminAccessTokenVersionName'
745
+ property :read_access_token_version_name, as: 'readAccessTokenVersionName'
746
+ property :webhook_secret_version_name, as: 'webhookSecretVersionName'
747
+ end
748
+ end
749
+
750
+ class BitbucketServerTriggerConfig
751
+ # @private
752
+ class Representation < Google::Apis::Core::JsonRepresentation
753
+ property :bitbucket_server_config, as: 'bitbucketServerConfig', class: Google::Apis::CloudbuildV1::BitbucketServerConfig, decorator: Google::Apis::CloudbuildV1::BitbucketServerConfig::Representation
754
+
755
+ property :bitbucket_server_config_resource, as: 'bitbucketServerConfigResource'
756
+ property :project_key, as: 'projectKey'
757
+ property :pull_request, as: 'pullRequest', class: Google::Apis::CloudbuildV1::PullRequestFilter, decorator: Google::Apis::CloudbuildV1::PullRequestFilter::Representation
758
+
759
+ property :push, as: 'push', class: Google::Apis::CloudbuildV1::PushFilter, decorator: Google::Apis::CloudbuildV1::PushFilter::Representation
760
+
761
+ property :repo_slug, as: 'repoSlug'
762
+ end
763
+ end
764
+
523
765
  class Build
524
766
  # @private
525
767
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -636,11 +878,14 @@ module Google
636
878
  property :approval_config, as: 'approvalConfig', class: Google::Apis::CloudbuildV1::ApprovalConfig, decorator: Google::Apis::CloudbuildV1::ApprovalConfig::Representation
637
879
 
638
880
  property :autodetect, as: 'autodetect'
881
+ property :bitbucket_server_trigger_config, as: 'bitbucketServerTriggerConfig', class: Google::Apis::CloudbuildV1::BitbucketServerTriggerConfig, decorator: Google::Apis::CloudbuildV1::BitbucketServerTriggerConfig::Representation
882
+
639
883
  property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
640
884
 
641
885
  property :create_time, as: 'createTime'
642
886
  property :description, as: 'description'
643
887
  property :disabled, as: 'disabled'
888
+ property :event_type, as: 'eventType'
644
889
  property :filename, as: 'filename'
645
890
  property :filter, as: 'filter'
646
891
  property :git_file_source, as: 'gitFileSource', class: Google::Apis::CloudbuildV1::GitFileSource, decorator: Google::Apis::CloudbuildV1::GitFileSource::Representation
@@ -691,6 +936,24 @@ module Google
691
936
  end
692
937
  end
693
938
 
939
+ class CreateBitbucketServerConfigOperationMetadata
940
+ # @private
941
+ class Representation < Google::Apis::Core::JsonRepresentation
942
+ property :bitbucket_server_config, as: 'bitbucketServerConfig'
943
+ property :complete_time, as: 'completeTime'
944
+ property :create_time, as: 'createTime'
945
+ end
946
+ end
947
+
948
+ class CreateBitbucketServerConnectedRepositoryRequest
949
+ # @private
950
+ class Representation < Google::Apis::Core::JsonRepresentation
951
+ property :bitbucket_server_connected_repository, as: 'bitbucketServerConnectedRepository', class: Google::Apis::CloudbuildV1::BitbucketServerConnectedRepository, decorator: Google::Apis::CloudbuildV1::BitbucketServerConnectedRepository::Representation
952
+
953
+ property :parent, as: 'parent'
954
+ end
955
+ end
956
+
694
957
  class CreateGitHubEnterpriseConfigOperationMetadata
695
958
  # @private
696
959
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -700,6 +963,15 @@ module Google
700
963
  end
701
964
  end
702
965
 
966
+ class CreateGitLabConfigOperationMetadata
967
+ # @private
968
+ class Representation < Google::Apis::Core::JsonRepresentation
969
+ property :complete_time, as: 'completeTime'
970
+ property :create_time, as: 'createTime'
971
+ property :gitlab_config, as: 'gitlabConfig'
972
+ end
973
+ end
974
+
703
975
  class CreateWorkerPoolOperationMetadata
704
976
  # @private
705
977
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -709,6 +981,15 @@ module Google
709
981
  end
710
982
  end
711
983
 
984
+ class DeleteBitbucketServerConfigOperationMetadata
985
+ # @private
986
+ class Representation < Google::Apis::Core::JsonRepresentation
987
+ property :bitbucket_server_config, as: 'bitbucketServerConfig'
988
+ property :complete_time, as: 'completeTime'
989
+ property :create_time, as: 'createTime'
990
+ end
991
+ end
992
+
712
993
  class DeleteGitHubEnterpriseConfigOperationMetadata
713
994
  # @private
714
995
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -718,6 +999,15 @@ module Google
718
999
  end
719
1000
  end
720
1001
 
1002
+ class DeleteGitLabConfigOperationMetadata
1003
+ # @private
1004
+ class Representation < Google::Apis::Core::JsonRepresentation
1005
+ property :complete_time, as: 'completeTime'
1006
+ property :create_time, as: 'createTime'
1007
+ property :gitlab_config, as: 'gitlabConfig'
1008
+ end
1009
+ end
1010
+
721
1011
  class DeleteWorkerPoolOperationMetadata
722
1012
  # @private
723
1013
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -857,6 +1147,24 @@ module Google
857
1147
  end
858
1148
  end
859
1149
 
1150
+ class ListBitbucketServerConfigsResponse
1151
+ # @private
1152
+ class Representation < Google::Apis::Core::JsonRepresentation
1153
+ collection :bitbucket_server_configs, as: 'bitbucketServerConfigs', class: Google::Apis::CloudbuildV1::BitbucketServerConfig, decorator: Google::Apis::CloudbuildV1::BitbucketServerConfig::Representation
1154
+
1155
+ property :next_page_token, as: 'nextPageToken'
1156
+ end
1157
+ end
1158
+
1159
+ class ListBitbucketServerRepositoriesResponse
1160
+ # @private
1161
+ class Representation < Google::Apis::Core::JsonRepresentation
1162
+ collection :bitbucket_server_repositories, as: 'bitbucketServerRepositories', class: Google::Apis::CloudbuildV1::BitbucketServerRepository, decorator: Google::Apis::CloudbuildV1::BitbucketServerRepository::Representation
1163
+
1164
+ property :next_page_token, as: 'nextPageToken'
1165
+ end
1166
+ end
1167
+
860
1168
  class ListBuildTriggersResponse
861
1169
  # @private
862
1170
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1044,6 +1352,14 @@ module Google
1044
1352
  end
1045
1353
  end
1046
1354
 
1355
+ class RemoveBitbucketServerConnectedRepositoryRequest
1356
+ # @private
1357
+ class Representation < Google::Apis::Core::JsonRepresentation
1358
+ property :connected_repository, as: 'connectedRepository', class: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId, decorator: Google::Apis::CloudbuildV1::BitbucketServerRepositoryId::Representation
1359
+
1360
+ end
1361
+ end
1362
+
1047
1363
  class RepoSource
1048
1364
  # @private
1049
1365
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1199,6 +1515,15 @@ module Google
1199
1515
  end
1200
1516
  end
1201
1517
 
1518
+ class UpdateBitbucketServerConfigOperationMetadata
1519
+ # @private
1520
+ class Representation < Google::Apis::Core::JsonRepresentation
1521
+ property :bitbucket_server_config, as: 'bitbucketServerConfig'
1522
+ property :complete_time, as: 'completeTime'
1523
+ property :create_time, as: 'createTime'
1524
+ end
1525
+ end
1526
+
1202
1527
  class UpdateGitHubEnterpriseConfigOperationMetadata
1203
1528
  # @private
1204
1529
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1208,6 +1533,15 @@ module Google
1208
1533
  end
1209
1534
  end
1210
1535
 
1536
+ class UpdateGitLabConfigOperationMetadata
1537
+ # @private
1538
+ class Representation < Google::Apis::Core::JsonRepresentation
1539
+ property :complete_time, as: 'completeTime'
1540
+ property :create_time, as: 'createTime'
1541
+ property :gitlab_config, as: 'gitlabConfig'
1542
+ end
1543
+ end
1544
+
1211
1545
  class UpdateWorkerPoolOperationMetadata
1212
1546
  # @private
1213
1547
  class Representation < Google::Apis::Core::JsonRepresentation