google-apis-cloudbuild_v1alpha2 0.16.0 → 0.17.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: 5da035ee1549eefba22894d69ad89f2b9ba2a34680043c1eef258b1942e8673e
4
- data.tar.gz: c40ea62c66972527bdee9f5d900c3c8075a3b9198597c8d1935d2d8972f8fd60
3
+ metadata.gz: 467b56aa1927f2fa0fe8cccc6db85c09008f617914a13356fe37dc517e7c0d72
4
+ data.tar.gz: 61ed17a8683a275694c88c301dfca3ceaf40e5429aba914a50b75b676655be6e
5
5
  SHA512:
6
- metadata.gz: ea078a3bf330850b208a4bab7e166bb9c1155c5c991cc4d1bbc5427fdc440fac439cac46b85de04177a301faf23e0ebfea1381c99908bc09e5f956bc75c5e827
7
- data.tar.gz: 30b8e7806bc174be749b47862bc706407db6ca75e9b9a2da27e40537b4ebfda0985c20a06fd69285c1e1e61eb29bdde02dd3afd3ccc1ceb6f079785948c2a974
6
+ metadata.gz: 7b4d51dbac4872bbd89b718a6d58859536f46dc611aeee99deeccc9fb744cfaf18353109c5ba97c343970be9a6b8fe1179e12e328c10510987e8989388455e1e
7
+ data.tar.gz: 62a837690f7800cd2858e52f3147a2bbc3c1f190da84ebd06b338a2790a6a4cdd47af9545b2b62aa26b060eaeb25041c967bf29ffa3fc7b50e2f7c1571fe6966
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudbuild_v1alpha2
2
2
 
3
+ ### v0.17.0 (2022-02-05)
4
+
5
+ * Regenerated from discovery document revision 20220126
6
+ * Regenerated using generator version 0.4.1
7
+
3
8
  ### v0.16.0 (2022-01-11)
4
9
 
5
10
  * Regenerated from discovery document revision 20211230
@@ -1210,6 +1210,40 @@ module Google
1210
1210
  end
1211
1211
  end
1212
1212
 
1213
+ # Configuration per workload for both Private Pools and Hybrid Pools.
1214
+ class GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
1215
+ include Google::Apis::Core::Hashable
1216
+
1217
+ # The disk size (in GB) which is requested for the build container. If unset, a
1218
+ # value of 10 GB will be used.
1219
+ # Corresponds to the JSON property `diskSizeGb`
1220
+ # @return [Fixnum]
1221
+ attr_accessor :disk_size_gb
1222
+
1223
+ # The memory (in GB) which is requested for the build container. If unset, a
1224
+ # value of 4 GB will be used.
1225
+ # Corresponds to the JSON property `memoryGb`
1226
+ # @return [Float]
1227
+ attr_accessor :memory_gb
1228
+
1229
+ # The number of vCPUs which are requested for the build container. If unset, a
1230
+ # value of 1 will be used.
1231
+ # Corresponds to the JSON property `vcpuCount`
1232
+ # @return [Float]
1233
+ attr_accessor :vcpu_count
1234
+
1235
+ def initialize(**args)
1236
+ update!(**args)
1237
+ end
1238
+
1239
+ # Update properties of this object
1240
+ def update!(**args)
1241
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1242
+ @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
1243
+ @vcpu_count = args[:vcpu_count] if args.key?(:vcpu_count)
1244
+ end
1245
+ end
1246
+
1213
1247
  # Represents the metadata of the long-running operation.
1214
1248
  class GoogleDevtoolsCloudbuildV2OperationMetadata
1215
1249
  include Google::Apis::Core::Hashable
@@ -1712,6 +1746,11 @@ module Google
1712
1746
  # @return [String]
1713
1747
  attr_accessor :name
1714
1748
 
1749
+ # Configuration per workload for both Private Pools and Hybrid Pools.
1750
+ # Corresponds to the JSON property `workerConfig`
1751
+ # @return [Google::Apis::CloudbuildV1alpha2::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig]
1752
+ attr_accessor :worker_config
1753
+
1715
1754
  def initialize(**args)
1716
1755
  update!(**args)
1717
1756
  end
@@ -1719,6 +1758,7 @@ module Google
1719
1758
  # Update properties of this object
1720
1759
  def update!(**args)
1721
1760
  @name = args[:name] if args.key?(:name)
1761
+ @worker_config = args[:worker_config] if args.key?(:worker_config)
1722
1762
  end
1723
1763
  end
1724
1764
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1alpha2
18
18
  # Version of the google-apis-cloudbuild_v1alpha2 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211230"
25
+ REVISION = "20220126"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class GoogleDevtoolsCloudbuildV2OperationMetadata
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -709,6 +715,15 @@ module Google
709
715
  end
710
716
  end
711
717
 
718
+ class GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
719
+ # @private
720
+ class Representation < Google::Apis::Core::JsonRepresentation
721
+ property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
722
+ property :memory_gb, as: 'memoryGb'
723
+ property :vcpu_count, as: 'vcpuCount'
724
+ end
725
+ end
726
+
712
727
  class GoogleDevtoolsCloudbuildV2OperationMetadata
713
728
  # @private
714
729
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -848,6 +863,8 @@ module Google
848
863
  # @private
849
864
  class Representation < Google::Apis::Core::JsonRepresentation
850
865
  property :name, as: 'name'
866
+ property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1alpha2::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig, decorator: Google::Apis::CloudbuildV1alpha2::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig::Representation
867
+
851
868
  end
852
869
  end
853
870
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1alpha2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.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: 2022-01-17 00:00:00.000000000 Z
11
+ date: 2022-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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/main/generated/google-apis-cloudbuild_v1alpha2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha2/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha2/v0.17.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1alpha2
63
63
  post_install_message:
64
64
  rdoc_options: []