google-apis-containeranalysis_v1 0.80.0 → 0.81.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: b358e8d2bc046e08fe51a2fcaafe6230298b49ada695fec7f60f253b07b22f18
4
+ data.tar.gz: 9fcaa44be60af401e8a072996ed167e825dfa2202dd39eb0f3e97ac3d997a092
5
5
  SHA512:
6
- metadata.gz: 72c2bf47de7a0b9147f511da858b06aad4a2d25d717fbdcf6892293bd91597a97f2748f3f903c0cc5ccb2dfbc8e84714437161fc84c8bb147a1543e38d7f449b
7
- data.tar.gz: edd4d0e11d8bfe63c040d0b4c49221867299144c62ff883f9e99bdfa33db3142223e483a06ad274769b6076f7a2dc59b544bea24dcb53b0335cd8fdc7261f6dd
6
+ metadata.gz: d5b3be68007c2b713eec4552faf358341b5696f06c5849dc08740e20bf26d5e0bc41bd3f6cb7156648abe34d972c123e3156f5caa888b5a8d44c2fe2a7e1c7f3
7
+ data.tar.gz: 934b2faf2848e0f0537a2362c05b7781e03bdf256ff933b06cd7d17463c9f199b318d6a7a99ebd50c656a0dd3cc0f62fbd93f7678e156b0354e126e5e8e15e96
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.81.0 (2026-09-06)
4
+
5
+ * Regenerated from discovery document revision 20260826
6
+
3
7
  ### v0.80.0 (2026-08-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20260812
@@ -5516,11 +5516,21 @@ module Google
5516
5516
  # @return [String]
5517
5517
  attr_accessor :max_severity
5518
5518
 
5519
+ # The base name of the model that performed the scan.
5520
+ # Corresponds to the JSON property `modelId`
5521
+ # @return [String]
5522
+ attr_accessor :model_id
5523
+
5519
5524
  # Status of the scan.
5520
5525
  # Corresponds to the JSON property `scanStatus`
5521
5526
  # @return [String]
5522
5527
  attr_accessor :scan_status
5523
5528
 
5529
+ # Token usage associated with an AI scan.
5530
+ # Corresponds to the JSON property `tokenUsage`
5531
+ # @return [Google::Apis::ContaineranalysisV1::TokenUsage]
5532
+ attr_accessor :token_usage
5533
+
5524
5534
  def initialize(**args)
5525
5535
  update!(**args)
5526
5536
  end
@@ -5528,7 +5538,9 @@ module Google
5528
5538
  # Update properties of this object
5529
5539
  def update!(**args)
5530
5540
  @max_severity = args[:max_severity] if args.key?(:max_severity)
5541
+ @model_id = args[:model_id] if args.key?(:model_id)
5531
5542
  @scan_status = args[:scan_status] if args.key?(:scan_status)
5543
+ @token_usage = args[:token_usage] if args.key?(:token_usage)
5532
5544
  end
5533
5545
  end
5534
5546
 
@@ -7646,6 +7658,49 @@ module Google
7646
7658
  end
7647
7659
  end
7648
7660
 
7661
+ # Token usage associated with an AI scan.
7662
+ class TokenUsage
7663
+ include Google::Apis::Core::Hashable
7664
+
7665
+ # Cache matched tokens for implicit cache.
7666
+ # Corresponds to the JSON property `cacheCount`
7667
+ # @return [Fixnum]
7668
+ attr_accessor :cache_count
7669
+
7670
+ # Tokens in the model response.
7671
+ # Corresponds to the JSON property `candidateCount`
7672
+ # @return [Fixnum]
7673
+ attr_accessor :candidate_count
7674
+
7675
+ # Tokens in the user request.
7676
+ # Corresponds to the JSON property `promptCount`
7677
+ # @return [Fixnum]
7678
+ attr_accessor :prompt_count
7679
+
7680
+ # Tokens in the thinking output.
7681
+ # Corresponds to the JSON property `thinkingCount`
7682
+ # @return [Fixnum]
7683
+ attr_accessor :thinking_count
7684
+
7685
+ # Prompt tokens for using tools.
7686
+ # Corresponds to the JSON property `toolUsePromptCount`
7687
+ # @return [Fixnum]
7688
+ attr_accessor :tool_use_prompt_count
7689
+
7690
+ def initialize(**args)
7691
+ update!(**args)
7692
+ end
7693
+
7694
+ # Update properties of this object
7695
+ def update!(**args)
7696
+ @cache_count = args[:cache_count] if args.key?(:cache_count)
7697
+ @candidate_count = args[:candidate_count] if args.key?(:candidate_count)
7698
+ @prompt_count = args[:prompt_count] if args.key?(:prompt_count)
7699
+ @thinking_count = args[:thinking_count] if args.key?(:thinking_count)
7700
+ @tool_use_prompt_count = args[:tool_use_prompt_count] if args.key?(:tool_use_prompt_count)
7701
+ end
7702
+ end
7703
+
7649
7704
  # The Upgrade Distribution represents metadata about the Upgrade for each
7650
7705
  # operating system (CPE). Some distributions have additional metadata around
7651
7706
  # 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.81.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 = "20260826"
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
 
@@ -2670,7 +2676,10 @@ module Google
2670
2676
  # @private
2671
2677
  class Representation < Google::Apis::Core::JsonRepresentation
2672
2678
  property :max_severity, as: 'maxSeverity'
2679
+ property :model_id, as: 'modelId'
2673
2680
  property :scan_status, as: 'scanStatus'
2681
+ property :token_usage, as: 'tokenUsage', class: Google::Apis::ContaineranalysisV1::TokenUsage, decorator: Google::Apis::ContaineranalysisV1::TokenUsage::Representation
2682
+
2674
2683
  end
2675
2684
  end
2676
2685
 
@@ -3246,6 +3255,17 @@ module Google
3246
3255
  end
3247
3256
  end
3248
3257
 
3258
+ class TokenUsage
3259
+ # @private
3260
+ class Representation < Google::Apis::Core::JsonRepresentation
3261
+ property :cache_count, :numeric_string => true, as: 'cacheCount'
3262
+ property :candidate_count, :numeric_string => true, as: 'candidateCount'
3263
+ property :prompt_count, :numeric_string => true, as: 'promptCount'
3264
+ property :thinking_count, :numeric_string => true, as: 'thinkingCount'
3265
+ property :tool_use_prompt_count, :numeric_string => true, as: 'toolUsePromptCount'
3266
+ end
3267
+ end
3268
+
3249
3269
  class UpgradeDistribution
3250
3270
  # @private
3251
3271
  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.81.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.81.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: