google-apis-containeranalysis_v1alpha1 0.89.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c882924452c68f09053a1e82c39c017ce0a77e47a1cfb0b04835a3d6f0c3740f
|
|
4
|
+
data.tar.gz: b13b53be4797b78c6f2334beadf7b0eb373c0a6815c72f029731c63ea0841f8d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d28b87c290d9d3672347e33a22bae1070e7afe8953b56f179fc14f3c2d974bb9801476428ede47aba64bc6d9e3122a988de52564346fd77c1ac44cb8249ef489
|
|
7
|
+
data.tar.gz: 8de7f9807631c782e4078a3a0c29cb0c746d9ea7dc486a7ae3c7880801fb6bb42dd9bcc890ce699d007b556e9561e0cd4f699bb2699d934ab2135d39fafdbe4e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
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
|
+
|
|
7
|
+
### v0.90.0 (2026-08-30)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260819
|
|
10
|
+
|
|
3
11
|
### v0.89.0 (2026-08-23)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260812
|
|
@@ -5721,11 +5721,21 @@ module Google
|
|
|
5721
5721
|
# @return [String]
|
|
5722
5722
|
attr_accessor :max_severity
|
|
5723
5723
|
|
|
5724
|
+
# Optional. The base name of the model that performed the scan.
|
|
5725
|
+
# Corresponds to the JSON property `modelId`
|
|
5726
|
+
# @return [String]
|
|
5727
|
+
attr_accessor :model_id
|
|
5728
|
+
|
|
5724
5729
|
# Output only. State of the scan.
|
|
5725
5730
|
# Corresponds to the JSON property `scanState`
|
|
5726
5731
|
# @return [String]
|
|
5727
5732
|
attr_accessor :scan_state
|
|
5728
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
|
+
|
|
5729
5739
|
def initialize(**args)
|
|
5730
5740
|
update!(**args)
|
|
5731
5741
|
end
|
|
@@ -5733,7 +5743,9 @@ module Google
|
|
|
5733
5743
|
# Update properties of this object
|
|
5734
5744
|
def update!(**args)
|
|
5735
5745
|
@max_severity = args[:max_severity] if args.key?(:max_severity)
|
|
5746
|
+
@model_id = args[:model_id] if args.key?(:model_id)
|
|
5736
5747
|
@scan_state = args[:scan_state] if args.key?(:scan_state)
|
|
5748
|
+
@token_usage = args[:token_usage] if args.key?(:token_usage)
|
|
5737
5749
|
end
|
|
5738
5750
|
end
|
|
5739
5751
|
|
|
@@ -8255,6 +8267,49 @@ module Google
|
|
|
8255
8267
|
end
|
|
8256
8268
|
end
|
|
8257
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
|
+
|
|
8258
8313
|
# An URI message.
|
|
8259
8314
|
class Uri
|
|
8260
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.
|
|
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 = "
|
|
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
|
|
|
@@ -2753,7 +2759,10 @@ module Google
|
|
|
2753
2759
|
# @private
|
|
2754
2760
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2755
2761
|
property :max_severity, as: 'maxSeverity'
|
|
2762
|
+
property :model_id, as: 'modelId'
|
|
2756
2763
|
property :scan_state, as: 'scanState'
|
|
2764
|
+
property :token_usage, as: 'tokenUsage', class: Google::Apis::ContaineranalysisV1alpha1::TokenUsage, decorator: Google::Apis::ContaineranalysisV1alpha1::TokenUsage::Representation
|
|
2765
|
+
|
|
2757
2766
|
end
|
|
2758
2767
|
end
|
|
2759
2768
|
|
|
@@ -3420,6 +3429,17 @@ module Google
|
|
|
3420
3429
|
end
|
|
3421
3430
|
end
|
|
3422
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
|
+
|
|
3423
3443
|
class Uri
|
|
3424
3444
|
# @private
|
|
3425
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.
|
|
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.
|
|
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:
|