google-apis-cloudbuild_v1 0.21.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.21.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 = "20211115"
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,12 +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
+
61
85
  class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
62
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
87
 
64
88
  include Google::Apis::Core::JsonObjectSupport
65
89
  end
66
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
+
67
127
  class Build
68
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
129
 
@@ -118,24 +178,54 @@ module Google
118
178
  include Google::Apis::Core::JsonObjectSupport
119
179
  end
120
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
+
121
193
  class CreateGitHubEnterpriseConfigOperationMetadata
122
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
195
 
124
196
  include Google::Apis::Core::JsonObjectSupport
125
197
  end
126
198
 
199
+ class CreateGitLabConfigOperationMetadata
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
127
205
  class CreateWorkerPoolOperationMetadata
128
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
207
 
130
208
  include Google::Apis::Core::JsonObjectSupport
131
209
  end
132
210
 
211
+ class DeleteBitbucketServerConfigOperationMetadata
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
133
217
  class DeleteGitHubEnterpriseConfigOperationMetadata
134
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
219
 
136
220
  include Google::Apis::Core::JsonObjectSupport
137
221
  end
138
222
 
223
+ class DeleteGitLabConfigOperationMetadata
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
139
229
  class DeleteWorkerPoolOperationMetadata
140
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
231
 
@@ -220,6 +310,18 @@ module Google
220
310
  include Google::Apis::Core::JsonObjectSupport
221
311
  end
222
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
+
223
325
  class ListBuildTriggersResponse
224
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
327
 
@@ -340,6 +442,12 @@ module Google
340
442
  include Google::Apis::Core::JsonObjectSupport
341
443
  end
342
444
 
445
+ class RemoveBitbucketServerConnectedRepositoryRequest
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
343
451
  class RepoSource
344
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
453
 
@@ -430,12 +538,24 @@ module Google
430
538
  include Google::Apis::Core::JsonObjectSupport
431
539
  end
432
540
 
541
+ class UpdateBitbucketServerConfigOperationMetadata
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
433
547
  class UpdateGitHubEnterpriseConfigOperationMetadata
434
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
549
 
436
550
  include Google::Apis::Core::JsonObjectSupport
437
551
  end
438
552
 
553
+ class UpdateGitLabConfigOperationMetadata
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
439
559
  class UpdateWorkerPoolOperationMetadata
440
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
561
 
@@ -472,6 +592,23 @@ module Google
472
592
  include Google::Apis::Core::JsonObjectSupport
473
593
  end
474
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
+
475
612
  class ApprovalConfig
476
613
  # @private
477
614
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -526,6 +663,22 @@ module Google
526
663
  end
527
664
  end
528
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
+
529
682
  class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
530
683
  # @private
531
684
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -535,6 +688,80 @@ module Google
535
688
  end
536
689
  end
537
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
+
538
765
  class Build
539
766
  # @private
540
767
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -651,6 +878,8 @@ module Google
651
878
  property :approval_config, as: 'approvalConfig', class: Google::Apis::CloudbuildV1::ApprovalConfig, decorator: Google::Apis::CloudbuildV1::ApprovalConfig::Representation
652
879
 
653
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
+
654
883
  property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
655
884
 
656
885
  property :create_time, as: 'createTime'
@@ -707,6 +936,24 @@ module Google
707
936
  end
708
937
  end
709
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
+
710
957
  class CreateGitHubEnterpriseConfigOperationMetadata
711
958
  # @private
712
959
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -716,6 +963,15 @@ module Google
716
963
  end
717
964
  end
718
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
+
719
975
  class CreateWorkerPoolOperationMetadata
720
976
  # @private
721
977
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -725,6 +981,15 @@ module Google
725
981
  end
726
982
  end
727
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
+
728
993
  class DeleteGitHubEnterpriseConfigOperationMetadata
729
994
  # @private
730
995
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -734,6 +999,15 @@ module Google
734
999
  end
735
1000
  end
736
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
+
737
1011
  class DeleteWorkerPoolOperationMetadata
738
1012
  # @private
739
1013
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -873,6 +1147,24 @@ module Google
873
1147
  end
874
1148
  end
875
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
+
876
1168
  class ListBuildTriggersResponse
877
1169
  # @private
878
1170
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1060,6 +1352,14 @@ module Google
1060
1352
  end
1061
1353
  end
1062
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
+
1063
1363
  class RepoSource
1064
1364
  # @private
1065
1365
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1215,6 +1515,15 @@ module Google
1215
1515
  end
1216
1516
  end
1217
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
+
1218
1527
  class UpdateGitHubEnterpriseConfigOperationMetadata
1219
1528
  # @private
1220
1529
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1224,6 +1533,15 @@ module Google
1224
1533
  end
1225
1534
  end
1226
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
+
1227
1545
  class UpdateWorkerPoolOperationMetadata
1228
1546
  # @private
1229
1547
  class Representation < Google::Apis::Core::JsonRepresentation