google-apis-cloudbuild_v1beta1 0.15.0 → 0.16.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: 41fccd0eb2324c0645e42d5acdf5c387134dfd0b3a4b4a454d614a7345b0b469
4
- data.tar.gz: 2055152e0352c075baa28713717d61cdd8da949a1203ddbe528ff3ea210268fa
3
+ metadata.gz: '08c6feaffe8bb2a812433e08b3f5e21f2f80b8ef8f4d69309fc2d4f7eaadc292'
4
+ data.tar.gz: 72da00d493d1256faa77573247d9e972864357b4635c5fd1d23421757ca1d6bc
5
5
  SHA512:
6
- metadata.gz: d1808ad54935c5f4909fa37b4c62da63d977c82d500a1e77da3ea436ae7602b08d4e58a7539e9026a9396a8774ae07ddd4b6e2ef00d8558f65bee5dd9a5790f2
7
- data.tar.gz: f671e94d1bb9fad183d420e2867b2c4c1c02df0c674dbbd7262e63396cacc8317470e93c1d8b0ea85e7fa55c8649c68eb9ba3b9e62c7e1b2a5975946d42b9f22
6
+ metadata.gz: b8f8090ebee5b05f7c91ecf99261a691b7ad43a7ae171b8de01951b95392f52f4cf0bc0a594a3823373ac5d1b7a68db079bd2b79ad92f8c95d76e3334d480681
7
+ data.tar.gz: 7462c1eae708494d4c6402778d31098af4fb0b31ddf0f84fc5ad1cdc667499118f37b0ac25d50741eec3c01dc6c01e5cdd52cbe3c9fa12691e5eef98a76c56ec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudbuild_v1beta1
2
2
 
3
+ ### v0.16.0 (2022-02-05)
4
+
5
+ * Regenerated from discovery document revision 20220126
6
+ * Regenerated using generator version 0.4.1
7
+
3
8
  ### v0.15.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
@@ -1715,6 +1749,11 @@ module Google
1715
1749
  # @return [String]
1716
1750
  attr_accessor :name
1717
1751
 
1752
+ # Configuration per workload for both Private Pools and Hybrid Pools.
1753
+ # Corresponds to the JSON property `workerConfig`
1754
+ # @return [Google::Apis::CloudbuildV1beta1::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig]
1755
+ attr_accessor :worker_config
1756
+
1718
1757
  def initialize(**args)
1719
1758
  update!(**args)
1720
1759
  end
@@ -1722,6 +1761,7 @@ module Google
1722
1761
  # Update properties of this object
1723
1762
  def update!(**args)
1724
1763
  @name = args[:name] if args.key?(:name)
1764
+ @worker_config = args[:worker_config] if args.key?(:worker_config)
1725
1765
  end
1726
1766
  end
1727
1767
 
@@ -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.15.0"
19
+ GEM_VERSION = "0.16.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::CloudbuildV1beta1::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig, decorator: Google::Apis::CloudbuildV1beta1::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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []