google-apis-containeranalysis_v1alpha1 0.91.0 → 0.93.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: c882924452c68f09053a1e82c39c017ce0a77e47a1cfb0b04835a3d6f0c3740f
4
- data.tar.gz: b13b53be4797b78c6f2334beadf7b0eb373c0a6815c72f029731c63ea0841f8d
3
+ metadata.gz: 538dd6085327f51b0ee3b7242949ea8caf905cb83b658dbaf68fe1613c657523
4
+ data.tar.gz: 0ce88378f491c0979bebea1eb0481027b8711010acc27c7cc55724e6c58ff0cf
5
5
  SHA512:
6
- metadata.gz: d28b87c290d9d3672347e33a22bae1070e7afe8953b56f179fc14f3c2d974bb9801476428ede47aba64bc6d9e3122a988de52564346fd77c1ac44cb8249ef489
7
- data.tar.gz: 8de7f9807631c782e4078a3a0c29cb0c746d9ea7dc486a7ae3c7880801fb6bb42dd9bcc890ce699d007b556e9561e0cd4f699bb2699d934ab2135d39fafdbe4e
6
+ metadata.gz: b9b8e303cf3cad3d720549cd8b172745dce769cde519bdb6872a1cdb341d707ed98b142b57e70543e6e8a0a95b3e45fc1bc192c087f2671c05151f720aae6076
7
+ data.tar.gz: cdf2b472c35985951b638265c79a778cde3282d8d24b9bf4421c8c7e28545d8f02c45f681974279f5a170a4a07cbbbe531919c22f6ced617a44b34b2043d9639
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.93.0 (2026-10-04)
4
+
5
+ * Regenerated from discovery document revision 20260929
6
+
7
+ ### v0.92.0 (2026-09-27)
8
+
9
+ * Regenerated from discovery document revision 20260918
10
+
3
11
  ### v0.91.0 (2026-09-06)
4
12
 
5
13
  * Regenerated from discovery document revision 20260826
@@ -2169,6 +2169,11 @@ module Google
2169
2169
  # @return [String]
2170
2170
  attr_accessor :requested_verify_option
2171
2171
 
2172
+ # Output only. Worker release resolved from the release channel.
2173
+ # Corresponds to the JSON property `resolvedWorkerRelease`
2174
+ # @return [String]
2175
+ attr_accessor :resolved_worker_release
2176
+
2172
2177
  # A list of global environment variables, which are encrypted using a Cloud Key
2173
2178
  # Management Service crypto key. These values must be specified in the build's `
2174
2179
  # Secret`. These variables will be available to all build steps in this build.
@@ -2203,6 +2208,12 @@ module Google
2203
2208
  # @return [String]
2204
2209
  attr_accessor :worker_pool
2205
2210
 
2211
+ # Optional. Option to specify which release or release channel (rapid|regular|
2212
+ # stable) to use to run this build.
2213
+ # Corresponds to the JSON property `workerRelease`
2214
+ # @return [String]
2215
+ attr_accessor :worker_release
2216
+
2206
2217
  def initialize(**args)
2207
2218
  update!(**args)
2208
2219
  end
@@ -2221,11 +2232,13 @@ module Google
2221
2232
  @pool = args[:pool] if args.key?(:pool)
2222
2233
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
2223
2234
  @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
2235
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
2224
2236
  @secret_env = args[:secret_env] if args.key?(:secret_env)
2225
2237
  @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
2226
2238
  @substitution_option = args[:substitution_option] if args.key?(:substitution_option)
2227
2239
  @volumes = args[:volumes] if args.key?(:volumes)
2228
2240
  @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
2241
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
2229
2242
  end
2230
2243
  end
2231
2244
 
@@ -2242,6 +2255,18 @@ module Google
2242
2255
  # @return [String]
2243
2256
  attr_accessor :name
2244
2257
 
2258
+ # Output only. OUTPUT_ONLY. Worker release resolved from the release channel.
2259
+ # Corresponds to the JSON property `resolvedWorkerRelease`
2260
+ # @return [String]
2261
+ attr_accessor :resolved_worker_release
2262
+
2263
+ # Output only. OUTPUT_ONLY. The release or release channel used to run the Build.
2264
+ # This is set to the same value as `PrivatePoolV1Config.WorkerConfig.
2265
+ # worker_release` for the UI to easily access.
2266
+ # Corresponds to the JSON property `workerRelease`
2267
+ # @return [String]
2268
+ attr_accessor :worker_release
2269
+
2245
2270
  def initialize(**args)
2246
2271
  update!(**args)
2247
2272
  end
@@ -2249,6 +2274,56 @@ module Google
2249
2274
  # Update properties of this object
2250
2275
  def update!(**args)
2251
2276
  @name = args[:name] if args.key?(:name)
2277
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
2278
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
2279
+ end
2280
+ end
2281
+
2282
+ # Aggregated/summary metrics over the entire build lifecycle.
2283
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage
2284
+ include Google::Apis::Core::Hashable
2285
+
2286
+ # Output only. The average CPU utilization ratio across all vCPUs over the
2287
+ # duration of the build, expressed as a fraction in the range [0.0, 1.0].
2288
+ # Corresponds to the JSON property `averageCpuUtilization`
2289
+ # @return [Float]
2290
+ attr_accessor :average_cpu_utilization
2291
+
2292
+ # Output only. The average memory utilization ratio over the duration of the
2293
+ # build, expressed as a fraction in the range [0.0, 1.0].
2294
+ # Corresponds to the JSON property `averageMemoryUtilization`
2295
+ # @return [Float]
2296
+ attr_accessor :average_memory_utilization
2297
+
2298
+ # Output only. The highest CPU utilization ratio across all vCPUs observed over
2299
+ # the duration of the build, expressed as a fraction in the range [0.0, 1.0].
2300
+ # Corresponds to the JSON property `peakCpuUtilization`
2301
+ # @return [Float]
2302
+ attr_accessor :peak_cpu_utilization
2303
+
2304
+ # Output only. The highest memory utilization ratio observed over the duration
2305
+ # of the build, expressed as a fraction in the range [0.0, 1.0].
2306
+ # Corresponds to the JSON property `peakMemoryUtilization`
2307
+ # @return [Float]
2308
+ attr_accessor :peak_memory_utilization
2309
+
2310
+ # Output only. Total CPU execution time consumed across all cores during build
2311
+ # execution.
2312
+ # Corresponds to the JSON property `totalCpuDuration`
2313
+ # @return [String]
2314
+ attr_accessor :total_cpu_duration
2315
+
2316
+ def initialize(**args)
2317
+ update!(**args)
2318
+ end
2319
+
2320
+ # Update properties of this object
2321
+ def update!(**args)
2322
+ @average_cpu_utilization = args[:average_cpu_utilization] if args.key?(:average_cpu_utilization)
2323
+ @average_memory_utilization = args[:average_memory_utilization] if args.key?(:average_memory_utilization)
2324
+ @peak_cpu_utilization = args[:peak_cpu_utilization] if args.key?(:peak_cpu_utilization)
2325
+ @peak_memory_utilization = args[:peak_memory_utilization] if args.key?(:peak_memory_utilization)
2326
+ @total_cpu_duration = args[:total_cpu_duration] if args.key?(:total_cpu_duration)
2252
2327
  end
2253
2328
  end
2254
2329
 
@@ -3020,6 +3095,11 @@ module Google
3020
3095
  # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage>]
3021
3096
  attr_accessor :python_packages
3022
3097
 
3098
+ # Aggregated/summary metrics over the entire build lifecycle.
3099
+ # Corresponds to the JSON property `resourceUsage`
3100
+ # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage]
3101
+ attr_accessor :resource_usage
3102
+
3023
3103
  def initialize(**args)
3024
3104
  update!(**args)
3025
3105
  end
@@ -3038,6 +3118,7 @@ module Google
3038
3118
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
3039
3119
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
3040
3120
  @python_packages = args[:python_packages] if args.key?(:python_packages)
3121
+ @resource_usage = args[:resource_usage] if args.key?(:resource_usage)
3041
3122
  end
3042
3123
  end
3043
3124
 
@@ -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.91.0"
19
+ GEM_VERSION = "0.93.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260826"
25
+ REVISION = "20260929"
26
26
  end
27
27
  end
28
28
  end
@@ -274,6 +274,12 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
277
283
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep
278
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
285
 
@@ -1766,12 +1772,14 @@ module Google
1766
1772
 
1767
1773
  property :pubsub_topic, as: 'pubsubTopic'
1768
1774
  property :requested_verify_option, as: 'requestedVerifyOption'
1775
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
1769
1776
  collection :secret_env, as: 'secretEnv'
1770
1777
  collection :source_provenance_hash, as: 'sourceProvenanceHash'
1771
1778
  property :substitution_option, as: 'substitutionOption'
1772
1779
  collection :volumes, as: 'volumes', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1Volume, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1Volume::Representation
1773
1780
 
1774
1781
  property :worker_pool, as: 'workerPool'
1782
+ property :worker_release, as: 'workerRelease'
1775
1783
  end
1776
1784
  end
1777
1785
 
@@ -1779,6 +1787,19 @@ module Google
1779
1787
  # @private
1780
1788
  class Representation < Google::Apis::Core::JsonRepresentation
1781
1789
  property :name, as: 'name'
1790
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
1791
+ property :worker_release, as: 'workerRelease'
1792
+ end
1793
+ end
1794
+
1795
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage
1796
+ # @private
1797
+ class Representation < Google::Apis::Core::JsonRepresentation
1798
+ property :average_cpu_utilization, as: 'averageCpuUtilization'
1799
+ property :average_memory_utilization, as: 'averageMemoryUtilization'
1800
+ property :peak_cpu_utilization, as: 'peakCpuUtilization'
1801
+ property :peak_memory_utilization, as: 'peakMemoryUtilization'
1802
+ property :total_cpu_duration, as: 'totalCpuDuration'
1782
1803
  end
1783
1804
  end
1784
1805
 
@@ -1981,6 +2002,8 @@ module Google
1981
2002
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1982
2003
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
1983
2004
 
2005
+ property :resource_usage, as: 'resourceUsage', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage::Representation
2006
+
1984
2007
  end
1985
2008
  end
1986
2009
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.91.0
4
+ version: 0.93.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.91.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.93.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
62
62
  rdoc_options: []
63
63
  require_paths: