google-apis-containeranalysis_v1 0.82.0 → 0.83.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: afc8ef8d51f0e0449f37859d6ceee76ebb6d2fc59584cc24ae216c81569498f6
4
- data.tar.gz: d33222feafbacce4149dcac7343cc14d3ac3d9d30899f1dc68fa8eed729fda6c
3
+ metadata.gz: e308b18e0dad093832efdf312c80468b1653d1b26d5fb2fb06d18cb1a7d57c70
4
+ data.tar.gz: b7682ac5c37f8b3587c545905fc3157c317c6838879656428fa048221d214ded
5
5
  SHA512:
6
- metadata.gz: 678c3ad8889952350e7cd80a8571777bf11ee9430c3685003b750d97c6169b21acd2d7d13622a48ea69132d6fec44b224a349b58d0d18c63a93688dfce1a1d18
7
- data.tar.gz: 0b74ba6aae8b97e2ebe95fb4f16be030bfee30c3fabf385f39fd92033620be60f43eb41e5463f01d5bef10d75a9de3605edcf4a4f0e7a768de9b37a0a71fb75e
6
+ metadata.gz: 59a94646502446102ec75ba914aeb78dfaa93deec2f5f52922e511477598d15564fbd008cf9f9387bca3ae32d1dd71a696dde57c8ff13200816382aeedfaf9fb
7
+ data.tar.gz: 24d20ef38b0ab8130feec0686df43cf765f80963ca5bfcf465780018e83f573613f2cf4fe295c64b8816833c435db99395c280b7924d858e4924f42f2b9da09e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.83.0 (2026-10-04)
4
+
5
+ * Regenerated from discovery document revision 20260929
6
+
3
7
  ### v0.82.0 (2026-09-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20260918
@@ -2426,6 +2426,54 @@ module Google
2426
2426
  end
2427
2427
  end
2428
2428
 
2429
+ # Aggregated/summary metrics over the entire build lifecycle.
2430
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage
2431
+ include Google::Apis::Core::Hashable
2432
+
2433
+ # Output only. The average CPU utilization ratio across all vCPUs over the
2434
+ # duration of the build, expressed as a fraction in the range [0.0, 1.0].
2435
+ # Corresponds to the JSON property `averageCpuUtilization`
2436
+ # @return [Float]
2437
+ attr_accessor :average_cpu_utilization
2438
+
2439
+ # Output only. The average memory utilization ratio over the duration of the
2440
+ # build, expressed as a fraction in the range [0.0, 1.0].
2441
+ # Corresponds to the JSON property `averageMemoryUtilization`
2442
+ # @return [Float]
2443
+ attr_accessor :average_memory_utilization
2444
+
2445
+ # Output only. The highest CPU utilization ratio across all vCPUs observed over
2446
+ # the duration of the build, expressed as a fraction in the range [0.0, 1.0].
2447
+ # Corresponds to the JSON property `peakCpuUtilization`
2448
+ # @return [Float]
2449
+ attr_accessor :peak_cpu_utilization
2450
+
2451
+ # Output only. The highest memory utilization ratio observed over the duration
2452
+ # of the build, expressed as a fraction in the range [0.0, 1.0].
2453
+ # Corresponds to the JSON property `peakMemoryUtilization`
2454
+ # @return [Float]
2455
+ attr_accessor :peak_memory_utilization
2456
+
2457
+ # Output only. Total CPU execution time consumed across all cores during build
2458
+ # execution.
2459
+ # Corresponds to the JSON property `totalCpuDuration`
2460
+ # @return [String]
2461
+ attr_accessor :total_cpu_duration
2462
+
2463
+ def initialize(**args)
2464
+ update!(**args)
2465
+ end
2466
+
2467
+ # Update properties of this object
2468
+ def update!(**args)
2469
+ @average_cpu_utilization = args[:average_cpu_utilization] if args.key?(:average_cpu_utilization)
2470
+ @average_memory_utilization = args[:average_memory_utilization] if args.key?(:average_memory_utilization)
2471
+ @peak_cpu_utilization = args[:peak_cpu_utilization] if args.key?(:peak_cpu_utilization)
2472
+ @peak_memory_utilization = args[:peak_memory_utilization] if args.key?(:peak_memory_utilization)
2473
+ @total_cpu_duration = args[:total_cpu_duration] if args.key?(:total_cpu_duration)
2474
+ end
2475
+ end
2476
+
2429
2477
  # A step in the build pipeline.
2430
2478
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep
2431
2479
  include Google::Apis::Core::Hashable
@@ -3194,6 +3242,11 @@ module Google
3194
3242
  # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage>]
3195
3243
  attr_accessor :python_packages
3196
3244
 
3245
+ # Aggregated/summary metrics over the entire build lifecycle.
3246
+ # Corresponds to the JSON property `resourceUsage`
3247
+ # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage]
3248
+ attr_accessor :resource_usage
3249
+
3197
3250
  def initialize(**args)
3198
3251
  update!(**args)
3199
3252
  end
@@ -3212,6 +3265,7 @@ module Google
3212
3265
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
3213
3266
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
3214
3267
  @python_packages = args[:python_packages] if args.key?(:python_packages)
3268
+ @resource_usage = args[:resource_usage] if args.key?(:resource_usage)
3215
3269
  end
3216
3270
  end
3217
3271
 
@@ -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.82.0"
19
+ GEM_VERSION = "0.83.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 = "20260918"
25
+ REVISION = "20260929"
26
26
  end
27
27
  end
28
28
  end
@@ -310,6 +310,12 @@ module Google
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
313
319
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep
314
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
321
 
@@ -1794,6 +1800,17 @@ module Google
1794
1800
  end
1795
1801
  end
1796
1802
 
1803
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage
1804
+ # @private
1805
+ class Representation < Google::Apis::Core::JsonRepresentation
1806
+ property :average_cpu_utilization, as: 'averageCpuUtilization'
1807
+ property :average_memory_utilization, as: 'averageMemoryUtilization'
1808
+ property :peak_cpu_utilization, as: 'peakCpuUtilization'
1809
+ property :peak_memory_utilization, as: 'peakMemoryUtilization'
1810
+ property :total_cpu_duration, as: 'totalCpuDuration'
1811
+ end
1812
+ end
1813
+
1797
1814
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep
1798
1815
  # @private
1799
1816
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1993,6 +2010,8 @@ module Google
1993
2010
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1994
2011
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
1995
2012
 
2013
+ property :resource_usage, as: 'resourceUsage', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage::Representation
2014
+
1996
2015
  end
1997
2016
  end
1998
2017
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.82.0
4
+ version: 0.83.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.82.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.83.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
62
62
  rdoc_options: []
63
63
  require_paths: