google-apis-cloudbuild_v1alpha1 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: fdfb73782df50989d7558d8359bad1da24e327a2db6847205431213c20e685e4
4
- data.tar.gz: 55187628db51fff8a29c82d437396edc34bf963d16608e6da60c5169e5b4f80d
3
+ metadata.gz: 6e3e3ab46918e94aae22e2d3b371331d5af71ced9be41d4a573ab5cac9f5098c
4
+ data.tar.gz: 91ee25900efec90e7cd6dff771c71b3f7c32c81d80c457b6b52b63b0d3a24f48
5
5
  SHA512:
6
- metadata.gz: e51eb922f70d808396746f4b02c5bf6e77b8e6d1eb9cb3903b418a55b7149780a7c17de9e91dc1ab35ba17ff7faa1b8afbc949fa20855f03e81b04f88e549346
7
- data.tar.gz: 604e2b7d412d4e8d59870e8d41a1bcf9827946e76a8ef13c81f3dd09e675c27186682aed840dd912753466ffc626deee1ac5edd81d653d9f95cf8bb6b2965e26
6
+ metadata.gz: 74dade062550c3e2caf4d550de37fda3d34376a51bcbf12d1d32ff71a589480f989f7b972344d04492666d1d6e7a36818b5d5d5040aff1a4ad8a3289ae96f804
7
+ data.tar.gz: 54548620ddc4f68e7fc5a34e3a8a2f0a73f9d9d13c9dc29046ee04c6e95a71ade09de84931b783fd3cf33e6b663e6276a1f0be31edb3a50561f49798b802f73a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-cloudbuild_v1alpha1
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::CloudbuildV1alpha1::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. If the build does not specify
283
- # source or images, these keys will not be included.
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::CloudbuildV1alpha1::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::CloudbuildV1alpha1::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::CloudbuildV1alpha1::Volume>]
437
451
  attr_accessor :volumes
438
452
 
439
- # Option to specify a `WorkerPool` for the build. Format: projects/`project`/
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
@@ -1058,6 +1283,120 @@ module Google
1058
1283
  end
1059
1284
  end
1060
1285
 
1286
+ # Represents the metadata of the long-running operation.
1287
+ class OperationMetadata
1288
+ include Google::Apis::Core::Hashable
1289
+
1290
+ # Output only. API version used to start the operation.
1291
+ # Corresponds to the JSON property `apiVersion`
1292
+ # @return [String]
1293
+ attr_accessor :api_version
1294
+
1295
+ # Output only. Identifies whether the user has requested cancellation of the
1296
+ # operation. Operations that have successfully been cancelled have Operation.
1297
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1298
+ # CANCELLED`.
1299
+ # Corresponds to the JSON property `cancelRequested`
1300
+ # @return [Boolean]
1301
+ attr_accessor :cancel_requested
1302
+ alias_method :cancel_requested?, :cancel_requested
1303
+
1304
+ # Output only. The time the operation was created.
1305
+ # Corresponds to the JSON property `createTime`
1306
+ # @return [String]
1307
+ attr_accessor :create_time
1308
+
1309
+ # Output only. The time the operation finished running.
1310
+ # Corresponds to the JSON property `endTime`
1311
+ # @return [String]
1312
+ attr_accessor :end_time
1313
+
1314
+ # Output only. Human-readable status of the operation, if any.
1315
+ # Corresponds to the JSON property `statusDetail`
1316
+ # @return [String]
1317
+ attr_accessor :status_detail
1318
+
1319
+ # Output only. Server-defined resource path for the target of the operation.
1320
+ # Corresponds to the JSON property `target`
1321
+ # @return [String]
1322
+ attr_accessor :target
1323
+
1324
+ # Output only. Name of the verb executed by the operation.
1325
+ # Corresponds to the JSON property `verb`
1326
+ # @return [String]
1327
+ attr_accessor :verb
1328
+
1329
+ def initialize(**args)
1330
+ update!(**args)
1331
+ end
1332
+
1333
+ # Update properties of this object
1334
+ def update!(**args)
1335
+ @api_version = args[:api_version] if args.key?(:api_version)
1336
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
1337
+ @create_time = args[:create_time] if args.key?(:create_time)
1338
+ @end_time = args[:end_time] if args.key?(:end_time)
1339
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
1340
+ @target = args[:target] if args.key?(:target)
1341
+ @verb = args[:verb] if args.key?(:verb)
1342
+ end
1343
+ end
1344
+
1345
+ # Details about how a build should be executed on a `WorkerPool`. See [running
1346
+ # builds in a private pool](https://cloud.google.com/build/docs/private-pools/
1347
+ # run-builds-in-private-pool) for more information.
1348
+ class PoolOption
1349
+ include Google::Apis::Core::Hashable
1350
+
1351
+ # The `WorkerPool` resource to execute the build on. You must have `cloudbuild.
1352
+ # workerpools.use` on the project hosting the WorkerPool. Format projects/`
1353
+ # project`/locations/`location`/workerPools/`workerPoolId`
1354
+ # Corresponds to the JSON property `name`
1355
+ # @return [String]
1356
+ attr_accessor :name
1357
+
1358
+ def initialize(**args)
1359
+ update!(**args)
1360
+ end
1361
+
1362
+ # Update properties of this object
1363
+ def update!(**args)
1364
+ @name = args[:name] if args.key?(:name)
1365
+ end
1366
+ end
1367
+
1368
+ # Metadata for `ProcessAppManifestCallback` operation.
1369
+ class ProcessAppManifestCallbackOperationMetadata
1370
+ include Google::Apis::Core::Hashable
1371
+
1372
+ # Time the operation was completed.
1373
+ # Corresponds to the JSON property `completeTime`
1374
+ # @return [String]
1375
+ attr_accessor :complete_time
1376
+
1377
+ # Time the operation was created.
1378
+ # Corresponds to the JSON property `createTime`
1379
+ # @return [String]
1380
+ attr_accessor :create_time
1381
+
1382
+ # The resource name of the GitHubEnterprise to be created. Format: `projects/`
1383
+ # project`/locations/`location`/githubEnterpriseConfigs/`id``.
1384
+ # Corresponds to the JSON property `githubEnterpriseConfig`
1385
+ # @return [String]
1386
+ attr_accessor :github_enterprise_config
1387
+
1388
+ def initialize(**args)
1389
+ update!(**args)
1390
+ end
1391
+
1392
+ # Update properties of this object
1393
+ def update!(**args)
1394
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
1395
+ @create_time = args[:create_time] if args.key?(:create_time)
1396
+ @github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
1397
+ end
1398
+ end
1399
+
1061
1400
  # Location of the source in a Google Cloud Source Repository.
1062
1401
  class RepoSource
1063
1402
  include Google::Apis::Core::Hashable
@@ -1353,7 +1692,8 @@ module Google
1353
1692
  attr_accessor :storage_source
1354
1693
 
1355
1694
  # Location of the source manifest in Google Cloud Storage. This feature is in
1356
- # Preview.
1695
+ # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
1696
+ # builders/tree/master/gcs-fetcher).
1357
1697
  # Corresponds to the JSON property `storageSourceManifest`
1358
1698
  # @return [Google::Apis::CloudbuildV1alpha1::StorageSourceManifest]
1359
1699
  attr_accessor :storage_source_manifest
@@ -1397,7 +1737,8 @@ module Google
1397
1737
  attr_accessor :resolved_storage_source
1398
1738
 
1399
1739
  # Location of the source manifest in Google Cloud Storage. This feature is in
1400
- # Preview.
1740
+ # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
1741
+ # builders/tree/master/gcs-fetcher).
1401
1742
  # Corresponds to the JSON property `resolvedStorageSourceManifest`
1402
1743
  # @return [Google::Apis::CloudbuildV1alpha1::StorageSourceManifest]
1403
1744
  attr_accessor :resolved_storage_source_manifest
@@ -1472,7 +1813,7 @@ module Google
1472
1813
  attr_accessor :generation
1473
1814
 
1474
1815
  # Google Cloud Storage object containing the source. This object must be a
1475
- # gzipped archive file (`.tar.gz`) containing source to build.
1816
+ # zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.
1476
1817
  # Corresponds to the JSON property `object`
1477
1818
  # @return [String]
1478
1819
  attr_accessor :object
@@ -1490,7 +1831,8 @@ module Google
1490
1831
  end
1491
1832
 
1492
1833
  # Location of the source manifest in Google Cloud Storage. This feature is in
1493
- # Preview.
1834
+ # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
1835
+ # builders/tree/master/gcs-fetcher).
1494
1836
  class StorageSourceManifest
1495
1837
  include Google::Apis::Core::Hashable
1496
1838
 
@@ -1550,6 +1892,70 @@ module Google
1550
1892
  end
1551
1893
  end
1552
1894
 
1895
+ # Metadata for `UpdateGitHubEnterpriseConfig` operation.
1896
+ class UpdateGitHubEnterpriseConfigOperationMetadata
1897
+ include Google::Apis::Core::Hashable
1898
+
1899
+ # Time the operation was completed.
1900
+ # Corresponds to the JSON property `completeTime`
1901
+ # @return [String]
1902
+ attr_accessor :complete_time
1903
+
1904
+ # Time the operation was created.
1905
+ # Corresponds to the JSON property `createTime`
1906
+ # @return [String]
1907
+ attr_accessor :create_time
1908
+
1909
+ # The resource name of the GitHubEnterprise to be updated. Format: `projects/`
1910
+ # project`/locations/`location`/githubEnterpriseConfigs/`id``.
1911
+ # Corresponds to the JSON property `githubEnterpriseConfig`
1912
+ # @return [String]
1913
+ attr_accessor :github_enterprise_config
1914
+
1915
+ def initialize(**args)
1916
+ update!(**args)
1917
+ end
1918
+
1919
+ # Update properties of this object
1920
+ def update!(**args)
1921
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
1922
+ @create_time = args[:create_time] if args.key?(:create_time)
1923
+ @github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
1924
+ end
1925
+ end
1926
+
1927
+ # Metadata for the `UpdateWorkerPool` operation.
1928
+ class UpdateWorkerPoolOperationMetadata
1929
+ include Google::Apis::Core::Hashable
1930
+
1931
+ # Time the operation was completed.
1932
+ # Corresponds to the JSON property `completeTime`
1933
+ # @return [String]
1934
+ attr_accessor :complete_time
1935
+
1936
+ # Time the operation was created.
1937
+ # Corresponds to the JSON property `createTime`
1938
+ # @return [String]
1939
+ attr_accessor :create_time
1940
+
1941
+ # The resource name of the `WorkerPool` being updated. Format: `projects/`
1942
+ # project`/locations/`location`/workerPools/`worker_pool``.
1943
+ # Corresponds to the JSON property `workerPool`
1944
+ # @return [String]
1945
+ attr_accessor :worker_pool
1946
+
1947
+ def initialize(**args)
1948
+ update!(**args)
1949
+ end
1950
+
1951
+ # Update properties of this object
1952
+ def update!(**args)
1953
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
1954
+ @create_time = args[:create_time] if args.key?(:create_time)
1955
+ @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
1956
+ end
1957
+ end
1958
+
1553
1959
  # Volume describes a Docker container volume which is mounted into build steps
1554
1960
  # in order to persist files across build step execution.
1555
1961
  class Volume
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1alpha1
18
18
  # Version of the google-apis-cloudbuild_v1alpha1 gem
19
- GEM_VERSION = "0.7.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.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210511"
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::CloudbuildV1alpha1::FailureInfo, decorator: Google::Apis::CloudbuildV1alpha1::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::CloudbuildV1alpha1::PoolOption, decorator: Google::Apis::CloudbuildV1alpha1::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
@@ -523,6 +650,35 @@ module Google
523
650
  end
524
651
  end
525
652
 
653
+ class OperationMetadata
654
+ # @private
655
+ class Representation < Google::Apis::Core::JsonRepresentation
656
+ property :api_version, as: 'apiVersion'
657
+ property :cancel_requested, as: 'cancelRequested'
658
+ property :create_time, as: 'createTime'
659
+ property :end_time, as: 'endTime'
660
+ property :status_detail, as: 'statusDetail'
661
+ property :target, as: 'target'
662
+ property :verb, as: 'verb'
663
+ end
664
+ end
665
+
666
+ class PoolOption
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ property :name, as: 'name'
670
+ end
671
+ end
672
+
673
+ class ProcessAppManifestCallbackOperationMetadata
674
+ # @private
675
+ class Representation < Google::Apis::Core::JsonRepresentation
676
+ property :complete_time, as: 'completeTime'
677
+ property :create_time, as: 'createTime'
678
+ property :github_enterprise_config, as: 'githubEnterpriseConfig'
679
+ end
680
+ end
681
+
526
682
  class RepoSource
527
683
  # @private
528
684
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -659,6 +815,24 @@ module Google
659
815
  end
660
816
  end
661
817
 
818
+ class UpdateGitHubEnterpriseConfigOperationMetadata
819
+ # @private
820
+ class Representation < Google::Apis::Core::JsonRepresentation
821
+ property :complete_time, as: 'completeTime'
822
+ property :create_time, as: 'createTime'
823
+ property :github_enterprise_config, as: 'githubEnterpriseConfig'
824
+ end
825
+ end
826
+
827
+ class UpdateWorkerPoolOperationMetadata
828
+ # @private
829
+ class Representation < Google::Apis::Core::JsonRepresentation
830
+ property :complete_time, as: 'completeTime'
831
+ property :create_time, as: 'createTime'
832
+ property :worker_pool, as: 'workerPool'
833
+ end
834
+ end
835
+
662
836
  class Volume
663
837
  # @private
664
838
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.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-06-28 00:00:00.000000000 Z
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.3'
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.3'
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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []