google-apis-cloudbuild_v1beta1 0.5.0 → 0.6.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: 73f705ddf16a426375ce867ebe449c04bb59aa9ed0d929f38830b0d360751799
4
+ data.tar.gz: 6f58b8f31f355ccf33603c5dcc2f3af32fefc765ed3cc52fafc64d9685acbae9
5
5
  SHA512:
6
- metadata.gz: 219e243d3dfdd2f9c0c2eddec192f3d166bb1a775d90baabae03a2486b53a18e84c6c4d2b43bc96db00619cb5672ba5f2f95bc172a7e6a1c456b1fbcb3b89a72
7
- data.tar.gz: 4c1fbb720ea240699daf22f01041e096666fe30dea6cd0d822cf766b48290e6d791c12e56f264f1003a31a991eb14bcc7947cc79d0359790112b3101293d6b52
6
+ metadata.gz: 8b6858ce6a0a949f2f4f38921b175e280c49ca82b8b6f58f2cda9852ef4be26377b69bc116f2e4958415e33ae0acaff1e1e0178ef2bb3b061ea34a7dff32f640
7
+ data.tar.gz: d48848b17d5756d93cc4d46eb1f35352f0e6f09d0cb67722770d2b3ef88d815fbbfa06cc010b02e9ea6f9a8be2c19cf61ae529fe5f1d811b31b0ad5bd512c8e4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudbuild_v1beta1
2
2
 
3
+ ### v0.6.0 (2021-07-03)
4
+
5
+ * Regenerated from discovery document revision 20210701
6
+ * Regenerated using generator version 0.4.0
7
+
3
8
  ### v0.5.0 (2021-06-24)
4
9
 
5
10
  * Regenerated using generator version 0.3.0
@@ -402,6 +402,13 @@ module Google
402
402
  # @return [String]
403
403
  attr_accessor :machine_type
404
404
 
405
+ # Details about how a build should be executed on a `WorkerPool`. See [running
406
+ # builds in a custom worker pool](https://cloud.google.com/build/docs/custom-
407
+ # workers/run-builds-in-custom-worker-pool) for more information.
408
+ # Corresponds to the JSON property `pool`
409
+ # @return [Google::Apis::CloudbuildV1beta1::PoolOption]
410
+ attr_accessor :pool
411
+
405
412
  # Requested verifiability options.
406
413
  # Corresponds to the JSON property `requestedVerifyOption`
407
414
  # @return [String]
@@ -436,9 +443,7 @@ module Google
436
443
  # @return [Array<Google::Apis::CloudbuildV1beta1::Volume>]
437
444
  attr_accessor :volumes
438
445
 
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.
446
+ # This field deprecated; please use `pool.name` instead.
442
447
  # Corresponds to the JSON property `workerPool`
443
448
  # @return [String]
444
449
  attr_accessor :worker_pool
@@ -455,6 +460,7 @@ module Google
455
460
  @log_streaming_option = args[:log_streaming_option] if args.key?(:log_streaming_option)
456
461
  @logging = args[:logging] if args.key?(:logging)
457
462
  @machine_type = args[:machine_type] if args.key?(:machine_type)
463
+ @pool = args[:pool] if args.key?(:pool)
458
464
  @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
459
465
  @secret_env = args[:secret_env] if args.key?(:secret_env)
460
466
  @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
@@ -637,6 +643,70 @@ module Google
637
643
  end
638
644
  end
639
645
 
646
+ # Metadata for the `CreateWorkerPool` operation.
647
+ class CreateWorkerPoolOperationMetadata
648
+ include Google::Apis::Core::Hashable
649
+
650
+ # Time the operation was completed.
651
+ # Corresponds to the JSON property `completeTime`
652
+ # @return [String]
653
+ attr_accessor :complete_time
654
+
655
+ # Time the operation was created.
656
+ # Corresponds to the JSON property `createTime`
657
+ # @return [String]
658
+ attr_accessor :create_time
659
+
660
+ # The resource name of the `WorkerPool` to create. Format: `projects/`project`/
661
+ # locations/`location`/workerPools/`worker_pool``.
662
+ # Corresponds to the JSON property `workerPool`
663
+ # @return [String]
664
+ attr_accessor :worker_pool
665
+
666
+ def initialize(**args)
667
+ update!(**args)
668
+ end
669
+
670
+ # Update properties of this object
671
+ def update!(**args)
672
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
673
+ @create_time = args[:create_time] if args.key?(:create_time)
674
+ @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
675
+ end
676
+ end
677
+
678
+ # Metadata for the `DeleteWorkerPool` operation.
679
+ class DeleteWorkerPoolOperationMetadata
680
+ include Google::Apis::Core::Hashable
681
+
682
+ # Time the operation was completed.
683
+ # Corresponds to the JSON property `completeTime`
684
+ # @return [String]
685
+ attr_accessor :complete_time
686
+
687
+ # Time the operation was created.
688
+ # Corresponds to the JSON property `createTime`
689
+ # @return [String]
690
+ attr_accessor :create_time
691
+
692
+ # The resource name of the `WorkerPool` being deleted. Format: `projects/`
693
+ # project`/locations/`location`/workerPools/`worker_pool``.
694
+ # Corresponds to the JSON property `workerPool`
695
+ # @return [String]
696
+ attr_accessor :worker_pool
697
+
698
+ def initialize(**args)
699
+ update!(**args)
700
+ end
701
+
702
+ # Update properties of this object
703
+ def update!(**args)
704
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
705
+ @create_time = args[:create_time] if args.key?(:create_time)
706
+ @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
707
+ end
708
+ end
709
+
640
710
  # A generic empty message that you can re-use to avoid defining duplicated empty
641
711
  # messages in your APIs. A typical example is to use it as the request or the
642
712
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1048,6 +1118,29 @@ module Google
1048
1118
  end
1049
1119
  end
1050
1120
 
1121
+ # Details about how a build should be executed on a `WorkerPool`. See [running
1122
+ # builds in a custom worker pool](https://cloud.google.com/build/docs/custom-
1123
+ # workers/run-builds-in-custom-worker-pool) for more information.
1124
+ class PoolOption
1125
+ include Google::Apis::Core::Hashable
1126
+
1127
+ # The `WorkerPool` resource to execute the build on. You must have `cloudbuild.
1128
+ # workerpools.use` on the project hosting the WorkerPool. Format projects/`
1129
+ # project`/locations/`location`/workerPools/`workerPoolId`
1130
+ # Corresponds to the JSON property `name`
1131
+ # @return [String]
1132
+ attr_accessor :name
1133
+
1134
+ def initialize(**args)
1135
+ update!(**args)
1136
+ end
1137
+
1138
+ # Update properties of this object
1139
+ def update!(**args)
1140
+ @name = args[:name] if args.key?(:name)
1141
+ end
1142
+ end
1143
+
1051
1144
  # Location of the source in a Google Cloud Source Repository.
1052
1145
  class RepoSource
1053
1146
  include Google::Apis::Core::Hashable
@@ -1343,7 +1436,8 @@ module Google
1343
1436
  attr_accessor :storage_source
1344
1437
 
1345
1438
  # Location of the source manifest in Google Cloud Storage. This feature is in
1346
- # Preview.
1439
+ # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
1440
+ # builders/tree/master/gcs-fetcher).
1347
1441
  # Corresponds to the JSON property `storageSourceManifest`
1348
1442
  # @return [Google::Apis::CloudbuildV1beta1::StorageSourceManifest]
1349
1443
  attr_accessor :storage_source_manifest
@@ -1387,7 +1481,8 @@ module Google
1387
1481
  attr_accessor :resolved_storage_source
1388
1482
 
1389
1483
  # Location of the source manifest in Google Cloud Storage. This feature is in
1390
- # Preview.
1484
+ # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
1485
+ # builders/tree/master/gcs-fetcher).
1391
1486
  # Corresponds to the JSON property `resolvedStorageSourceManifest`
1392
1487
  # @return [Google::Apis::CloudbuildV1beta1::StorageSourceManifest]
1393
1488
  attr_accessor :resolved_storage_source_manifest
@@ -1480,7 +1575,8 @@ module Google
1480
1575
  end
1481
1576
 
1482
1577
  # Location of the source manifest in Google Cloud Storage. This feature is in
1483
- # Preview.
1578
+ # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
1579
+ # builders/tree/master/gcs-fetcher).
1484
1580
  class StorageSourceManifest
1485
1581
  include Google::Apis::Core::Hashable
1486
1582
 
@@ -1540,6 +1636,38 @@ module Google
1540
1636
  end
1541
1637
  end
1542
1638
 
1639
+ # Metadata for the `UpdateWorkerPool` operation.
1640
+ class UpdateWorkerPoolOperationMetadata
1641
+ include Google::Apis::Core::Hashable
1642
+
1643
+ # Time the operation was completed.
1644
+ # Corresponds to the JSON property `completeTime`
1645
+ # @return [String]
1646
+ attr_accessor :complete_time
1647
+
1648
+ # Time the operation was created.
1649
+ # Corresponds to the JSON property `createTime`
1650
+ # @return [String]
1651
+ attr_accessor :create_time
1652
+
1653
+ # The resource name of the `WorkerPool` being updated. Format: `projects/`
1654
+ # project`/locations/`location`/workerPools/`worker_pool``.
1655
+ # Corresponds to the JSON property `workerPool`
1656
+ # @return [String]
1657
+ attr_accessor :worker_pool
1658
+
1659
+ def initialize(**args)
1660
+ update!(**args)
1661
+ end
1662
+
1663
+ # Update properties of this object
1664
+ def update!(**args)
1665
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
1666
+ @create_time = args[:create_time] if args.key?(:create_time)
1667
+ @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
1668
+ end
1669
+ end
1670
+
1543
1671
  # Volume describes a Docker container volume which is mounted into build steps
1544
1672
  # in order to persist files across build step execution.
1545
1673
  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.6.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 = "20210701"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,18 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class CreateWorkerPoolOperationMetadata
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class DeleteWorkerPoolOperationMetadata
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class Empty
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -160,6 +172,12 @@ module Google
160
172
  include Google::Apis::Core::JsonObjectSupport
161
173
  end
162
174
 
175
+ class PoolOption
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
163
181
  class RepoSource
164
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
183
 
@@ -238,6 +256,12 @@ module Google
238
256
  include Google::Apis::Core::JsonObjectSupport
239
257
  end
240
258
 
259
+ class UpdateWorkerPoolOperationMetadata
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
241
265
  class Volume
242
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
267
 
@@ -350,6 +374,8 @@ module Google
350
374
  property :log_streaming_option, as: 'logStreamingOption'
351
375
  property :logging, as: 'logging'
352
376
  property :machine_type, as: 'machineType'
377
+ property :pool, as: 'pool', class: Google::Apis::CloudbuildV1beta1::PoolOption, decorator: Google::Apis::CloudbuildV1beta1::PoolOption::Representation
378
+
353
379
  property :requested_verify_option, as: 'requestedVerifyOption'
354
380
  collection :secret_env, as: 'secretEnv'
355
381
  collection :source_provenance_hash, as: 'sourceProvenanceHash'
@@ -398,6 +424,24 @@ module Google
398
424
  end
399
425
  end
400
426
 
427
+ class CreateWorkerPoolOperationMetadata
428
+ # @private
429
+ class Representation < Google::Apis::Core::JsonRepresentation
430
+ property :complete_time, as: 'completeTime'
431
+ property :create_time, as: 'createTime'
432
+ property :worker_pool, as: 'workerPool'
433
+ end
434
+ end
435
+
436
+ class DeleteWorkerPoolOperationMetadata
437
+ # @private
438
+ class Representation < Google::Apis::Core::JsonRepresentation
439
+ property :complete_time, as: 'completeTime'
440
+ property :create_time, as: 'createTime'
441
+ property :worker_pool, as: 'workerPool'
442
+ end
443
+ end
444
+
401
445
  class Empty
402
446
  # @private
403
447
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -521,6 +565,13 @@ module Google
521
565
  end
522
566
  end
523
567
 
568
+ class PoolOption
569
+ # @private
570
+ class Representation < Google::Apis::Core::JsonRepresentation
571
+ property :name, as: 'name'
572
+ end
573
+ end
574
+
524
575
  class RepoSource
525
576
  # @private
526
577
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -657,6 +708,15 @@ module Google
657
708
  end
658
709
  end
659
710
 
711
+ class UpdateWorkerPoolOperationMetadata
712
+ # @private
713
+ class Representation < Google::Apis::Core::JsonRepresentation
714
+ property :complete_time, as: 'completeTime'
715
+ property :create_time, as: 'createTime'
716
+ property :worker_pool, as: 'workerPool'
717
+ end
718
+ end
719
+
660
720
  class Volume
661
721
  # @private
662
722
  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.6.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-07-05 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.6.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: []