google-apis-cloudbuild_v1alpha1 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: 2cf279481196b551ab5f33cb9e1e9c04f953b97459a5120e9485f8bc2b55e45c
4
- data.tar.gz: e0cbed37d7fa0ea48e979043d01b34936b2633ee0efc3dc4455db753eff452ab
3
+ metadata.gz: b536dc7a80920d9212e3b85725e4b3bc7c8f77ea953b4a9312e67e6239c55b8e
4
+ data.tar.gz: 8cde1249e0e55e3d82bf5ba34ebf3ed5505c2d1fddb14c7ee544ed5c025caeca
5
5
  SHA512:
6
- metadata.gz: 5911c33d5e863c1ca8928da229ce72c6983dc60145b7a8b37dcb164c41fd5b93cbd417a66103b2fb34e802a13a4eeee6750a80b39a96841845619366c2f55acf
7
- data.tar.gz: 7bf4e6adf7a23f5ad22269ae1b91e80e528be8bcff0b092eec2d6661bb5f4e622bda2a0a76af7f0b1862b503a9cd348df1bb3c3cd542c5501068c6950298e481
6
+ metadata.gz: 56850c6d3920ddcccc9496a8de1574fd68f1f6270f51550401cde888a28f5beb3e2f0bfe2229ee5c7b66e75fda41627a6537ba61a461cad62a1e0ec8bcb79827
7
+ data.tar.gz: aed85494ce9b0e3f7db451148b96e252093067e0619b756e83cf3a8c95f95cbdc5ed3cee9d7f6885e94755a49cdd34fb1636d466408efb80dd0a326a69c3e1d8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudbuild_v1alpha1
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
@@ -1725,6 +1759,11 @@ module Google
1725
1759
  # @return [String]
1726
1760
  attr_accessor :name
1727
1761
 
1762
+ # Configuration per workload for both Private Pools and Hybrid Pools.
1763
+ # Corresponds to the JSON property `workerConfig`
1764
+ # @return [Google::Apis::CloudbuildV1alpha1::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig]
1765
+ attr_accessor :worker_config
1766
+
1728
1767
  def initialize(**args)
1729
1768
  update!(**args)
1730
1769
  end
@@ -1732,6 +1771,7 @@ module Google
1732
1771
  # Update properties of this object
1733
1772
  def update!(**args)
1734
1773
  @name = args[:name] if args.key?(:name)
1774
+ @worker_config = args[:worker_config] if args.key?(:worker_config)
1735
1775
  end
1736
1776
  end
1737
1777
 
@@ -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.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
@@ -850,6 +865,8 @@ module Google
850
865
  # @private
851
866
  class Representation < Google::Apis::Core::JsonRepresentation
852
867
  property :name, as: 'name'
868
+ property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1alpha1::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig, decorator: Google::Apis::CloudbuildV1alpha1::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig::Representation
869
+
853
870
  end
854
871
  end
855
872
 
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.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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.17.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []