google-apis-containeranalysis_v1 0.5.0 → 0.6.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: 9c9a337789a324d43b243f19ca61b9d6f2eeb5fe115765c2b1a9e2ae44a4a185
4
- data.tar.gz: 28118f2c573fd811c45695ee7ba2b6ed38d153cf0ef080548f3873af940650ed
3
+ metadata.gz: 9d481fc6556594c14316bcb501c886fbad60f0399709e4d36376a9f98e85e44a
4
+ data.tar.gz: 73477d46b61dae36d41adca2d8edf0dbba66731f4688e2cd7a10af3b27a292cd
5
5
  SHA512:
6
- metadata.gz: f12380f6f315d83ff80d141f3c9c657e122e0db47cd78eb061866a0712f87444f95a409edadcc24a1fb2cb7bab310a65ac982bc21f521a539259ef7bea9af985
7
- data.tar.gz: b39e3851758902527c7e5195ca50ed29281b78fc1609b6d3734b1deb7476db330bb9bad0ff0ad1a777f1e4a23e09252c9643f3cad8e3da08c8f75e7149a430f4
6
+ metadata.gz: 4ddf0eeb5737878b78759da2217967b4242682513f66b9a9030da54ca1e7cf68ce575c5602b7932814873843c1e433aea281842ae6d64339b3893bb2e7645ea1
7
+ data.tar.gz: 8380da0d10a755b88cd1d5e7009761474e841bcfa9ccaa529bbdb471007910cebbde0f0d84f15938292fd8c6c47188e9e82688dd35ae151c7d4201555e31f45b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.6.0 (2022-01-20)
4
+
5
+ * Regenerated from discovery document revision 20220112
6
+
3
7
  ### v0.5.0 (2022-01-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20220107
@@ -1488,6 +1488,11 @@ module Google
1488
1488
  # @return [String]
1489
1489
  attr_accessor :name
1490
1490
 
1491
+ # Configuration per workload for both Private Pools and Hybrid Pools.
1492
+ # Corresponds to the JSON property `workerConfig`
1493
+ # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig]
1494
+ attr_accessor :worker_config
1495
+
1491
1496
  def initialize(**args)
1492
1497
  update!(**args)
1493
1498
  end
@@ -1495,6 +1500,41 @@ module Google
1495
1500
  # Update properties of this object
1496
1501
  def update!(**args)
1497
1502
  @name = args[:name] if args.key?(:name)
1503
+ @worker_config = args[:worker_config] if args.key?(:worker_config)
1504
+ end
1505
+ end
1506
+
1507
+ # Configuration per workload for both Private Pools and Hybrid Pools.
1508
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
1509
+ include Google::Apis::Core::Hashable
1510
+
1511
+ # The disk size (in GB) which is requested for the build container. If unset, a
1512
+ # value of 10 GB will be used.
1513
+ # Corresponds to the JSON property `diskSizeGb`
1514
+ # @return [Fixnum]
1515
+ attr_accessor :disk_size_gb
1516
+
1517
+ # The memory (in GB) which is requested for the build container. If unset, a
1518
+ # value of 4 GB will be used.
1519
+ # Corresponds to the JSON property `memoryGb`
1520
+ # @return [Float]
1521
+ attr_accessor :memory_gb
1522
+
1523
+ # The number of vCPUs which are requested for the build container. If unset, a
1524
+ # value of 1 will be used.
1525
+ # Corresponds to the JSON property `vcpuCount`
1526
+ # @return [Float]
1527
+ attr_accessor :vcpu_count
1528
+
1529
+ def initialize(**args)
1530
+ update!(**args)
1531
+ end
1532
+
1533
+ # Update properties of this object
1534
+ def update!(**args)
1535
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1536
+ @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
1537
+ @vcpu_count = args[:vcpu_count] if args.key?(:vcpu_count)
1498
1538
  end
1499
1539
  end
1500
1540
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1
18
18
  # Version of the google-apis-containeranalysis_v1 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.6.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
@@ -214,6 +214,12 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -1106,6 +1112,17 @@ module Google
1106
1112
  # @private
1107
1113
  class Representation < Google::Apis::Core::JsonRepresentation
1108
1114
  property :name, as: 'name'
1115
+ property :worker_config, as: 'workerConfig', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig::Representation
1116
+
1117
+ end
1118
+ end
1119
+
1120
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
1121
+ # @private
1122
+ class Representation < Google::Apis::Core::JsonRepresentation
1123
+ property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1124
+ property :memory_gb, as: 'memoryGb'
1125
+ property :vcpu_count, as: 'vcpuCount'
1109
1126
  end
1110
1127
  end
1111
1128
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.6.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
63
63
  post_install_message:
64
64
  rdoc_options: []