google-apis-cloudbuild_v1alpha2 0.7.0 → 0.11.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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e81b3fbc91b9a4390c9f30b16fe4373293cc5af1dbc315c3f87f7993c8da0293
|
4
|
+
data.tar.gz: e2cc1f1a232f1d265263063e3ea1554dbc5116109514217192cb690b08265c1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d219364f16dbf032683a52f2dbe7502f04ae9792c506f899c2c3b3fffa63382c1879ef1c844465332f446625e9b51b7a783c74d28034f4a89e866a89196a4c3f
|
7
|
+
data.tar.gz: 733e2014580838d9134fa5bc6c79392b356c09ea452ec629f34f1c35f49301bc15fe00e954b59ddfb8f9723805384ec195d0ea579e8a1ada428c43153c13a766
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1alpha2
|
2
2
|
|
3
|
+
### v0.11.0 (2021-07-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210723
|
6
|
+
|
7
|
+
### v0.10.0 (2021-07-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210715
|
10
|
+
|
11
|
+
### v0.9.0 (2021-07-13)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210709
|
14
|
+
|
15
|
+
### v0.8.0 (2021-07-03)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210701
|
18
|
+
* Regenerated using generator version 0.4.0
|
19
|
+
|
3
20
|
### v0.7.0 (2021-06-24)
|
4
21
|
|
5
22
|
* Regenerated using generator version 0.3.0
|
@@ -151,6 +151,11 @@ module Google
|
|
151
151
|
# @return [String]
|
152
152
|
attr_accessor :create_time
|
153
153
|
|
154
|
+
# A fatal problem encountered during the execution of the build.
|
155
|
+
# Corresponds to the JSON property `failureInfo`
|
156
|
+
# @return [Google::Apis::CloudbuildV1alpha2::FailureInfo]
|
157
|
+
attr_accessor :failure_info
|
158
|
+
|
154
159
|
# Output only. Time at which execution of the build was finished. The difference
|
155
160
|
# between finish_time and start_time is the duration of the build's execution.
|
156
161
|
# Corresponds to the JSON property `finishTime`
|
@@ -278,9 +283,10 @@ module Google
|
|
278
283
|
attr_accessor :timeout
|
279
284
|
|
280
285
|
# Output only. Stores timing information for phases of the build. Valid keys are:
|
281
|
-
# * BUILD: time to execute all build steps * PUSH: time to push all specified
|
282
|
-
# images. * FETCHSOURCE: time to fetch source.
|
283
|
-
# source or images, these keys will not be
|
286
|
+
# * BUILD: time to execute all build steps. * PUSH: time to push all specified
|
287
|
+
# images. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up
|
288
|
+
# build. If the build does not specify source or images, these keys will not be
|
289
|
+
# included.
|
284
290
|
# Corresponds to the JSON property `timing`
|
285
291
|
# @return [Hash<String,Google::Apis::CloudbuildV1alpha2::TimeSpan>]
|
286
292
|
attr_accessor :timing
|
@@ -300,6 +306,7 @@ module Google
|
|
300
306
|
@available_secrets = args[:available_secrets] if args.key?(:available_secrets)
|
301
307
|
@build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
|
302
308
|
@create_time = args[:create_time] if args.key?(:create_time)
|
309
|
+
@failure_info = args[:failure_info] if args.key?(:failure_info)
|
303
310
|
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
304
311
|
@id = args[:id] if args.key?(:id)
|
305
312
|
@images = args[:images] if args.key?(:images)
|
@@ -402,6 +409,13 @@ module Google
|
|
402
409
|
# @return [String]
|
403
410
|
attr_accessor :machine_type
|
404
411
|
|
412
|
+
# Details about how a build should be executed on a `WorkerPool`. See [running
|
413
|
+
# builds in a private pool](https://cloud.google.com/build/docs/private-pools/
|
414
|
+
# run-builds-in-private-pool) for more information.
|
415
|
+
# Corresponds to the JSON property `pool`
|
416
|
+
# @return [Google::Apis::CloudbuildV1alpha2::PoolOption]
|
417
|
+
attr_accessor :pool
|
418
|
+
|
405
419
|
# Requested verifiability options.
|
406
420
|
# Corresponds to the JSON property `requestedVerifyOption`
|
407
421
|
# @return [String]
|
@@ -436,9 +450,7 @@ module Google
|
|
436
450
|
# @return [Array<Google::Apis::CloudbuildV1alpha2::Volume>]
|
437
451
|
attr_accessor :volumes
|
438
452
|
|
439
|
-
#
|
440
|
-
# locations/`location`/workerPools/`workerPool` This field is in beta and is
|
441
|
-
# available only to restricted users.
|
453
|
+
# This field deprecated; please use `pool.name` instead.
|
442
454
|
# Corresponds to the JSON property `workerPool`
|
443
455
|
# @return [String]
|
444
456
|
attr_accessor :worker_pool
|
@@ -455,6 +467,7 @@ module Google
|
|
455
467
|
@log_streaming_option = args[:log_streaming_option] if args.key?(:log_streaming_option)
|
456
468
|
@logging = args[:logging] if args.key?(:logging)
|
457
469
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
470
|
+
@pool = args[:pool] if args.key?(:pool)
|
458
471
|
@requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
|
459
472
|
@secret_env = args[:secret_env] if args.key?(:secret_env)
|
460
473
|
@source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
|
@@ -637,6 +650,134 @@ module Google
|
|
637
650
|
end
|
638
651
|
end
|
639
652
|
|
653
|
+
# Metadata for `CreateGithubEnterpriseConfig` operation.
|
654
|
+
class CreateGitHubEnterpriseConfigOperationMetadata
|
655
|
+
include Google::Apis::Core::Hashable
|
656
|
+
|
657
|
+
# Time the operation was completed.
|
658
|
+
# Corresponds to the JSON property `completeTime`
|
659
|
+
# @return [String]
|
660
|
+
attr_accessor :complete_time
|
661
|
+
|
662
|
+
# Time the operation was created.
|
663
|
+
# Corresponds to the JSON property `createTime`
|
664
|
+
# @return [String]
|
665
|
+
attr_accessor :create_time
|
666
|
+
|
667
|
+
# The resource name of the GitHubEnterprise to be created. Format: `projects/`
|
668
|
+
# project`/locations/`location`/githubEnterpriseConfigs/`id``.
|
669
|
+
# Corresponds to the JSON property `githubEnterpriseConfig`
|
670
|
+
# @return [String]
|
671
|
+
attr_accessor :github_enterprise_config
|
672
|
+
|
673
|
+
def initialize(**args)
|
674
|
+
update!(**args)
|
675
|
+
end
|
676
|
+
|
677
|
+
# Update properties of this object
|
678
|
+
def update!(**args)
|
679
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
680
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
681
|
+
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
682
|
+
end
|
683
|
+
end
|
684
|
+
|
685
|
+
# Metadata for the `CreateWorkerPool` operation.
|
686
|
+
class CreateWorkerPoolOperationMetadata
|
687
|
+
include Google::Apis::Core::Hashable
|
688
|
+
|
689
|
+
# Time the operation was completed.
|
690
|
+
# Corresponds to the JSON property `completeTime`
|
691
|
+
# @return [String]
|
692
|
+
attr_accessor :complete_time
|
693
|
+
|
694
|
+
# Time the operation was created.
|
695
|
+
# Corresponds to the JSON property `createTime`
|
696
|
+
# @return [String]
|
697
|
+
attr_accessor :create_time
|
698
|
+
|
699
|
+
# The resource name of the `WorkerPool` to create. Format: `projects/`project`/
|
700
|
+
# locations/`location`/workerPools/`worker_pool``.
|
701
|
+
# Corresponds to the JSON property `workerPool`
|
702
|
+
# @return [String]
|
703
|
+
attr_accessor :worker_pool
|
704
|
+
|
705
|
+
def initialize(**args)
|
706
|
+
update!(**args)
|
707
|
+
end
|
708
|
+
|
709
|
+
# Update properties of this object
|
710
|
+
def update!(**args)
|
711
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
712
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
713
|
+
@worker_pool = args[:worker_pool] if args.key?(:worker_pool)
|
714
|
+
end
|
715
|
+
end
|
716
|
+
|
717
|
+
# Metadata for `DeleteGitHubEnterpriseConfig` operation.
|
718
|
+
class DeleteGitHubEnterpriseConfigOperationMetadata
|
719
|
+
include Google::Apis::Core::Hashable
|
720
|
+
|
721
|
+
# Time the operation was completed.
|
722
|
+
# Corresponds to the JSON property `completeTime`
|
723
|
+
# @return [String]
|
724
|
+
attr_accessor :complete_time
|
725
|
+
|
726
|
+
# Time the operation was created.
|
727
|
+
# Corresponds to the JSON property `createTime`
|
728
|
+
# @return [String]
|
729
|
+
attr_accessor :create_time
|
730
|
+
|
731
|
+
# The resource name of the GitHubEnterprise to be deleted. Format: `projects/`
|
732
|
+
# project`/locations/`location`/githubEnterpriseConfigs/`id``.
|
733
|
+
# Corresponds to the JSON property `githubEnterpriseConfig`
|
734
|
+
# @return [String]
|
735
|
+
attr_accessor :github_enterprise_config
|
736
|
+
|
737
|
+
def initialize(**args)
|
738
|
+
update!(**args)
|
739
|
+
end
|
740
|
+
|
741
|
+
# Update properties of this object
|
742
|
+
def update!(**args)
|
743
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
744
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
745
|
+
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
746
|
+
end
|
747
|
+
end
|
748
|
+
|
749
|
+
# Metadata for the `DeleteWorkerPool` operation.
|
750
|
+
class DeleteWorkerPoolOperationMetadata
|
751
|
+
include Google::Apis::Core::Hashable
|
752
|
+
|
753
|
+
# Time the operation was completed.
|
754
|
+
# Corresponds to the JSON property `completeTime`
|
755
|
+
# @return [String]
|
756
|
+
attr_accessor :complete_time
|
757
|
+
|
758
|
+
# Time the operation was created.
|
759
|
+
# Corresponds to the JSON property `createTime`
|
760
|
+
# @return [String]
|
761
|
+
attr_accessor :create_time
|
762
|
+
|
763
|
+
# The resource name of the `WorkerPool` being deleted. Format: `projects/`
|
764
|
+
# project`/locations/`location`/workerPools/`worker_pool``.
|
765
|
+
# Corresponds to the JSON property `workerPool`
|
766
|
+
# @return [String]
|
767
|
+
attr_accessor :worker_pool
|
768
|
+
|
769
|
+
def initialize(**args)
|
770
|
+
update!(**args)
|
771
|
+
end
|
772
|
+
|
773
|
+
# Update properties of this object
|
774
|
+
def update!(**args)
|
775
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
776
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
777
|
+
@worker_pool = args[:worker_pool] if args.key?(:worker_pool)
|
778
|
+
end
|
779
|
+
end
|
780
|
+
|
640
781
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
641
782
|
# messages in your APIs. A typical example is to use it as the request or the
|
642
783
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -654,6 +795,31 @@ module Google
|
|
654
795
|
end
|
655
796
|
end
|
656
797
|
|
798
|
+
# A fatal problem encountered during the execution of the build.
|
799
|
+
class FailureInfo
|
800
|
+
include Google::Apis::Core::Hashable
|
801
|
+
|
802
|
+
# Explains the failure issue in more detail using hard-coded text.
|
803
|
+
# Corresponds to the JSON property `detail`
|
804
|
+
# @return [String]
|
805
|
+
attr_accessor :detail
|
806
|
+
|
807
|
+
# The name of the failure.
|
808
|
+
# Corresponds to the JSON property `type`
|
809
|
+
# @return [String]
|
810
|
+
attr_accessor :type
|
811
|
+
|
812
|
+
def initialize(**args)
|
813
|
+
update!(**args)
|
814
|
+
end
|
815
|
+
|
816
|
+
# Update properties of this object
|
817
|
+
def update!(**args)
|
818
|
+
@detail = args[:detail] if args.key?(:detail)
|
819
|
+
@type = args[:type] if args.key?(:type)
|
820
|
+
end
|
821
|
+
end
|
822
|
+
|
657
823
|
# Container message for hashes of byte content of files, used in
|
658
824
|
# SourceProvenance messages to verify integrity of source input to the build.
|
659
825
|
class FileHashes
|
@@ -674,6 +840,65 @@ module Google
|
|
674
840
|
end
|
675
841
|
end
|
676
842
|
|
843
|
+
# Represents the metadata of the long-running operation.
|
844
|
+
class GoogleDevtoolsCloudbuildV2OperationMetadata
|
845
|
+
include Google::Apis::Core::Hashable
|
846
|
+
|
847
|
+
# Output only. API version used to start the operation.
|
848
|
+
# Corresponds to the JSON property `apiVersion`
|
849
|
+
# @return [String]
|
850
|
+
attr_accessor :api_version
|
851
|
+
|
852
|
+
# Output only. The time the operation was created.
|
853
|
+
# Corresponds to the JSON property `createTime`
|
854
|
+
# @return [String]
|
855
|
+
attr_accessor :create_time
|
856
|
+
|
857
|
+
# Output only. The time the operation finished running.
|
858
|
+
# Corresponds to the JSON property `endTime`
|
859
|
+
# @return [String]
|
860
|
+
attr_accessor :end_time
|
861
|
+
|
862
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
863
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
864
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
865
|
+
# CANCELLED`.
|
866
|
+
# Corresponds to the JSON property `requestedCancellation`
|
867
|
+
# @return [Boolean]
|
868
|
+
attr_accessor :requested_cancellation
|
869
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
870
|
+
|
871
|
+
# Output only. Human-readable status of the operation, if any.
|
872
|
+
# Corresponds to the JSON property `statusMessage`
|
873
|
+
# @return [String]
|
874
|
+
attr_accessor :status_message
|
875
|
+
|
876
|
+
# Output only. Server-defined resource path for the target of the operation.
|
877
|
+
# Corresponds to the JSON property `target`
|
878
|
+
# @return [String]
|
879
|
+
attr_accessor :target
|
880
|
+
|
881
|
+
# Output only. Name of the verb executed by the operation.
|
882
|
+
# Corresponds to the JSON property `verb`
|
883
|
+
# @return [String]
|
884
|
+
attr_accessor :verb
|
885
|
+
|
886
|
+
def initialize(**args)
|
887
|
+
update!(**args)
|
888
|
+
end
|
889
|
+
|
890
|
+
# Update properties of this object
|
891
|
+
def update!(**args)
|
892
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
893
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
894
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
895
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
896
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
897
|
+
@target = args[:target] if args.key?(:target)
|
898
|
+
@verb = args[:verb] if args.key?(:verb)
|
899
|
+
end
|
900
|
+
end
|
901
|
+
|
677
902
|
# HTTPDelivery is the delivery configuration for an HTTP notification.
|
678
903
|
class HttpDelivery
|
679
904
|
include Google::Apis::Core::Hashable
|
@@ -1045,6 +1270,120 @@ module Google
|
|
1045
1270
|
end
|
1046
1271
|
end
|
1047
1272
|
|
1273
|
+
# Represents the metadata of the long-running operation.
|
1274
|
+
class OperationMetadata
|
1275
|
+
include Google::Apis::Core::Hashable
|
1276
|
+
|
1277
|
+
# Output only. API version used to start the operation.
|
1278
|
+
# Corresponds to the JSON property `apiVersion`
|
1279
|
+
# @return [String]
|
1280
|
+
attr_accessor :api_version
|
1281
|
+
|
1282
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
1283
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
1284
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1285
|
+
# CANCELLED`.
|
1286
|
+
# Corresponds to the JSON property `cancelRequested`
|
1287
|
+
# @return [Boolean]
|
1288
|
+
attr_accessor :cancel_requested
|
1289
|
+
alias_method :cancel_requested?, :cancel_requested
|
1290
|
+
|
1291
|
+
# Output only. The time the operation was created.
|
1292
|
+
# Corresponds to the JSON property `createTime`
|
1293
|
+
# @return [String]
|
1294
|
+
attr_accessor :create_time
|
1295
|
+
|
1296
|
+
# Output only. The time the operation finished running.
|
1297
|
+
# Corresponds to the JSON property `endTime`
|
1298
|
+
# @return [String]
|
1299
|
+
attr_accessor :end_time
|
1300
|
+
|
1301
|
+
# Output only. Human-readable status of the operation, if any.
|
1302
|
+
# Corresponds to the JSON property `statusDetail`
|
1303
|
+
# @return [String]
|
1304
|
+
attr_accessor :status_detail
|
1305
|
+
|
1306
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1307
|
+
# Corresponds to the JSON property `target`
|
1308
|
+
# @return [String]
|
1309
|
+
attr_accessor :target
|
1310
|
+
|
1311
|
+
# Output only. Name of the verb executed by the operation.
|
1312
|
+
# Corresponds to the JSON property `verb`
|
1313
|
+
# @return [String]
|
1314
|
+
attr_accessor :verb
|
1315
|
+
|
1316
|
+
def initialize(**args)
|
1317
|
+
update!(**args)
|
1318
|
+
end
|
1319
|
+
|
1320
|
+
# Update properties of this object
|
1321
|
+
def update!(**args)
|
1322
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1323
|
+
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
1324
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1325
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1326
|
+
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
1327
|
+
@target = args[:target] if args.key?(:target)
|
1328
|
+
@verb = args[:verb] if args.key?(:verb)
|
1329
|
+
end
|
1330
|
+
end
|
1331
|
+
|
1332
|
+
# Details about how a build should be executed on a `WorkerPool`. See [running
|
1333
|
+
# builds in a private pool](https://cloud.google.com/build/docs/private-pools/
|
1334
|
+
# run-builds-in-private-pool) for more information.
|
1335
|
+
class PoolOption
|
1336
|
+
include Google::Apis::Core::Hashable
|
1337
|
+
|
1338
|
+
# The `WorkerPool` resource to execute the build on. You must have `cloudbuild.
|
1339
|
+
# workerpools.use` on the project hosting the WorkerPool. Format projects/`
|
1340
|
+
# project`/locations/`location`/workerPools/`workerPoolId`
|
1341
|
+
# Corresponds to the JSON property `name`
|
1342
|
+
# @return [String]
|
1343
|
+
attr_accessor :name
|
1344
|
+
|
1345
|
+
def initialize(**args)
|
1346
|
+
update!(**args)
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
# Update properties of this object
|
1350
|
+
def update!(**args)
|
1351
|
+
@name = args[:name] if args.key?(:name)
|
1352
|
+
end
|
1353
|
+
end
|
1354
|
+
|
1355
|
+
# Metadata for `ProcessAppManifestCallback` operation.
|
1356
|
+
class ProcessAppManifestCallbackOperationMetadata
|
1357
|
+
include Google::Apis::Core::Hashable
|
1358
|
+
|
1359
|
+
# Time the operation was completed.
|
1360
|
+
# Corresponds to the JSON property `completeTime`
|
1361
|
+
# @return [String]
|
1362
|
+
attr_accessor :complete_time
|
1363
|
+
|
1364
|
+
# Time the operation was created.
|
1365
|
+
# Corresponds to the JSON property `createTime`
|
1366
|
+
# @return [String]
|
1367
|
+
attr_accessor :create_time
|
1368
|
+
|
1369
|
+
# The resource name of the GitHubEnterprise to be created. Format: `projects/`
|
1370
|
+
# project`/locations/`location`/githubEnterpriseConfigs/`id``.
|
1371
|
+
# Corresponds to the JSON property `githubEnterpriseConfig`
|
1372
|
+
# @return [String]
|
1373
|
+
attr_accessor :github_enterprise_config
|
1374
|
+
|
1375
|
+
def initialize(**args)
|
1376
|
+
update!(**args)
|
1377
|
+
end
|
1378
|
+
|
1379
|
+
# Update properties of this object
|
1380
|
+
def update!(**args)
|
1381
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
1382
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1383
|
+
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
1384
|
+
end
|
1385
|
+
end
|
1386
|
+
|
1048
1387
|
# Location of the source in a Google Cloud Source Repository.
|
1049
1388
|
class RepoSource
|
1050
1389
|
include Google::Apis::Core::Hashable
|
@@ -1340,7 +1679,8 @@ module Google
|
|
1340
1679
|
attr_accessor :storage_source
|
1341
1680
|
|
1342
1681
|
# Location of the source manifest in Google Cloud Storage. This feature is in
|
1343
|
-
# Preview.
|
1682
|
+
# Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
|
1683
|
+
# builders/tree/master/gcs-fetcher).
|
1344
1684
|
# Corresponds to the JSON property `storageSourceManifest`
|
1345
1685
|
# @return [Google::Apis::CloudbuildV1alpha2::StorageSourceManifest]
|
1346
1686
|
attr_accessor :storage_source_manifest
|
@@ -1384,7 +1724,8 @@ module Google
|
|
1384
1724
|
attr_accessor :resolved_storage_source
|
1385
1725
|
|
1386
1726
|
# Location of the source manifest in Google Cloud Storage. This feature is in
|
1387
|
-
# Preview.
|
1727
|
+
# Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
|
1728
|
+
# builders/tree/master/gcs-fetcher).
|
1388
1729
|
# Corresponds to the JSON property `resolvedStorageSourceManifest`
|
1389
1730
|
# @return [Google::Apis::CloudbuildV1alpha2::StorageSourceManifest]
|
1390
1731
|
attr_accessor :resolved_storage_source_manifest
|
@@ -1459,7 +1800,7 @@ module Google
|
|
1459
1800
|
attr_accessor :generation
|
1460
1801
|
|
1461
1802
|
# Google Cloud Storage object containing the source. This object must be a
|
1462
|
-
# gzipped archive file (`.tar.gz`) containing source to build.
|
1803
|
+
# zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.
|
1463
1804
|
# Corresponds to the JSON property `object`
|
1464
1805
|
# @return [String]
|
1465
1806
|
attr_accessor :object
|
@@ -1477,7 +1818,8 @@ module Google
|
|
1477
1818
|
end
|
1478
1819
|
|
1479
1820
|
# Location of the source manifest in Google Cloud Storage. This feature is in
|
1480
|
-
# Preview.
|
1821
|
+
# Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
|
1822
|
+
# builders/tree/master/gcs-fetcher).
|
1481
1823
|
class StorageSourceManifest
|
1482
1824
|
include Google::Apis::Core::Hashable
|
1483
1825
|
|
@@ -1537,6 +1879,70 @@ module Google
|
|
1537
1879
|
end
|
1538
1880
|
end
|
1539
1881
|
|
1882
|
+
# Metadata for `UpdateGitHubEnterpriseConfig` operation.
|
1883
|
+
class UpdateGitHubEnterpriseConfigOperationMetadata
|
1884
|
+
include Google::Apis::Core::Hashable
|
1885
|
+
|
1886
|
+
# Time the operation was completed.
|
1887
|
+
# Corresponds to the JSON property `completeTime`
|
1888
|
+
# @return [String]
|
1889
|
+
attr_accessor :complete_time
|
1890
|
+
|
1891
|
+
# Time the operation was created.
|
1892
|
+
# Corresponds to the JSON property `createTime`
|
1893
|
+
# @return [String]
|
1894
|
+
attr_accessor :create_time
|
1895
|
+
|
1896
|
+
# The resource name of the GitHubEnterprise to be updated. Format: `projects/`
|
1897
|
+
# project`/locations/`location`/githubEnterpriseConfigs/`id``.
|
1898
|
+
# Corresponds to the JSON property `githubEnterpriseConfig`
|
1899
|
+
# @return [String]
|
1900
|
+
attr_accessor :github_enterprise_config
|
1901
|
+
|
1902
|
+
def initialize(**args)
|
1903
|
+
update!(**args)
|
1904
|
+
end
|
1905
|
+
|
1906
|
+
# Update properties of this object
|
1907
|
+
def update!(**args)
|
1908
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
1909
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1910
|
+
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
1911
|
+
end
|
1912
|
+
end
|
1913
|
+
|
1914
|
+
# Metadata for the `UpdateWorkerPool` operation.
|
1915
|
+
class UpdateWorkerPoolOperationMetadata
|
1916
|
+
include Google::Apis::Core::Hashable
|
1917
|
+
|
1918
|
+
# Time the operation was completed.
|
1919
|
+
# Corresponds to the JSON property `completeTime`
|
1920
|
+
# @return [String]
|
1921
|
+
attr_accessor :complete_time
|
1922
|
+
|
1923
|
+
# Time the operation was created.
|
1924
|
+
# Corresponds to the JSON property `createTime`
|
1925
|
+
# @return [String]
|
1926
|
+
attr_accessor :create_time
|
1927
|
+
|
1928
|
+
# The resource name of the `WorkerPool` being updated. Format: `projects/`
|
1929
|
+
# project`/locations/`location`/workerPools/`worker_pool``.
|
1930
|
+
# Corresponds to the JSON property `workerPool`
|
1931
|
+
# @return [String]
|
1932
|
+
attr_accessor :worker_pool
|
1933
|
+
|
1934
|
+
def initialize(**args)
|
1935
|
+
update!(**args)
|
1936
|
+
end
|
1937
|
+
|
1938
|
+
# Update properties of this object
|
1939
|
+
def update!(**args)
|
1940
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
1941
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1942
|
+
@worker_pool = args[:worker_pool] if args.key?(:worker_pool)
|
1943
|
+
end
|
1944
|
+
end
|
1945
|
+
|
1540
1946
|
# Volume describes a Docker container volume which is mounted into build steps
|
1541
1947
|
# in order to persist files across build step execution.
|
1542
1948
|
class Volume
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudbuildV1alpha2
|
18
18
|
# Version of the google-apis-cloudbuild_v1alpha2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210723"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,18 +76,54 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class CreateGitHubEnterpriseConfigOperationMetadata
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class CreateWorkerPoolOperationMetadata
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class DeleteGitHubEnterpriseConfigOperationMetadata
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class DeleteWorkerPoolOperationMetadata
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
79
103
|
class Empty
|
80
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
105
|
|
82
106
|
include Google::Apis::Core::JsonObjectSupport
|
83
107
|
end
|
84
108
|
|
109
|
+
class FailureInfo
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
85
115
|
class FileHashes
|
86
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
117
|
|
88
118
|
include Google::Apis::Core::JsonObjectSupport
|
89
119
|
end
|
90
120
|
|
121
|
+
class GoogleDevtoolsCloudbuildV2OperationMetadata
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
91
127
|
class HttpDelivery
|
92
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
129
|
|
@@ -160,6 +196,24 @@ module Google
|
|
160
196
|
include Google::Apis::Core::JsonObjectSupport
|
161
197
|
end
|
162
198
|
|
199
|
+
class OperationMetadata
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class PoolOption
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class ProcessAppManifestCallbackOperationMetadata
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
163
217
|
class RepoSource
|
164
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
219
|
|
@@ -238,6 +292,18 @@ module Google
|
|
238
292
|
include Google::Apis::Core::JsonObjectSupport
|
239
293
|
end
|
240
294
|
|
295
|
+
class UpdateGitHubEnterpriseConfigOperationMetadata
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class UpdateWorkerPoolOperationMetadata
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
241
307
|
class Volume
|
242
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
309
|
|
@@ -299,6 +365,8 @@ module Google
|
|
299
365
|
|
300
366
|
property :build_trigger_id, as: 'buildTriggerId'
|
301
367
|
property :create_time, as: 'createTime'
|
368
|
+
property :failure_info, as: 'failureInfo', class: Google::Apis::CloudbuildV1alpha2::FailureInfo, decorator: Google::Apis::CloudbuildV1alpha2::FailureInfo::Representation
|
369
|
+
|
302
370
|
property :finish_time, as: 'finishTime'
|
303
371
|
property :id, as: 'id'
|
304
372
|
collection :images, as: 'images'
|
@@ -350,6 +418,8 @@ module Google
|
|
350
418
|
property :log_streaming_option, as: 'logStreamingOption'
|
351
419
|
property :logging, as: 'logging'
|
352
420
|
property :machine_type, as: 'machineType'
|
421
|
+
property :pool, as: 'pool', class: Google::Apis::CloudbuildV1alpha2::PoolOption, decorator: Google::Apis::CloudbuildV1alpha2::PoolOption::Representation
|
422
|
+
|
353
423
|
property :requested_verify_option, as: 'requestedVerifyOption'
|
354
424
|
collection :secret_env, as: 'secretEnv'
|
355
425
|
collection :source_provenance_hash, as: 'sourceProvenanceHash'
|
@@ -398,12 +468,56 @@ module Google
|
|
398
468
|
end
|
399
469
|
end
|
400
470
|
|
471
|
+
class CreateGitHubEnterpriseConfigOperationMetadata
|
472
|
+
# @private
|
473
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
474
|
+
property :complete_time, as: 'completeTime'
|
475
|
+
property :create_time, as: 'createTime'
|
476
|
+
property :github_enterprise_config, as: 'githubEnterpriseConfig'
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
480
|
+
class CreateWorkerPoolOperationMetadata
|
481
|
+
# @private
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
483
|
+
property :complete_time, as: 'completeTime'
|
484
|
+
property :create_time, as: 'createTime'
|
485
|
+
property :worker_pool, as: 'workerPool'
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
489
|
+
class DeleteGitHubEnterpriseConfigOperationMetadata
|
490
|
+
# @private
|
491
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
492
|
+
property :complete_time, as: 'completeTime'
|
493
|
+
property :create_time, as: 'createTime'
|
494
|
+
property :github_enterprise_config, as: 'githubEnterpriseConfig'
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
class DeleteWorkerPoolOperationMetadata
|
499
|
+
# @private
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
501
|
+
property :complete_time, as: 'completeTime'
|
502
|
+
property :create_time, as: 'createTime'
|
503
|
+
property :worker_pool, as: 'workerPool'
|
504
|
+
end
|
505
|
+
end
|
506
|
+
|
401
507
|
class Empty
|
402
508
|
# @private
|
403
509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
404
510
|
end
|
405
511
|
end
|
406
512
|
|
513
|
+
class FailureInfo
|
514
|
+
# @private
|
515
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
516
|
+
property :detail, as: 'detail'
|
517
|
+
property :type, as: 'type'
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
407
521
|
class FileHashes
|
408
522
|
# @private
|
409
523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -412,6 +526,19 @@ module Google
|
|
412
526
|
end
|
413
527
|
end
|
414
528
|
|
529
|
+
class GoogleDevtoolsCloudbuildV2OperationMetadata
|
530
|
+
# @private
|
531
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
532
|
+
property :api_version, as: 'apiVersion'
|
533
|
+
property :create_time, as: 'createTime'
|
534
|
+
property :end_time, as: 'endTime'
|
535
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
536
|
+
property :status_message, as: 'statusMessage'
|
537
|
+
property :target, as: 'target'
|
538
|
+
property :verb, as: 'verb'
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
415
542
|
class HttpDelivery
|
416
543
|
# @private
|
417
544
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -521,6 +648,35 @@ module Google
|
|
521
648
|
end
|
522
649
|
end
|
523
650
|
|
651
|
+
class OperationMetadata
|
652
|
+
# @private
|
653
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
654
|
+
property :api_version, as: 'apiVersion'
|
655
|
+
property :cancel_requested, as: 'cancelRequested'
|
656
|
+
property :create_time, as: 'createTime'
|
657
|
+
property :end_time, as: 'endTime'
|
658
|
+
property :status_detail, as: 'statusDetail'
|
659
|
+
property :target, as: 'target'
|
660
|
+
property :verb, as: 'verb'
|
661
|
+
end
|
662
|
+
end
|
663
|
+
|
664
|
+
class PoolOption
|
665
|
+
# @private
|
666
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
667
|
+
property :name, as: 'name'
|
668
|
+
end
|
669
|
+
end
|
670
|
+
|
671
|
+
class ProcessAppManifestCallbackOperationMetadata
|
672
|
+
# @private
|
673
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
674
|
+
property :complete_time, as: 'completeTime'
|
675
|
+
property :create_time, as: 'createTime'
|
676
|
+
property :github_enterprise_config, as: 'githubEnterpriseConfig'
|
677
|
+
end
|
678
|
+
end
|
679
|
+
|
524
680
|
class RepoSource
|
525
681
|
# @private
|
526
682
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -657,6 +813,24 @@ module Google
|
|
657
813
|
end
|
658
814
|
end
|
659
815
|
|
816
|
+
class UpdateGitHubEnterpriseConfigOperationMetadata
|
817
|
+
# @private
|
818
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
819
|
+
property :complete_time, as: 'completeTime'
|
820
|
+
property :create_time, as: 'createTime'
|
821
|
+
property :github_enterprise_config, as: 'githubEnterpriseConfig'
|
822
|
+
end
|
823
|
+
end
|
824
|
+
|
825
|
+
class UpdateWorkerPoolOperationMetadata
|
826
|
+
# @private
|
827
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
828
|
+
property :complete_time, as: 'completeTime'
|
829
|
+
property :create_time, as: 'createTime'
|
830
|
+
property :worker_pool, as: 'workerPool'
|
831
|
+
end
|
832
|
+
end
|
833
|
+
|
660
834
|
class Volume
|
661
835
|
# @private
|
662
836
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudbuild_v1alpha2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.4'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1alpha2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha2/v0.11.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1alpha2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|