google-apis-containeranalysis_v1 0.80.0 → 0.82.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: 912d30a184f6bf0714dc02537376865daaa0f616a85c6167ebd1ea5762bbfead
4
- data.tar.gz: 369e4c1b4660aaf778e1fbea6c0d561d058c9e04a2849ef672b71c83f2707ff4
3
+ metadata.gz: afc8ef8d51f0e0449f37859d6ceee76ebb6d2fc59584cc24ae216c81569498f6
4
+ data.tar.gz: d33222feafbacce4149dcac7343cc14d3ac3d9d30899f1dc68fa8eed729fda6c
5
5
  SHA512:
6
- metadata.gz: 72c2bf47de7a0b9147f511da858b06aad4a2d25d717fbdcf6892293bd91597a97f2748f3f903c0cc5ccb2dfbc8e84714437161fc84c8bb147a1543e38d7f449b
7
- data.tar.gz: edd4d0e11d8bfe63c040d0b4c49221867299144c62ff883f9e99bdfa33db3142223e483a06ad274769b6076f7a2dc59b544bea24dcb53b0335cd8fdc7261f6dd
6
+ metadata.gz: 678c3ad8889952350e7cd80a8571777bf11ee9430c3685003b750d97c6169b21acd2d7d13622a48ea69132d6fec44b224a349b58d0d18c63a93688dfce1a1d18
7
+ data.tar.gz: 0b74ba6aae8b97e2ebe95fb4f16be030bfee30c3fabf385f39fd92033620be60f43eb41e5463f01d5bef10d75a9de3605edcf4a4f0e7a768de9b37a0a71fb75e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.82.0 (2026-09-27)
4
+
5
+ * Regenerated from discovery document revision 20260918
6
+
7
+ ### v0.81.0 (2026-09-06)
8
+
9
+ * Regenerated from discovery document revision 20260826
10
+
3
11
  ### v0.80.0 (2026-08-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20260812
@@ -2316,6 +2316,11 @@ module Google
2316
2316
  # @return [String]
2317
2317
  attr_accessor :requested_verify_option
2318
2318
 
2319
+ # Output only. Worker release resolved from the release channel.
2320
+ # Corresponds to the JSON property `resolvedWorkerRelease`
2321
+ # @return [String]
2322
+ attr_accessor :resolved_worker_release
2323
+
2319
2324
  # A list of global environment variables, which are encrypted using a Cloud Key
2320
2325
  # Management Service crypto key. These values must be specified in the build's `
2321
2326
  # Secret`. These variables will be available to all build steps in this build.
@@ -2350,6 +2355,12 @@ module Google
2350
2355
  # @return [String]
2351
2356
  attr_accessor :worker_pool
2352
2357
 
2358
+ # Optional. Option to specify which release or release channel (rapid|regular|
2359
+ # stable) to use to run this build.
2360
+ # Corresponds to the JSON property `workerRelease`
2361
+ # @return [String]
2362
+ attr_accessor :worker_release
2363
+
2353
2364
  def initialize(**args)
2354
2365
  update!(**args)
2355
2366
  end
@@ -2368,11 +2379,13 @@ module Google
2368
2379
  @pool = args[:pool] if args.key?(:pool)
2369
2380
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
2370
2381
  @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
2382
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
2371
2383
  @secret_env = args[:secret_env] if args.key?(:secret_env)
2372
2384
  @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
2373
2385
  @substitution_option = args[:substitution_option] if args.key?(:substitution_option)
2374
2386
  @volumes = args[:volumes] if args.key?(:volumes)
2375
2387
  @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
2388
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
2376
2389
  end
2377
2390
  end
2378
2391
 
@@ -2389,6 +2402,18 @@ module Google
2389
2402
  # @return [String]
2390
2403
  attr_accessor :name
2391
2404
 
2405
+ # Output only. OUTPUT_ONLY. Worker release resolved from the release channel.
2406
+ # Corresponds to the JSON property `resolvedWorkerRelease`
2407
+ # @return [String]
2408
+ attr_accessor :resolved_worker_release
2409
+
2410
+ # Output only. OUTPUT_ONLY. The release or release channel used to run the Build.
2411
+ # This is set to the same value as `PrivatePoolV1Config.WorkerConfig.
2412
+ # worker_release` for the UI to easily access.
2413
+ # Corresponds to the JSON property `workerRelease`
2414
+ # @return [String]
2415
+ attr_accessor :worker_release
2416
+
2392
2417
  def initialize(**args)
2393
2418
  update!(**args)
2394
2419
  end
@@ -2396,6 +2421,8 @@ module Google
2396
2421
  # Update properties of this object
2397
2422
  def update!(**args)
2398
2423
  @name = args[:name] if args.key?(:name)
2424
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
2425
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
2399
2426
  end
2400
2427
  end
2401
2428
 
@@ -5516,11 +5543,21 @@ module Google
5516
5543
  # @return [String]
5517
5544
  attr_accessor :max_severity
5518
5545
 
5546
+ # The base name of the model that performed the scan.
5547
+ # Corresponds to the JSON property `modelId`
5548
+ # @return [String]
5549
+ attr_accessor :model_id
5550
+
5519
5551
  # Status of the scan.
5520
5552
  # Corresponds to the JSON property `scanStatus`
5521
5553
  # @return [String]
5522
5554
  attr_accessor :scan_status
5523
5555
 
5556
+ # Token usage associated with an AI scan.
5557
+ # Corresponds to the JSON property `tokenUsage`
5558
+ # @return [Google::Apis::ContaineranalysisV1::TokenUsage]
5559
+ attr_accessor :token_usage
5560
+
5524
5561
  def initialize(**args)
5525
5562
  update!(**args)
5526
5563
  end
@@ -5528,7 +5565,9 @@ module Google
5528
5565
  # Update properties of this object
5529
5566
  def update!(**args)
5530
5567
  @max_severity = args[:max_severity] if args.key?(:max_severity)
5568
+ @model_id = args[:model_id] if args.key?(:model_id)
5531
5569
  @scan_status = args[:scan_status] if args.key?(:scan_status)
5570
+ @token_usage = args[:token_usage] if args.key?(:token_usage)
5532
5571
  end
5533
5572
  end
5534
5573
 
@@ -7646,6 +7685,49 @@ module Google
7646
7685
  end
7647
7686
  end
7648
7687
 
7688
+ # Token usage associated with an AI scan.
7689
+ class TokenUsage
7690
+ include Google::Apis::Core::Hashable
7691
+
7692
+ # Cache matched tokens for implicit cache.
7693
+ # Corresponds to the JSON property `cacheCount`
7694
+ # @return [Fixnum]
7695
+ attr_accessor :cache_count
7696
+
7697
+ # Tokens in the model response.
7698
+ # Corresponds to the JSON property `candidateCount`
7699
+ # @return [Fixnum]
7700
+ attr_accessor :candidate_count
7701
+
7702
+ # Tokens in the user request.
7703
+ # Corresponds to the JSON property `promptCount`
7704
+ # @return [Fixnum]
7705
+ attr_accessor :prompt_count
7706
+
7707
+ # Tokens in the thinking output.
7708
+ # Corresponds to the JSON property `thinkingCount`
7709
+ # @return [Fixnum]
7710
+ attr_accessor :thinking_count
7711
+
7712
+ # Prompt tokens for using tools.
7713
+ # Corresponds to the JSON property `toolUsePromptCount`
7714
+ # @return [Fixnum]
7715
+ attr_accessor :tool_use_prompt_count
7716
+
7717
+ def initialize(**args)
7718
+ update!(**args)
7719
+ end
7720
+
7721
+ # Update properties of this object
7722
+ def update!(**args)
7723
+ @cache_count = args[:cache_count] if args.key?(:cache_count)
7724
+ @candidate_count = args[:candidate_count] if args.key?(:candidate_count)
7725
+ @prompt_count = args[:prompt_count] if args.key?(:prompt_count)
7726
+ @thinking_count = args[:thinking_count] if args.key?(:thinking_count)
7727
+ @tool_use_prompt_count = args[:tool_use_prompt_count] if args.key?(:tool_use_prompt_count)
7728
+ end
7729
+ end
7730
+
7649
7731
  # The Upgrade Distribution represents metadata about the Upgrade for each
7650
7732
  # operating system (CPE). Some distributions have additional metadata around
7651
7733
  # updates, classifying them into various categories and severities.
@@ -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.80.0"
19
+ GEM_VERSION = "0.82.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 = "20260812"
25
+ REVISION = "20260918"
26
26
  end
27
27
  end
28
28
  end
@@ -1126,6 +1126,12 @@ module Google
1126
1126
  include Google::Apis::Core::JsonObjectSupport
1127
1127
  end
1128
1128
 
1129
+ class TokenUsage
1130
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1131
+
1132
+ include Google::Apis::Core::JsonObjectSupport
1133
+ end
1134
+
1129
1135
  class UpgradeDistribution
1130
1136
  class Representation < Google::Apis::Core::JsonRepresentation; end
1131
1137
 
@@ -1768,12 +1774,14 @@ module Google
1768
1774
 
1769
1775
  property :pubsub_topic, as: 'pubsubTopic'
1770
1776
  property :requested_verify_option, as: 'requestedVerifyOption'
1777
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
1771
1778
  collection :secret_env, as: 'secretEnv'
1772
1779
  collection :source_provenance_hash, as: 'sourceProvenanceHash'
1773
1780
  property :substitution_option, as: 'substitutionOption'
1774
1781
  collection :volumes, as: 'volumes', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1Volume, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1Volume::Representation
1775
1782
 
1776
1783
  property :worker_pool, as: 'workerPool'
1784
+ property :worker_release, as: 'workerRelease'
1777
1785
  end
1778
1786
  end
1779
1787
 
@@ -1781,6 +1789,8 @@ module Google
1781
1789
  # @private
1782
1790
  class Representation < Google::Apis::Core::JsonRepresentation
1783
1791
  property :name, as: 'name'
1792
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
1793
+ property :worker_release, as: 'workerRelease'
1784
1794
  end
1785
1795
  end
1786
1796
 
@@ -2670,7 +2680,10 @@ module Google
2670
2680
  # @private
2671
2681
  class Representation < Google::Apis::Core::JsonRepresentation
2672
2682
  property :max_severity, as: 'maxSeverity'
2683
+ property :model_id, as: 'modelId'
2673
2684
  property :scan_status, as: 'scanStatus'
2685
+ property :token_usage, as: 'tokenUsage', class: Google::Apis::ContaineranalysisV1::TokenUsage, decorator: Google::Apis::ContaineranalysisV1::TokenUsage::Representation
2686
+
2674
2687
  end
2675
2688
  end
2676
2689
 
@@ -3246,6 +3259,17 @@ module Google
3246
3259
  end
3247
3260
  end
3248
3261
 
3262
+ class TokenUsage
3263
+ # @private
3264
+ class Representation < Google::Apis::Core::JsonRepresentation
3265
+ property :cache_count, :numeric_string => true, as: 'cacheCount'
3266
+ property :candidate_count, :numeric_string => true, as: 'candidateCount'
3267
+ property :prompt_count, :numeric_string => true, as: 'promptCount'
3268
+ property :thinking_count, :numeric_string => true, as: 'thinkingCount'
3269
+ property :tool_use_prompt_count, :numeric_string => true, as: 'toolUsePromptCount'
3270
+ end
3271
+ end
3272
+
3249
3273
  class UpgradeDistribution
3250
3274
  # @private
3251
3275
  class Representation < Google::Apis::Core::JsonRepresentation
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.80.0
4
+ version: 0.82.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.80.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.82.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: