google-apis-containeranalysis_v1alpha1 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95a4ec360d351e75cba2adfe9f5618ad7cd37f4793c200aa4fc63b167e5dbe1d
4
- data.tar.gz: fcdb4fa64f3661f9b9857fc6e5204bb70024b1305ea9fb61d6de220f00a7f43f
3
+ metadata.gz: bc1b6e1c8109984994b065856249a183edb2ba9868e9d291319996c226028fa9
4
+ data.tar.gz: 168aac90644cd695325db7a06e27648951d3081bb875c9d3508190e128d6ebf1
5
5
  SHA512:
6
- metadata.gz: f98ae38998f89963f89f97f7e29391a7d73a95ed6a1531f976e16538b9889306119fa58742ae3ebebe4ffb58ed026ca0808e770782ffe7fc39a76a369132b0c5
7
- data.tar.gz: 434dfc107e1543c2beb5da5e95a72ba905e01a8f3f00d1f49a4f985e24a07917aefa1bb22111e94a9ec17cad6a67011841630760327d250a89b684e4ebc28741
6
+ metadata.gz: 3a624e7ff3f41bb50d2c827873e84b6b6c9a387b6e0ca2b2a253b52c95fcaa83a6cd038c0dab7f70197220cf52ee222226957bd60cbb2090d57efb9ffe1eecc2
7
+ data.tar.gz: 3ab85ad14387c8b307cf7f60afaf3c0146671589db9bf9a14ed3319fc7eb1cfb5a4e89fb9fca52de0358508833997de62d8b2a886825cccf843e9403df454cb6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.21.0 (2022-01-20)
4
+
5
+ * Regenerated from discovery document revision 20220112
6
+
3
7
  ### v0.20.0 (2022-01-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20220107
@@ -1349,6 +1349,11 @@ module Google
1349
1349
  # @return [String]
1350
1350
  attr_accessor :name
1351
1351
 
1352
+ # Configuration per workload for both Private Pools and Hybrid Pools.
1353
+ # Corresponds to the JSON property `workerConfig`
1354
+ # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig]
1355
+ attr_accessor :worker_config
1356
+
1352
1357
  def initialize(**args)
1353
1358
  update!(**args)
1354
1359
  end
@@ -1356,6 +1361,41 @@ module Google
1356
1361
  # Update properties of this object
1357
1362
  def update!(**args)
1358
1363
  @name = args[:name] if args.key?(:name)
1364
+ @worker_config = args[:worker_config] if args.key?(:worker_config)
1365
+ end
1366
+ end
1367
+
1368
+ # Configuration per workload for both Private Pools and Hybrid Pools.
1369
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
1370
+ include Google::Apis::Core::Hashable
1371
+
1372
+ # The disk size (in GB) which is requested for the build container. If unset, a
1373
+ # value of 10 GB will be used.
1374
+ # Corresponds to the JSON property `diskSizeGb`
1375
+ # @return [Fixnum]
1376
+ attr_accessor :disk_size_gb
1377
+
1378
+ # The memory (in GB) which is requested for the build container. If unset, a
1379
+ # value of 4 GB will be used.
1380
+ # Corresponds to the JSON property `memoryGb`
1381
+ # @return [Float]
1382
+ attr_accessor :memory_gb
1383
+
1384
+ # The number of vCPUs which are requested for the build container. If unset, a
1385
+ # value of 1 will be used.
1386
+ # Corresponds to the JSON property `vcpuCount`
1387
+ # @return [Float]
1388
+ attr_accessor :vcpu_count
1389
+
1390
+ def initialize(**args)
1391
+ update!(**args)
1392
+ end
1393
+
1394
+ # Update properties of this object
1395
+ def update!(**args)
1396
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1397
+ @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
1398
+ @vcpu_count = args[:vcpu_count] if args.key?(:vcpu_count)
1359
1399
  end
1360
1400
  end
1361
1401
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1alpha1
18
18
  # Version of the google-apis-containeranalysis_v1alpha1 gem
19
- GEM_VERSION = "0.20.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220107"
25
+ REVISION = "20220112"
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 ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -1110,6 +1116,17 @@ module Google
1110
1116
  # @private
1111
1117
  class Representation < Google::Apis::Core::JsonRepresentation
1112
1118
  property :name, as: 'name'
1119
+ property :worker_config, as: 'workerConfig', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig::Representation
1120
+
1121
+ end
1122
+ end
1123
+
1124
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
1125
+ # @private
1126
+ class Representation < Google::Apis::Core::JsonRepresentation
1127
+ property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1128
+ property :memory_gb, as: 'memoryGb'
1129
+ property :vcpu_count, as: 'vcpuCount'
1113
1130
  end
1114
1131
  end
1115
1132
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.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-01-24 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-containeranalysis_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []