google-apis-containeranalysis_v1alpha1 0.90.0 → 0.91.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: '019768a1e29a533de083252a08d56bee89f219975f8ea795f91d04a97fc9410d'
4
- data.tar.gz: f457d4895e032eb8d3bf8ea423ad3903879287766c969e47ed321daa932b2f3b
3
+ metadata.gz: c882924452c68f09053a1e82c39c017ce0a77e47a1cfb0b04835a3d6f0c3740f
4
+ data.tar.gz: b13b53be4797b78c6f2334beadf7b0eb373c0a6815c72f029731c63ea0841f8d
5
5
  SHA512:
6
- metadata.gz: 3b094e022961f50fc8d1dc8db5245442a34e864cf69bf5c6f7b3fc31799cabc3c70693a250e49d4ce141d9f69b0c9e2e49f951bcb5775c333fba8f9ba86b0d94
7
- data.tar.gz: 297835f9b613db36bdf6b3b06474dbca7b6c74df60b08955a8141b52a6a51aef930efb58ba25687587556d274bdd24baafcc335bdd412714496eccae7bfbe94d
6
+ metadata.gz: d28b87c290d9d3672347e33a22bae1070e7afe8953b56f179fc14f3c2d974bb9801476428ede47aba64bc6d9e3122a988de52564346fd77c1ac44cb8249ef489
7
+ data.tar.gz: 8de7f9807631c782e4078a3a0c29cb0c746d9ea7dc486a7ae3c7880801fb6bb42dd9bcc890ce699d007b556e9561e0cd4f699bb2699d934ab2135d39fafdbe4e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.91.0 (2026-09-06)
4
+
5
+ * Regenerated from discovery document revision 20260826
6
+
3
7
  ### v0.90.0 (2026-08-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20260819
@@ -5731,6 +5731,11 @@ module Google
5731
5731
  # @return [String]
5732
5732
  attr_accessor :scan_state
5733
5733
 
5734
+ # Token usage associated with an AI scan.
5735
+ # Corresponds to the JSON property `tokenUsage`
5736
+ # @return [Google::Apis::ContaineranalysisV1alpha1::TokenUsage]
5737
+ attr_accessor :token_usage
5738
+
5734
5739
  def initialize(**args)
5735
5740
  update!(**args)
5736
5741
  end
@@ -5740,6 +5745,7 @@ module Google
5740
5745
  @max_severity = args[:max_severity] if args.key?(:max_severity)
5741
5746
  @model_id = args[:model_id] if args.key?(:model_id)
5742
5747
  @scan_state = args[:scan_state] if args.key?(:scan_state)
5748
+ @token_usage = args[:token_usage] if args.key?(:token_usage)
5743
5749
  end
5744
5750
  end
5745
5751
 
@@ -8261,6 +8267,49 @@ module Google
8261
8267
  end
8262
8268
  end
8263
8269
 
8270
+ # Token usage associated with an AI scan.
8271
+ class TokenUsage
8272
+ include Google::Apis::Core::Hashable
8273
+
8274
+ # Output only. Cache matched tokens for implicit cache.
8275
+ # Corresponds to the JSON property `cacheCount`
8276
+ # @return [Fixnum]
8277
+ attr_accessor :cache_count
8278
+
8279
+ # Output only. Tokens in the model response.
8280
+ # Corresponds to the JSON property `candidateCount`
8281
+ # @return [Fixnum]
8282
+ attr_accessor :candidate_count
8283
+
8284
+ # Output only. Tokens in the user request.
8285
+ # Corresponds to the JSON property `promptCount`
8286
+ # @return [Fixnum]
8287
+ attr_accessor :prompt_count
8288
+
8289
+ # Output only. Tokens in the thinking output.
8290
+ # Corresponds to the JSON property `thinkingCount`
8291
+ # @return [Fixnum]
8292
+ attr_accessor :thinking_count
8293
+
8294
+ # Output only. Prompt tokens for using tools.
8295
+ # Corresponds to the JSON property `toolUsePromptCount`
8296
+ # @return [Fixnum]
8297
+ attr_accessor :tool_use_prompt_count
8298
+
8299
+ def initialize(**args)
8300
+ update!(**args)
8301
+ end
8302
+
8303
+ # Update properties of this object
8304
+ def update!(**args)
8305
+ @cache_count = args[:cache_count] if args.key?(:cache_count)
8306
+ @candidate_count = args[:candidate_count] if args.key?(:candidate_count)
8307
+ @prompt_count = args[:prompt_count] if args.key?(:prompt_count)
8308
+ @thinking_count = args[:thinking_count] if args.key?(:thinking_count)
8309
+ @tool_use_prompt_count = args[:tool_use_prompt_count] if args.key?(:tool_use_prompt_count)
8310
+ end
8311
+ end
8312
+
8264
8313
  # An URI message.
8265
8314
  class Uri
8266
8315
  include Google::Apis::Core::Hashable
@@ -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.90.0"
19
+ GEM_VERSION = "0.91.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 = "20260819"
25
+ REVISION = "20260826"
26
26
  end
27
27
  end
28
28
  end
@@ -1168,6 +1168,12 @@ module Google
1168
1168
  include Google::Apis::Core::JsonObjectSupport
1169
1169
  end
1170
1170
 
1171
+ class TokenUsage
1172
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1173
+
1174
+ include Google::Apis::Core::JsonObjectSupport
1175
+ end
1176
+
1171
1177
  class Uri
1172
1178
  class Representation < Google::Apis::Core::JsonRepresentation; end
1173
1179
 
@@ -2755,6 +2761,8 @@ module Google
2755
2761
  property :max_severity, as: 'maxSeverity'
2756
2762
  property :model_id, as: 'modelId'
2757
2763
  property :scan_state, as: 'scanState'
2764
+ property :token_usage, as: 'tokenUsage', class: Google::Apis::ContaineranalysisV1alpha1::TokenUsage, decorator: Google::Apis::ContaineranalysisV1alpha1::TokenUsage::Representation
2765
+
2758
2766
  end
2759
2767
  end
2760
2768
 
@@ -3421,6 +3429,17 @@ module Google
3421
3429
  end
3422
3430
  end
3423
3431
 
3432
+ class TokenUsage
3433
+ # @private
3434
+ class Representation < Google::Apis::Core::JsonRepresentation
3435
+ property :cache_count, :numeric_string => true, as: 'cacheCount'
3436
+ property :candidate_count, :numeric_string => true, as: 'candidateCount'
3437
+ property :prompt_count, :numeric_string => true, as: 'promptCount'
3438
+ property :thinking_count, :numeric_string => true, as: 'thinkingCount'
3439
+ property :tool_use_prompt_count, :numeric_string => true, as: 'toolUsePromptCount'
3440
+ end
3441
+ end
3442
+
3424
3443
  class Uri
3425
3444
  # @private
3426
3445
  class Representation < Google::Apis::Core::JsonRepresentation
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.90.0
4
+ version: 0.91.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.90.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.91.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: