google-apis-cloudbuild_v1alpha1 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: 3db60f9c4f43bc8abba3974057789e410b37eb8a3c5738aa507008c7ac46a120
4
- data.tar.gz: e145a79cad289f0864fd4d900954ccc992643e1568a90d2abb76512d9ea1bb07
3
+ metadata.gz: 3be0b5224d3c4d66b08f7240ad436e37543190c2e96aa2b9c23adb0028adf8ab
4
+ data.tar.gz: 811d191e188bfedd96f5943d5b9fedecfeec64cf363f488cd315e7382254a1fe
5
5
  SHA512:
6
- metadata.gz: 3da9b5bd4abbb745b723abc8f07df16492383c9ddf6d0f4adaeaa4765ecd4b86d3817835bb3b7b85ba66a27fc7a6f994428bf595a78b4b90c5e42b843e35b771
7
- data.tar.gz: 194090206ef31cf43194721e71568dc572b6c9bd61dac11b98c4b099e85d7ac8cc134f414b1011fef2a398183093cc9c3560e5ff5202cb989bc7630798263ef8
6
+ metadata.gz: ecf11b0b4b93cca459f7102988ad4e06b43e079d8761ca2396387fe267fbfdebf4003bd19a0b35552d56903dda3a79b3a76cb678ead207a0256075c140e84894
7
+ data.tar.gz: 27a025efae10ebf16cca499760b8f6c5bcaa5b2e1b8d3ab8cbf16ec4853ae135c484f59b5c049c8db8a0fb7e5327d4a10cf5c27eeea9bb5ce939144ed0452ade
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-cloudbuild_v1alpha1
2
2
 
3
+ ### v0.9.0 (2021-07-13)
4
+
5
+ * Regenerated from discovery document revision 20210709
6
+
7
+ ### v0.8.0 (2021-07-03)
8
+
9
+ * Regenerated from discovery document revision 20210701
10
+ * Regenerated using generator version 0.4.0
11
+
12
+ ### v0.7.0 (2021-06-24)
13
+
14
+ * Regenerated using generator version 0.3.0
15
+
16
+ ### v0.6.0 (2021-05-19)
17
+
18
+ * Unspecified changes
19
+
3
20
  ### v0.5.0 (2021-05-12)
4
21
 
5
22
  * Regenerated from discovery document revision 20210511
@@ -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 private pool](https://cloud.google.com/build/docs/private-pools/
407
+ # run-builds-in-private-pool) for more information.
408
+ # Corresponds to the JSON property `pool`
409
+ # @return [Google::Apis::CloudbuildV1alpha1::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::CloudbuildV1alpha1::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.
@@ -1058,6 +1128,29 @@ module Google
1058
1128
  end
1059
1129
  end
1060
1130
 
1131
+ # Details about how a build should be executed on a `WorkerPool`. See [running
1132
+ # builds in a private pool](https://cloud.google.com/build/docs/private-pools/
1133
+ # run-builds-in-private-pool) for more information.
1134
+ class PoolOption
1135
+ include Google::Apis::Core::Hashable
1136
+
1137
+ # The `WorkerPool` resource to execute the build on. You must have `cloudbuild.
1138
+ # workerpools.use` on the project hosting the WorkerPool. Format projects/`
1139
+ # project`/locations/`location`/workerPools/`workerPoolId`
1140
+ # Corresponds to the JSON property `name`
1141
+ # @return [String]
1142
+ attr_accessor :name
1143
+
1144
+ def initialize(**args)
1145
+ update!(**args)
1146
+ end
1147
+
1148
+ # Update properties of this object
1149
+ def update!(**args)
1150
+ @name = args[:name] if args.key?(:name)
1151
+ end
1152
+ end
1153
+
1061
1154
  # Location of the source in a Google Cloud Source Repository.
1062
1155
  class RepoSource
1063
1156
  include Google::Apis::Core::Hashable
@@ -1353,7 +1446,8 @@ module Google
1353
1446
  attr_accessor :storage_source
1354
1447
 
1355
1448
  # Location of the source manifest in Google Cloud Storage. This feature is in
1356
- # Preview.
1449
+ # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
1450
+ # builders/tree/master/gcs-fetcher).
1357
1451
  # Corresponds to the JSON property `storageSourceManifest`
1358
1452
  # @return [Google::Apis::CloudbuildV1alpha1::StorageSourceManifest]
1359
1453
  attr_accessor :storage_source_manifest
@@ -1397,7 +1491,8 @@ module Google
1397
1491
  attr_accessor :resolved_storage_source
1398
1492
 
1399
1493
  # Location of the source manifest in Google Cloud Storage. This feature is in
1400
- # Preview.
1494
+ # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
1495
+ # builders/tree/master/gcs-fetcher).
1401
1496
  # Corresponds to the JSON property `resolvedStorageSourceManifest`
1402
1497
  # @return [Google::Apis::CloudbuildV1alpha1::StorageSourceManifest]
1403
1498
  attr_accessor :resolved_storage_source_manifest
@@ -1472,7 +1567,7 @@ module Google
1472
1567
  attr_accessor :generation
1473
1568
 
1474
1569
  # Google Cloud Storage object containing the source. This object must be a
1475
- # gzipped archive file (`.tar.gz`) containing source to build.
1570
+ # zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.
1476
1571
  # Corresponds to the JSON property `object`
1477
1572
  # @return [String]
1478
1573
  attr_accessor :object
@@ -1490,7 +1585,8 @@ module Google
1490
1585
  end
1491
1586
 
1492
1587
  # Location of the source manifest in Google Cloud Storage. This feature is in
1493
- # Preview.
1588
+ # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
1589
+ # builders/tree/master/gcs-fetcher).
1494
1590
  class StorageSourceManifest
1495
1591
  include Google::Apis::Core::Hashable
1496
1592
 
@@ -1550,6 +1646,38 @@ module Google
1550
1646
  end
1551
1647
  end
1552
1648
 
1649
+ # Metadata for the `UpdateWorkerPool` operation.
1650
+ class UpdateWorkerPoolOperationMetadata
1651
+ include Google::Apis::Core::Hashable
1652
+
1653
+ # Time the operation was completed.
1654
+ # Corresponds to the JSON property `completeTime`
1655
+ # @return [String]
1656
+ attr_accessor :complete_time
1657
+
1658
+ # Time the operation was created.
1659
+ # Corresponds to the JSON property `createTime`
1660
+ # @return [String]
1661
+ attr_accessor :create_time
1662
+
1663
+ # The resource name of the `WorkerPool` being updated. Format: `projects/`
1664
+ # project`/locations/`location`/workerPools/`worker_pool``.
1665
+ # Corresponds to the JSON property `workerPool`
1666
+ # @return [String]
1667
+ attr_accessor :worker_pool
1668
+
1669
+ def initialize(**args)
1670
+ update!(**args)
1671
+ end
1672
+
1673
+ # Update properties of this object
1674
+ def update!(**args)
1675
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
1676
+ @create_time = args[:create_time] if args.key?(:create_time)
1677
+ @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
1678
+ end
1679
+ end
1680
+
1553
1681
  # Volume describes a Docker container volume which is mounted into build steps
1554
1682
  # in order to persist files across build step execution.
1555
1683
  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.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.2.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 = "20210709"
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::CloudbuildV1alpha1::PoolOption, decorator: Google::Apis::CloudbuildV1alpha1::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
@@ -523,6 +567,13 @@ module Google
523
567
  end
524
568
  end
525
569
 
570
+ class PoolOption
571
+ # @private
572
+ class Representation < Google::Apis::Core::JsonRepresentation
573
+ property :name, as: 'name'
574
+ end
575
+ end
576
+
526
577
  class RepoSource
527
578
  # @private
528
579
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -659,6 +710,15 @@ module Google
659
710
  end
660
711
  end
661
712
 
713
+ class UpdateWorkerPoolOperationMetadata
714
+ # @private
715
+ class Representation < Google::Apis::Core::JsonRepresentation
716
+ property :complete_time, as: 'completeTime'
717
+ property :create_time, as: 'createTime'
718
+ property :worker_pool, as: 'workerPool'
719
+ end
720
+ end
721
+
662
722
  class Volume
663
723
  # @private
664
724
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1alpha1
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-05-18 00:00:00.000000000 Z
11
+ date: 2021-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Cloud Build API V1alpha1. Simple REST
28
34
  clients are Ruby client libraries that provide access to Google services via their
29
35
  HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1alpha1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.9.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1alpha1
57
63
  post_install_message:
58
64
  rdoc_options: []