google-apis-cloudbuild_v1beta1 0.5.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7dbeed24e9be59bdf65a69f0f60e18365efc83f2e73b1cfcca67f69b9653083
4
- data.tar.gz: 5962ae1322e97b520b9b043bde61b554a198f1f75ec51093785e43601010fd08
3
+ metadata.gz: 0526762b28ea5241a58e97aceab2c376ac32ce74c28c4be5f889c4f8926fb4b4
4
+ data.tar.gz: 68ff261f7d4a6586d21ce2161e9bac273bde2bfc03f948f0de5e1820a5b98cd0
5
5
  SHA512:
6
- metadata.gz: 219e243d3dfdd2f9c0c2eddec192f3d166bb1a775d90baabae03a2486b53a18e84c6c4d2b43bc96db00619cb5672ba5f2f95bc172a7e6a1c456b1fbcb3b89a72
7
- data.tar.gz: 4c1fbb720ea240699daf22f01041e096666fe30dea6cd0d822cf766b48290e6d791c12e56f264f1003a31a991eb14bcc7947cc79d0359790112b3101293d6b52
6
+ metadata.gz: 5b10a7155b44ec63bf3e7b401817652fa1edd1604e189d39765244ef9c48a5fdecdaaabdafbd03fede13eb54a9910ac646bc3182a3b4d7f6ce1648b8d98ed382
7
+ data.tar.gz: 6cb92c2ef2035b6d54ee30c93cce0c4d03d21b15807efa90af29f13ed1ae804836d5a201c54375f7c558e1ddca68e4e4c864a823b3cd491ddee3f002a2cbd7e0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-cloudbuild_v1beta1
2
2
 
3
+ ### v0.9.0 (2021-07-27)
4
+
5
+ * Regenerated from discovery document revision 20210723
6
+
7
+ ### v0.8.0 (2021-07-20)
8
+
9
+ * Regenerated from discovery document revision 20210715
10
+
11
+ ### v0.7.0 (2021-07-13)
12
+
13
+ * Regenerated from discovery document revision 20210709
14
+
15
+ ### v0.6.0 (2021-07-03)
16
+
17
+ * Regenerated from discovery document revision 20210701
18
+ * Regenerated using generator version 0.4.0
19
+
3
20
  ### v0.5.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::CloudbuildV1beta1::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::CloudbuildV1beta1::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::CloudbuildV1beta1::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::CloudbuildV1beta1::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
@@ -1048,6 +1273,120 @@ module Google
1048
1273
  end
1049
1274
  end
1050
1275
 
1276
+ # Represents the metadata of the long-running operation.
1277
+ class OperationMetadata
1278
+ include Google::Apis::Core::Hashable
1279
+
1280
+ # Output only. API version used to start the operation.
1281
+ # Corresponds to the JSON property `apiVersion`
1282
+ # @return [String]
1283
+ attr_accessor :api_version
1284
+
1285
+ # Output only. Identifies whether the user has requested cancellation of the
1286
+ # operation. Operations that have successfully been cancelled have Operation.
1287
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1288
+ # CANCELLED`.
1289
+ # Corresponds to the JSON property `cancelRequested`
1290
+ # @return [Boolean]
1291
+ attr_accessor :cancel_requested
1292
+ alias_method :cancel_requested?, :cancel_requested
1293
+
1294
+ # Output only. The time the operation was created.
1295
+ # Corresponds to the JSON property `createTime`
1296
+ # @return [String]
1297
+ attr_accessor :create_time
1298
+
1299
+ # Output only. The time the operation finished running.
1300
+ # Corresponds to the JSON property `endTime`
1301
+ # @return [String]
1302
+ attr_accessor :end_time
1303
+
1304
+ # Output only. Human-readable status of the operation, if any.
1305
+ # Corresponds to the JSON property `statusDetail`
1306
+ # @return [String]
1307
+ attr_accessor :status_detail
1308
+
1309
+ # Output only. Server-defined resource path for the target of the operation.
1310
+ # Corresponds to the JSON property `target`
1311
+ # @return [String]
1312
+ attr_accessor :target
1313
+
1314
+ # Output only. Name of the verb executed by the operation.
1315
+ # Corresponds to the JSON property `verb`
1316
+ # @return [String]
1317
+ attr_accessor :verb
1318
+
1319
+ def initialize(**args)
1320
+ update!(**args)
1321
+ end
1322
+
1323
+ # Update properties of this object
1324
+ def update!(**args)
1325
+ @api_version = args[:api_version] if args.key?(:api_version)
1326
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
1327
+ @create_time = args[:create_time] if args.key?(:create_time)
1328
+ @end_time = args[:end_time] if args.key?(:end_time)
1329
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
1330
+ @target = args[:target] if args.key?(:target)
1331
+ @verb = args[:verb] if args.key?(:verb)
1332
+ end
1333
+ end
1334
+
1335
+ # Details about how a build should be executed on a `WorkerPool`. See [running
1336
+ # builds in a private pool](https://cloud.google.com/build/docs/private-pools/
1337
+ # run-builds-in-private-pool) for more information.
1338
+ class PoolOption
1339
+ include Google::Apis::Core::Hashable
1340
+
1341
+ # The `WorkerPool` resource to execute the build on. You must have `cloudbuild.
1342
+ # workerpools.use` on the project hosting the WorkerPool. Format projects/`
1343
+ # project`/locations/`location`/workerPools/`workerPoolId`
1344
+ # Corresponds to the JSON property `name`
1345
+ # @return [String]
1346
+ attr_accessor :name
1347
+
1348
+ def initialize(**args)
1349
+ update!(**args)
1350
+ end
1351
+
1352
+ # Update properties of this object
1353
+ def update!(**args)
1354
+ @name = args[:name] if args.key?(:name)
1355
+ end
1356
+ end
1357
+
1358
+ # Metadata for `ProcessAppManifestCallback` operation.
1359
+ class ProcessAppManifestCallbackOperationMetadata
1360
+ include Google::Apis::Core::Hashable
1361
+
1362
+ # Time the operation was completed.
1363
+ # Corresponds to the JSON property `completeTime`
1364
+ # @return [String]
1365
+ attr_accessor :complete_time
1366
+
1367
+ # Time the operation was created.
1368
+ # Corresponds to the JSON property `createTime`
1369
+ # @return [String]
1370
+ attr_accessor :create_time
1371
+
1372
+ # The resource name of the GitHubEnterprise to be created. Format: `projects/`
1373
+ # project`/locations/`location`/githubEnterpriseConfigs/`id``.
1374
+ # Corresponds to the JSON property `githubEnterpriseConfig`
1375
+ # @return [String]
1376
+ attr_accessor :github_enterprise_config
1377
+
1378
+ def initialize(**args)
1379
+ update!(**args)
1380
+ end
1381
+
1382
+ # Update properties of this object
1383
+ def update!(**args)
1384
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
1385
+ @create_time = args[:create_time] if args.key?(:create_time)
1386
+ @github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
1387
+ end
1388
+ end
1389
+
1051
1390
  # Location of the source in a Google Cloud Source Repository.
1052
1391
  class RepoSource
1053
1392
  include Google::Apis::Core::Hashable
@@ -1343,7 +1682,8 @@ module Google
1343
1682
  attr_accessor :storage_source
1344
1683
 
1345
1684
  # Location of the source manifest in Google Cloud Storage. This feature is in
1346
- # Preview.
1685
+ # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
1686
+ # builders/tree/master/gcs-fetcher).
1347
1687
  # Corresponds to the JSON property `storageSourceManifest`
1348
1688
  # @return [Google::Apis::CloudbuildV1beta1::StorageSourceManifest]
1349
1689
  attr_accessor :storage_source_manifest
@@ -1387,7 +1727,8 @@ module Google
1387
1727
  attr_accessor :resolved_storage_source
1388
1728
 
1389
1729
  # Location of the source manifest in Google Cloud Storage. This feature is in
1390
- # Preview.
1730
+ # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
1731
+ # builders/tree/master/gcs-fetcher).
1391
1732
  # Corresponds to the JSON property `resolvedStorageSourceManifest`
1392
1733
  # @return [Google::Apis::CloudbuildV1beta1::StorageSourceManifest]
1393
1734
  attr_accessor :resolved_storage_source_manifest
@@ -1462,7 +1803,7 @@ module Google
1462
1803
  attr_accessor :generation
1463
1804
 
1464
1805
  # Google Cloud Storage object containing the source. This object must be a
1465
- # gzipped archive file (`.tar.gz`) containing source to build.
1806
+ # zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.
1466
1807
  # Corresponds to the JSON property `object`
1467
1808
  # @return [String]
1468
1809
  attr_accessor :object
@@ -1480,7 +1821,8 @@ module Google
1480
1821
  end
1481
1822
 
1482
1823
  # Location of the source manifest in Google Cloud Storage. This feature is in
1483
- # Preview.
1824
+ # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
1825
+ # builders/tree/master/gcs-fetcher).
1484
1826
  class StorageSourceManifest
1485
1827
  include Google::Apis::Core::Hashable
1486
1828
 
@@ -1540,6 +1882,70 @@ module Google
1540
1882
  end
1541
1883
  end
1542
1884
 
1885
+ # Metadata for `UpdateGitHubEnterpriseConfig` operation.
1886
+ class UpdateGitHubEnterpriseConfigOperationMetadata
1887
+ include Google::Apis::Core::Hashable
1888
+
1889
+ # Time the operation was completed.
1890
+ # Corresponds to the JSON property `completeTime`
1891
+ # @return [String]
1892
+ attr_accessor :complete_time
1893
+
1894
+ # Time the operation was created.
1895
+ # Corresponds to the JSON property `createTime`
1896
+ # @return [String]
1897
+ attr_accessor :create_time
1898
+
1899
+ # The resource name of the GitHubEnterprise to be updated. Format: `projects/`
1900
+ # project`/locations/`location`/githubEnterpriseConfigs/`id``.
1901
+ # Corresponds to the JSON property `githubEnterpriseConfig`
1902
+ # @return [String]
1903
+ attr_accessor :github_enterprise_config
1904
+
1905
+ def initialize(**args)
1906
+ update!(**args)
1907
+ end
1908
+
1909
+ # Update properties of this object
1910
+ def update!(**args)
1911
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
1912
+ @create_time = args[:create_time] if args.key?(:create_time)
1913
+ @github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
1914
+ end
1915
+ end
1916
+
1917
+ # Metadata for the `UpdateWorkerPool` operation.
1918
+ class UpdateWorkerPoolOperationMetadata
1919
+ include Google::Apis::Core::Hashable
1920
+
1921
+ # Time the operation was completed.
1922
+ # Corresponds to the JSON property `completeTime`
1923
+ # @return [String]
1924
+ attr_accessor :complete_time
1925
+
1926
+ # Time the operation was created.
1927
+ # Corresponds to the JSON property `createTime`
1928
+ # @return [String]
1929
+ attr_accessor :create_time
1930
+
1931
+ # The resource name of the `WorkerPool` being updated. Format: `projects/`
1932
+ # project`/locations/`location`/workerPools/`worker_pool``.
1933
+ # Corresponds to the JSON property `workerPool`
1934
+ # @return [String]
1935
+ attr_accessor :worker_pool
1936
+
1937
+ def initialize(**args)
1938
+ update!(**args)
1939
+ end
1940
+
1941
+ # Update properties of this object
1942
+ def update!(**args)
1943
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
1944
+ @create_time = args[:create_time] if args.key?(:create_time)
1945
+ @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
1946
+ end
1947
+ end
1948
+
1543
1949
  # Volume describes a Docker container volume which is mounted into build steps
1544
1950
  # in order to persist files across build step execution.
1545
1951
  class Volume
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1beta1
18
18
  # Version of the google-apis-cloudbuild_v1beta1 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.9.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::CloudbuildV1beta1::FailureInfo, decorator: Google::Apis::CloudbuildV1beta1::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::CloudbuildV1beta1::PoolOption, decorator: Google::Apis::CloudbuildV1beta1::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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.9.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.9.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []