google-apis-cloudbuild_v1 0.11.0 → 0.15.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.11.0"
19
+ GEM_VERSION = "0.15.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 = "20210709"
25
+ REVISION = "20210813"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,24 @@ module Google
22
22
  module Apis
23
23
  module CloudbuildV1
24
24
 
25
+ class ApprovalConfig
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ApprovalResult
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class ApproveBuildRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
25
43
  class ArtifactObjects
26
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
45
 
@@ -46,6 +64,12 @@ module Google
46
64
  include Google::Apis::Core::JsonObjectSupport
47
65
  end
48
66
 
67
+ class BuildApproval
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
49
73
  class BuildOperationMetadata
50
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
75
 
@@ -88,12 +112,24 @@ module Google
88
112
  include Google::Apis::Core::JsonObjectSupport
89
113
  end
90
114
 
115
+ class CreateGitHubEnterpriseConfigOperationMetadata
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
91
121
  class CreateWorkerPoolOperationMetadata
92
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
123
 
94
124
  include Google::Apis::Core::JsonObjectSupport
95
125
  end
96
126
 
127
+ class DeleteGitHubEnterpriseConfigOperationMetadata
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
97
133
  class DeleteWorkerPoolOperationMetadata
98
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
135
 
@@ -106,18 +142,54 @@ module Google
106
142
  include Google::Apis::Core::JsonObjectSupport
107
143
  end
108
144
 
145
+ class FailureInfo
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
109
151
  class FileHashes
110
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
153
 
112
154
  include Google::Apis::Core::JsonObjectSupport
113
155
  end
114
156
 
157
+ class GitFileSource
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GitHubEnterpriseConfig
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GitHubEnterpriseSecrets
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
115
175
  class GitHubEventsConfig
116
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
177
 
118
178
  include Google::Apis::Core::JsonObjectSupport
119
179
  end
120
180
 
181
+ class GitRepoSource
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleDevtoolsCloudbuildV2OperationMetadata
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
121
193
  class HttpDelivery
122
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
195
 
@@ -154,6 +226,12 @@ module Google
154
226
  include Google::Apis::Core::JsonObjectSupport
155
227
  end
156
228
 
229
+ class ListGithubEnterpriseConfigsResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
157
235
  class ListWorkerPoolsResponse
158
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
237
 
@@ -208,6 +286,12 @@ module Google
208
286
  include Google::Apis::Core::JsonObjectSupport
209
287
  end
210
288
 
289
+ class OperationMetadata
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
211
295
  class PoolOption
212
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
297
 
@@ -220,6 +304,12 @@ module Google
220
304
  include Google::Apis::Core::JsonObjectSupport
221
305
  end
222
306
 
307
+ class ProcessAppManifestCallbackOperationMetadata
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
223
313
  class PubsubConfig
224
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
315
 
@@ -334,6 +424,12 @@ module Google
334
424
  include Google::Apis::Core::JsonObjectSupport
335
425
  end
336
426
 
427
+ class UpdateGitHubEnterpriseConfigOperationMetadata
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
337
433
  class UpdateWorkerPoolOperationMetadata
338
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
435
 
@@ -370,6 +466,32 @@ module Google
370
466
  include Google::Apis::Core::JsonObjectSupport
371
467
  end
372
468
 
469
+ class ApprovalConfig
470
+ # @private
471
+ class Representation < Google::Apis::Core::JsonRepresentation
472
+ property :approval_required, as: 'approvalRequired'
473
+ end
474
+ end
475
+
476
+ class ApprovalResult
477
+ # @private
478
+ class Representation < Google::Apis::Core::JsonRepresentation
479
+ property :approval_time, as: 'approvalTime'
480
+ property :approver_account, as: 'approverAccount'
481
+ property :comment, as: 'comment'
482
+ property :decision, as: 'decision'
483
+ property :url, as: 'url'
484
+ end
485
+ end
486
+
487
+ class ApproveBuildRequest
488
+ # @private
489
+ class Representation < Google::Apis::Core::JsonRepresentation
490
+ property :approval_result, as: 'approvalResult', class: Google::Apis::CloudbuildV1::ApprovalResult, decorator: Google::Apis::CloudbuildV1::ApprovalResult::Representation
491
+
492
+ end
493
+ end
494
+
373
495
  class ArtifactObjects
374
496
  # @private
375
497
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -401,12 +523,16 @@ module Google
401
523
  class Build
402
524
  # @private
403
525
  class Representation < Google::Apis::Core::JsonRepresentation
526
+ property :approval, as: 'approval', class: Google::Apis::CloudbuildV1::BuildApproval, decorator: Google::Apis::CloudbuildV1::BuildApproval::Representation
527
+
404
528
  property :artifacts, as: 'artifacts', class: Google::Apis::CloudbuildV1::Artifacts, decorator: Google::Apis::CloudbuildV1::Artifacts::Representation
405
529
 
406
530
  property :available_secrets, as: 'availableSecrets', class: Google::Apis::CloudbuildV1::Secrets, decorator: Google::Apis::CloudbuildV1::Secrets::Representation
407
531
 
408
532
  property :build_trigger_id, as: 'buildTriggerId'
409
533
  property :create_time, as: 'createTime'
534
+ property :failure_info, as: 'failureInfo', class: Google::Apis::CloudbuildV1::FailureInfo, decorator: Google::Apis::CloudbuildV1::FailureInfo::Representation
535
+
410
536
  property :finish_time, as: 'finishTime'
411
537
  property :id, as: 'id'
412
538
  collection :images, as: 'images'
@@ -441,6 +567,17 @@ module Google
441
567
  end
442
568
  end
443
569
 
570
+ class BuildApproval
571
+ # @private
572
+ class Representation < Google::Apis::Core::JsonRepresentation
573
+ property :config, as: 'config', class: Google::Apis::CloudbuildV1::ApprovalConfig, decorator: Google::Apis::CloudbuildV1::ApprovalConfig::Representation
574
+
575
+ property :result, as: 'result', class: Google::Apis::CloudbuildV1::ApprovalResult, decorator: Google::Apis::CloudbuildV1::ApprovalResult::Representation
576
+
577
+ property :state, as: 'state'
578
+ end
579
+ end
580
+
444
581
  class BuildOperationMetadata
445
582
  # @private
446
583
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -481,6 +618,7 @@ module Google
481
618
  property :name, as: 'name'
482
619
  property :pull_timing, as: 'pullTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
483
620
 
621
+ property :script, as: 'script'
484
622
  collection :secret_env, as: 'secretEnv'
485
623
  property :status, as: 'status'
486
624
  property :timeout, as: 'timeout'
@@ -495,6 +633,8 @@ module Google
495
633
  class BuildTrigger
496
634
  # @private
497
635
  class Representation < Google::Apis::Core::JsonRepresentation
636
+ property :approval_config, as: 'approvalConfig', class: Google::Apis::CloudbuildV1::ApprovalConfig, decorator: Google::Apis::CloudbuildV1::ApprovalConfig::Representation
637
+
498
638
  property :autodetect, as: 'autodetect'
499
639
  property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
500
640
 
@@ -503,6 +643,8 @@ module Google
503
643
  property :disabled, as: 'disabled'
504
644
  property :filename, as: 'filename'
505
645
  property :filter, as: 'filter'
646
+ property :git_file_source, as: 'gitFileSource', class: Google::Apis::CloudbuildV1::GitFileSource, decorator: Google::Apis::CloudbuildV1::GitFileSource::Representation
647
+
506
648
  property :github, as: 'github', class: Google::Apis::CloudbuildV1::GitHubEventsConfig, decorator: Google::Apis::CloudbuildV1::GitHubEventsConfig::Representation
507
649
 
508
650
  property :id, as: 'id'
@@ -512,6 +654,9 @@ module Google
512
654
  property :pubsub_config, as: 'pubsubConfig', class: Google::Apis::CloudbuildV1::PubsubConfig, decorator: Google::Apis::CloudbuildV1::PubsubConfig::Representation
513
655
 
514
656
  property :resource_name, as: 'resourceName'
657
+ property :service_account, as: 'serviceAccount'
658
+ property :source_to_build, as: 'sourceToBuild', class: Google::Apis::CloudbuildV1::GitRepoSource, decorator: Google::Apis::CloudbuildV1::GitRepoSource::Representation
659
+
515
660
  hash :substitutions, as: 'substitutions'
516
661
  collection :tags, as: 'tags'
517
662
  property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
@@ -546,6 +691,15 @@ module Google
546
691
  end
547
692
  end
548
693
 
694
+ class CreateGitHubEnterpriseConfigOperationMetadata
695
+ # @private
696
+ class Representation < Google::Apis::Core::JsonRepresentation
697
+ property :complete_time, as: 'completeTime'
698
+ property :create_time, as: 'createTime'
699
+ property :github_enterprise_config, as: 'githubEnterpriseConfig'
700
+ end
701
+ end
702
+
549
703
  class CreateWorkerPoolOperationMetadata
550
704
  # @private
551
705
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -555,6 +709,15 @@ module Google
555
709
  end
556
710
  end
557
711
 
712
+ class DeleteGitHubEnterpriseConfigOperationMetadata
713
+ # @private
714
+ class Representation < Google::Apis::Core::JsonRepresentation
715
+ property :complete_time, as: 'completeTime'
716
+ property :create_time, as: 'createTime'
717
+ property :github_enterprise_config, as: 'githubEnterpriseConfig'
718
+ end
719
+ end
720
+
558
721
  class DeleteWorkerPoolOperationMetadata
559
722
  # @private
560
723
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -570,6 +733,14 @@ module Google
570
733
  end
571
734
  end
572
735
 
736
+ class FailureInfo
737
+ # @private
738
+ class Representation < Google::Apis::Core::JsonRepresentation
739
+ property :detail, as: 'detail'
740
+ property :type, as: 'type'
741
+ end
742
+ end
743
+
573
744
  class FileHashes
574
745
  # @private
575
746
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -578,9 +749,50 @@ module Google
578
749
  end
579
750
  end
580
751
 
752
+ class GitFileSource
753
+ # @private
754
+ class Representation < Google::Apis::Core::JsonRepresentation
755
+ property :path, as: 'path'
756
+ property :repo_type, as: 'repoType'
757
+ property :revision, as: 'revision'
758
+ property :uri, as: 'uri'
759
+ end
760
+ end
761
+
762
+ class GitHubEnterpriseConfig
763
+ # @private
764
+ class Representation < Google::Apis::Core::JsonRepresentation
765
+ property :app_id, :numeric_string => true, as: 'appId'
766
+ property :create_time, as: 'createTime'
767
+ property :display_name, as: 'displayName'
768
+ property :host_url, as: 'hostUrl'
769
+ property :name, as: 'name'
770
+ property :peered_network, as: 'peeredNetwork'
771
+ property :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1::GitHubEnterpriseSecrets, decorator: Google::Apis::CloudbuildV1::GitHubEnterpriseSecrets::Representation
772
+
773
+ property :ssl_ca, as: 'sslCa'
774
+ property :webhook_key, as: 'webhookKey'
775
+ end
776
+ end
777
+
778
+ class GitHubEnterpriseSecrets
779
+ # @private
780
+ class Representation < Google::Apis::Core::JsonRepresentation
781
+ property :oauth_client_id_name, as: 'oauthClientIdName'
782
+ property :oauth_client_id_version_name, as: 'oauthClientIdVersionName'
783
+ property :oauth_secret_name, as: 'oauthSecretName'
784
+ property :oauth_secret_version_name, as: 'oauthSecretVersionName'
785
+ property :private_key_name, as: 'privateKeyName'
786
+ property :private_key_version_name, as: 'privateKeyVersionName'
787
+ property :webhook_secret_name, as: 'webhookSecretName'
788
+ property :webhook_secret_version_name, as: 'webhookSecretVersionName'
789
+ end
790
+ end
791
+
581
792
  class GitHubEventsConfig
582
793
  # @private
583
794
  class Representation < Google::Apis::Core::JsonRepresentation
795
+ property :enterprise_config_resource_name, as: 'enterpriseConfigResourceName'
584
796
  property :installation_id, :numeric_string => true, as: 'installationId'
585
797
  property :name, as: 'name'
586
798
  property :owner, as: 'owner'
@@ -591,6 +803,28 @@ module Google
591
803
  end
592
804
  end
593
805
 
806
+ class GitRepoSource
807
+ # @private
808
+ class Representation < Google::Apis::Core::JsonRepresentation
809
+ property :ref, as: 'ref'
810
+ property :repo_type, as: 'repoType'
811
+ property :uri, as: 'uri'
812
+ end
813
+ end
814
+
815
+ class GoogleDevtoolsCloudbuildV2OperationMetadata
816
+ # @private
817
+ class Representation < Google::Apis::Core::JsonRepresentation
818
+ property :api_version, as: 'apiVersion'
819
+ property :create_time, as: 'createTime'
820
+ property :end_time, as: 'endTime'
821
+ property :requested_cancellation, as: 'requestedCancellation'
822
+ property :status_message, as: 'statusMessage'
823
+ property :target, as: 'target'
824
+ property :verb, as: 'verb'
825
+ end
826
+ end
827
+
594
828
  class HttpDelivery
595
829
  # @private
596
830
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -641,6 +875,14 @@ module Google
641
875
  end
642
876
  end
643
877
 
878
+ class ListGithubEnterpriseConfigsResponse
879
+ # @private
880
+ class Representation < Google::Apis::Core::JsonRepresentation
881
+ collection :configs, as: 'configs', class: Google::Apis::CloudbuildV1::GitHubEnterpriseConfig, decorator: Google::Apis::CloudbuildV1::GitHubEnterpriseConfig::Representation
882
+
883
+ end
884
+ end
885
+
644
886
  class ListWorkerPoolsResponse
645
887
  # @private
646
888
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -729,6 +971,19 @@ module Google
729
971
  end
730
972
  end
731
973
 
974
+ class OperationMetadata
975
+ # @private
976
+ class Representation < Google::Apis::Core::JsonRepresentation
977
+ property :api_version, as: 'apiVersion'
978
+ property :cancel_requested, as: 'cancelRequested'
979
+ property :create_time, as: 'createTime'
980
+ property :end_time, as: 'endTime'
981
+ property :status_detail, as: 'statusDetail'
982
+ property :target, as: 'target'
983
+ property :verb, as: 'verb'
984
+ end
985
+ end
986
+
732
987
  class PoolOption
733
988
  # @private
734
989
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -746,6 +1001,15 @@ module Google
746
1001
  end
747
1002
  end
748
1003
 
1004
+ class ProcessAppManifestCallbackOperationMetadata
1005
+ # @private
1006
+ class Representation < Google::Apis::Core::JsonRepresentation
1007
+ property :complete_time, as: 'completeTime'
1008
+ property :create_time, as: 'createTime'
1009
+ property :github_enterprise_config, as: 'githubEnterpriseConfig'
1010
+ end
1011
+ end
1012
+
749
1013
  class PubsubConfig
750
1014
  # @private
751
1015
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -935,6 +1199,15 @@ module Google
935
1199
  end
936
1200
  end
937
1201
 
1202
+ class UpdateGitHubEnterpriseConfigOperationMetadata
1203
+ # @private
1204
+ class Representation < Google::Apis::Core::JsonRepresentation
1205
+ property :complete_time, as: 'completeTime'
1206
+ property :create_time, as: 'createTime'
1207
+ property :github_enterprise_config, as: 'githubEnterpriseConfig'
1208
+ end
1209
+ end
1210
+
938
1211
  class UpdateWorkerPoolOperationMetadata
939
1212
  # @private
940
1213
  class Representation < Google::Apis::Core::JsonRepresentation