google-apis-cloudbuild_v1 0.9.0 → 0.13.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.9.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210613"
25
+ REVISION = "20210723"
26
26
  end
27
27
  end
28
28
  end
@@ -88,24 +88,78 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class CreateGitHubEnterpriseConfigOperationMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class CreateWorkerPoolOperationMetadata
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class DeleteGitHubEnterpriseConfigOperationMetadata
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class DeleteWorkerPoolOperationMetadata
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
91
115
  class Empty
92
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
117
 
94
118
  include Google::Apis::Core::JsonObjectSupport
95
119
  end
96
120
 
121
+ class FailureInfo
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
97
127
  class FileHashes
98
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
129
 
100
130
  include Google::Apis::Core::JsonObjectSupport
101
131
  end
102
132
 
133
+ class GitHubEnterpriseConfig
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GitHubEnterpriseSecrets
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
103
145
  class GitHubEventsConfig
104
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
147
 
106
148
  include Google::Apis::Core::JsonObjectSupport
107
149
  end
108
150
 
151
+ class GitRepoSource
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleDevtoolsCloudbuildV2OperationMetadata
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
109
163
  class HttpDelivery
110
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
165
 
@@ -142,6 +196,24 @@ module Google
142
196
  include Google::Apis::Core::JsonObjectSupport
143
197
  end
144
198
 
199
+ class ListGithubEnterpriseConfigsResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class ListWorkerPoolsResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class NetworkConfig
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
145
217
  class Notification
146
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
219
 
@@ -184,6 +256,30 @@ module Google
184
256
  include Google::Apis::Core::JsonObjectSupport
185
257
  end
186
258
 
259
+ class OperationMetadata
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class PoolOption
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class PrivatePoolV1Config
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ProcessAppManifestCallbackOperationMetadata
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
187
283
  class PubsubConfig
188
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
285
 
@@ -298,6 +394,18 @@ module Google
298
394
  include Google::Apis::Core::JsonObjectSupport
299
395
  end
300
396
 
397
+ class UpdateGitHubEnterpriseConfigOperationMetadata
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class UpdateWorkerPoolOperationMetadata
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
301
409
  class Volume
302
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
411
 
@@ -316,6 +424,18 @@ module Google
316
424
  include Google::Apis::Core::JsonObjectSupport
317
425
  end
318
426
 
427
+ class WorkerConfig
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class WorkerPool
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
319
439
  class ArtifactObjects
320
440
  # @private
321
441
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -353,6 +473,8 @@ module Google
353
473
 
354
474
  property :build_trigger_id, as: 'buildTriggerId'
355
475
  property :create_time, as: 'createTime'
476
+ property :failure_info, as: 'failureInfo', class: Google::Apis::CloudbuildV1::FailureInfo, decorator: Google::Apis::CloudbuildV1::FailureInfo::Representation
477
+
356
478
  property :finish_time, as: 'finishTime'
357
479
  property :id, as: 'id'
358
480
  collection :images, as: 'images'
@@ -404,6 +526,8 @@ module Google
404
526
  property :log_streaming_option, as: 'logStreamingOption'
405
527
  property :logging, as: 'logging'
406
528
  property :machine_type, as: 'machineType'
529
+ property :pool, as: 'pool', class: Google::Apis::CloudbuildV1::PoolOption, decorator: Google::Apis::CloudbuildV1::PoolOption::Representation
530
+
407
531
  property :requested_verify_option, as: 'requestedVerifyOption'
408
532
  collection :secret_env, as: 'secretEnv'
409
533
  collection :source_provenance_hash, as: 'sourceProvenanceHash'
@@ -439,6 +563,7 @@ module Google
439
563
  class BuildTrigger
440
564
  # @private
441
565
  class Representation < Google::Apis::Core::JsonRepresentation
566
+ property :autodetect, as: 'autodetect'
442
567
  property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
443
568
 
444
569
  property :create_time, as: 'createTime'
@@ -455,6 +580,9 @@ module Google
455
580
  property :pubsub_config, as: 'pubsubConfig', class: Google::Apis::CloudbuildV1::PubsubConfig, decorator: Google::Apis::CloudbuildV1::PubsubConfig::Representation
456
581
 
457
582
  property :resource_name, as: 'resourceName'
583
+ property :service_account, as: 'serviceAccount'
584
+ property :source_to_build, as: 'sourceToBuild', class: Google::Apis::CloudbuildV1::GitRepoSource, decorator: Google::Apis::CloudbuildV1::GitRepoSource::Representation
585
+
458
586
  hash :substitutions, as: 'substitutions'
459
587
  collection :tags, as: 'tags'
460
588
  property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
@@ -489,12 +617,56 @@ module Google
489
617
  end
490
618
  end
491
619
 
620
+ class CreateGitHubEnterpriseConfigOperationMetadata
621
+ # @private
622
+ class Representation < Google::Apis::Core::JsonRepresentation
623
+ property :complete_time, as: 'completeTime'
624
+ property :create_time, as: 'createTime'
625
+ property :github_enterprise_config, as: 'githubEnterpriseConfig'
626
+ end
627
+ end
628
+
629
+ class CreateWorkerPoolOperationMetadata
630
+ # @private
631
+ class Representation < Google::Apis::Core::JsonRepresentation
632
+ property :complete_time, as: 'completeTime'
633
+ property :create_time, as: 'createTime'
634
+ property :worker_pool, as: 'workerPool'
635
+ end
636
+ end
637
+
638
+ class DeleteGitHubEnterpriseConfigOperationMetadata
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ property :complete_time, as: 'completeTime'
642
+ property :create_time, as: 'createTime'
643
+ property :github_enterprise_config, as: 'githubEnterpriseConfig'
644
+ end
645
+ end
646
+
647
+ class DeleteWorkerPoolOperationMetadata
648
+ # @private
649
+ class Representation < Google::Apis::Core::JsonRepresentation
650
+ property :complete_time, as: 'completeTime'
651
+ property :create_time, as: 'createTime'
652
+ property :worker_pool, as: 'workerPool'
653
+ end
654
+ end
655
+
492
656
  class Empty
493
657
  # @private
494
658
  class Representation < Google::Apis::Core::JsonRepresentation
495
659
  end
496
660
  end
497
661
 
662
+ class FailureInfo
663
+ # @private
664
+ class Representation < Google::Apis::Core::JsonRepresentation
665
+ property :detail, as: 'detail'
666
+ property :type, as: 'type'
667
+ end
668
+ end
669
+
498
670
  class FileHashes
499
671
  # @private
500
672
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -503,9 +675,40 @@ module Google
503
675
  end
504
676
  end
505
677
 
678
+ class GitHubEnterpriseConfig
679
+ # @private
680
+ class Representation < Google::Apis::Core::JsonRepresentation
681
+ property :app_id, :numeric_string => true, as: 'appId'
682
+ property :create_time, as: 'createTime'
683
+ property :display_name, as: 'displayName'
684
+ property :host_url, as: 'hostUrl'
685
+ property :name, as: 'name'
686
+ property :peered_network, as: 'peeredNetwork'
687
+ property :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1::GitHubEnterpriseSecrets, decorator: Google::Apis::CloudbuildV1::GitHubEnterpriseSecrets::Representation
688
+
689
+ property :ssl_ca, as: 'sslCa'
690
+ property :webhook_key, as: 'webhookKey'
691
+ end
692
+ end
693
+
694
+ class GitHubEnterpriseSecrets
695
+ # @private
696
+ class Representation < Google::Apis::Core::JsonRepresentation
697
+ property :oauth_client_id_name, as: 'oauthClientIdName'
698
+ property :oauth_client_id_version_name, as: 'oauthClientIdVersionName'
699
+ property :oauth_secret_name, as: 'oauthSecretName'
700
+ property :oauth_secret_version_name, as: 'oauthSecretVersionName'
701
+ property :private_key_name, as: 'privateKeyName'
702
+ property :private_key_version_name, as: 'privateKeyVersionName'
703
+ property :webhook_secret_name, as: 'webhookSecretName'
704
+ property :webhook_secret_version_name, as: 'webhookSecretVersionName'
705
+ end
706
+ end
707
+
506
708
  class GitHubEventsConfig
507
709
  # @private
508
710
  class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :enterprise_config_resource_name, as: 'enterpriseConfigResourceName'
509
712
  property :installation_id, :numeric_string => true, as: 'installationId'
510
713
  property :name, as: 'name'
511
714
  property :owner, as: 'owner'
@@ -516,6 +719,28 @@ module Google
516
719
  end
517
720
  end
518
721
 
722
+ class GitRepoSource
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ property :ref, as: 'ref'
726
+ property :repo_type, as: 'repoType'
727
+ property :uri, as: 'uri'
728
+ end
729
+ end
730
+
731
+ class GoogleDevtoolsCloudbuildV2OperationMetadata
732
+ # @private
733
+ class Representation < Google::Apis::Core::JsonRepresentation
734
+ property :api_version, as: 'apiVersion'
735
+ property :create_time, as: 'createTime'
736
+ property :end_time, as: 'endTime'
737
+ property :requested_cancellation, as: 'requestedCancellation'
738
+ property :status_message, as: 'statusMessage'
739
+ property :target, as: 'target'
740
+ property :verb, as: 'verb'
741
+ end
742
+ end
743
+
519
744
  class HttpDelivery
520
745
  # @private
521
746
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -566,6 +791,31 @@ module Google
566
791
  end
567
792
  end
568
793
 
794
+ class ListGithubEnterpriseConfigsResponse
795
+ # @private
796
+ class Representation < Google::Apis::Core::JsonRepresentation
797
+ collection :configs, as: 'configs', class: Google::Apis::CloudbuildV1::GitHubEnterpriseConfig, decorator: Google::Apis::CloudbuildV1::GitHubEnterpriseConfig::Representation
798
+
799
+ end
800
+ end
801
+
802
+ class ListWorkerPoolsResponse
803
+ # @private
804
+ class Representation < Google::Apis::Core::JsonRepresentation
805
+ property :next_page_token, as: 'nextPageToken'
806
+ collection :worker_pools, as: 'workerPools', class: Google::Apis::CloudbuildV1::WorkerPool, decorator: Google::Apis::CloudbuildV1::WorkerPool::Representation
807
+
808
+ end
809
+ end
810
+
811
+ class NetworkConfig
812
+ # @private
813
+ class Representation < Google::Apis::Core::JsonRepresentation
814
+ property :egress_option, as: 'egressOption'
815
+ property :peered_network, as: 'peeredNetwork'
816
+ end
817
+ end
818
+
569
819
  class Notification
570
820
  # @private
571
821
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -637,6 +887,45 @@ module Google
637
887
  end
638
888
  end
639
889
 
890
+ class OperationMetadata
891
+ # @private
892
+ class Representation < Google::Apis::Core::JsonRepresentation
893
+ property :api_version, as: 'apiVersion'
894
+ property :cancel_requested, as: 'cancelRequested'
895
+ property :create_time, as: 'createTime'
896
+ property :end_time, as: 'endTime'
897
+ property :status_detail, as: 'statusDetail'
898
+ property :target, as: 'target'
899
+ property :verb, as: 'verb'
900
+ end
901
+ end
902
+
903
+ class PoolOption
904
+ # @private
905
+ class Representation < Google::Apis::Core::JsonRepresentation
906
+ property :name, as: 'name'
907
+ end
908
+ end
909
+
910
+ class PrivatePoolV1Config
911
+ # @private
912
+ class Representation < Google::Apis::Core::JsonRepresentation
913
+ property :network_config, as: 'networkConfig', class: Google::Apis::CloudbuildV1::NetworkConfig, decorator: Google::Apis::CloudbuildV1::NetworkConfig::Representation
914
+
915
+ property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1::WorkerConfig, decorator: Google::Apis::CloudbuildV1::WorkerConfig::Representation
916
+
917
+ end
918
+ end
919
+
920
+ class ProcessAppManifestCallbackOperationMetadata
921
+ # @private
922
+ class Representation < Google::Apis::Core::JsonRepresentation
923
+ property :complete_time, as: 'completeTime'
924
+ property :create_time, as: 'createTime'
925
+ property :github_enterprise_config, as: 'githubEnterpriseConfig'
926
+ end
927
+ end
928
+
640
929
  class PubsubConfig
641
930
  # @private
642
931
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -826,6 +1115,24 @@ module Google
826
1115
  end
827
1116
  end
828
1117
 
1118
+ class UpdateGitHubEnterpriseConfigOperationMetadata
1119
+ # @private
1120
+ class Representation < Google::Apis::Core::JsonRepresentation
1121
+ property :complete_time, as: 'completeTime'
1122
+ property :create_time, as: 'createTime'
1123
+ property :github_enterprise_config, as: 'githubEnterpriseConfig'
1124
+ end
1125
+ end
1126
+
1127
+ class UpdateWorkerPoolOperationMetadata
1128
+ # @private
1129
+ class Representation < Google::Apis::Core::JsonRepresentation
1130
+ property :complete_time, as: 'completeTime'
1131
+ property :create_time, as: 'createTime'
1132
+ property :worker_pool, as: 'workerPool'
1133
+ end
1134
+ end
1135
+
829
1136
  class Volume
830
1137
  # @private
831
1138
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -849,6 +1156,31 @@ module Google
849
1156
  property :state, as: 'state'
850
1157
  end
851
1158
  end
1159
+
1160
+ class WorkerConfig
1161
+ # @private
1162
+ class Representation < Google::Apis::Core::JsonRepresentation
1163
+ property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1164
+ property :machine_type, as: 'machineType'
1165
+ end
1166
+ end
1167
+
1168
+ class WorkerPool
1169
+ # @private
1170
+ class Representation < Google::Apis::Core::JsonRepresentation
1171
+ hash :annotations, as: 'annotations'
1172
+ property :create_time, as: 'createTime'
1173
+ property :delete_time, as: 'deleteTime'
1174
+ property :display_name, as: 'displayName'
1175
+ property :etag, as: 'etag'
1176
+ property :name, as: 'name'
1177
+ property :private_pool_v1_config, as: 'privatePoolV1Config', class: Google::Apis::CloudbuildV1::PrivatePoolV1Config, decorator: Google::Apis::CloudbuildV1::PrivatePoolV1Config::Representation
1178
+
1179
+ property :state, as: 'state'
1180
+ property :uid, as: 'uid'
1181
+ property :update_time, as: 'updateTime'
1182
+ end
1183
+ end
852
1184
  end
853
1185
  end
854
1186
  end