google-apis-ondemandscanning_v1 0.69.0 → 0.70.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: da674b209fbd78095e25b806be97b68de5449f9f8f6c683be6db150beb558aec
|
|
4
|
+
data.tar.gz: f394cb2e656820f64073e1c43189a76693c76af0e68b8c8b1033f2631ea62e7a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 377eb9e99d654ee952931d4b02967e5751fc1d8eabc6bead5b3a6f792690befc270a252f9e630c3e6a732ec8e2dbe4cffcbacd96bf9c9280fb7edd478433205f
|
|
7
|
+
data.tar.gz: c46599cc00f7d3c3f9abf4be6f2d5bfd3628d2599bd23eafe334fba2f069c995bd8be191d8ce131395af603dd97f4c0ba0df583bc8243540f34f95374c034670
|
data/CHANGELOG.md
CHANGED
|
@@ -2381,11 +2381,21 @@ module Google
|
|
|
2381
2381
|
# @return [String]
|
|
2382
2382
|
attr_accessor :max_severity
|
|
2383
2383
|
|
|
2384
|
+
# The base name of the model that performed the scan.
|
|
2385
|
+
# Corresponds to the JSON property `modelId`
|
|
2386
|
+
# @return [String]
|
|
2387
|
+
attr_accessor :model_id
|
|
2388
|
+
|
|
2384
2389
|
# Status of the scan.
|
|
2385
2390
|
# Corresponds to the JSON property `scanStatus`
|
|
2386
2391
|
# @return [String]
|
|
2387
2392
|
attr_accessor :scan_status
|
|
2388
2393
|
|
|
2394
|
+
# Token usage associated with an AI scan.
|
|
2395
|
+
# Corresponds to the JSON property `tokenUsage`
|
|
2396
|
+
# @return [Google::Apis::OndemandscanningV1::TokenUsage]
|
|
2397
|
+
attr_accessor :token_usage
|
|
2398
|
+
|
|
2389
2399
|
def initialize(**args)
|
|
2390
2400
|
update!(**args)
|
|
2391
2401
|
end
|
|
@@ -2393,7 +2403,9 @@ module Google
|
|
|
2393
2403
|
# Update properties of this object
|
|
2394
2404
|
def update!(**args)
|
|
2395
2405
|
@max_severity = args[:max_severity] if args.key?(:max_severity)
|
|
2406
|
+
@model_id = args[:model_id] if args.key?(:model_id)
|
|
2396
2407
|
@scan_status = args[:scan_status] if args.key?(:scan_status)
|
|
2408
|
+
@token_usage = args[:token_usage] if args.key?(:token_usage)
|
|
2397
2409
|
end
|
|
2398
2410
|
end
|
|
2399
2411
|
|
|
@@ -4152,6 +4164,49 @@ module Google
|
|
|
4152
4164
|
end
|
|
4153
4165
|
end
|
|
4154
4166
|
|
|
4167
|
+
# Token usage associated with an AI scan.
|
|
4168
|
+
class TokenUsage
|
|
4169
|
+
include Google::Apis::Core::Hashable
|
|
4170
|
+
|
|
4171
|
+
# Cache matched tokens for implicit cache.
|
|
4172
|
+
# Corresponds to the JSON property `cacheCount`
|
|
4173
|
+
# @return [Fixnum]
|
|
4174
|
+
attr_accessor :cache_count
|
|
4175
|
+
|
|
4176
|
+
# Tokens in the model response.
|
|
4177
|
+
# Corresponds to the JSON property `candidateCount`
|
|
4178
|
+
# @return [Fixnum]
|
|
4179
|
+
attr_accessor :candidate_count
|
|
4180
|
+
|
|
4181
|
+
# Tokens in the user request.
|
|
4182
|
+
# Corresponds to the JSON property `promptCount`
|
|
4183
|
+
# @return [Fixnum]
|
|
4184
|
+
attr_accessor :prompt_count
|
|
4185
|
+
|
|
4186
|
+
# Tokens in the thinking output.
|
|
4187
|
+
# Corresponds to the JSON property `thinkingCount`
|
|
4188
|
+
# @return [Fixnum]
|
|
4189
|
+
attr_accessor :thinking_count
|
|
4190
|
+
|
|
4191
|
+
# Prompt tokens for using tools.
|
|
4192
|
+
# Corresponds to the JSON property `toolUsePromptCount`
|
|
4193
|
+
# @return [Fixnum]
|
|
4194
|
+
attr_accessor :tool_use_prompt_count
|
|
4195
|
+
|
|
4196
|
+
def initialize(**args)
|
|
4197
|
+
update!(**args)
|
|
4198
|
+
end
|
|
4199
|
+
|
|
4200
|
+
# Update properties of this object
|
|
4201
|
+
def update!(**args)
|
|
4202
|
+
@cache_count = args[:cache_count] if args.key?(:cache_count)
|
|
4203
|
+
@candidate_count = args[:candidate_count] if args.key?(:candidate_count)
|
|
4204
|
+
@prompt_count = args[:prompt_count] if args.key?(:prompt_count)
|
|
4205
|
+
@thinking_count = args[:thinking_count] if args.key?(:thinking_count)
|
|
4206
|
+
@tool_use_prompt_count = args[:tool_use_prompt_count] if args.key?(:tool_use_prompt_count)
|
|
4207
|
+
end
|
|
4208
|
+
end
|
|
4209
|
+
|
|
4155
4210
|
# The Upgrade Distribution represents metadata about the Upgrade for each
|
|
4156
4211
|
# operating system (CPE). Some distributions have additional metadata around
|
|
4157
4212
|
# updates, classifying them into various categories and severities.
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module OndemandscanningV1
|
|
18
18
|
# Version of the google-apis-ondemandscanning_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.70.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 = "20260828"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -664,6 +664,12 @@ module Google
|
|
|
664
664
|
include Google::Apis::Core::JsonObjectSupport
|
|
665
665
|
end
|
|
666
666
|
|
|
667
|
+
class TokenUsage
|
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
|
+
|
|
670
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
671
|
+
end
|
|
672
|
+
|
|
667
673
|
class UpgradeDistribution
|
|
668
674
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
675
|
|
|
@@ -1380,7 +1386,10 @@ module Google
|
|
|
1380
1386
|
# @private
|
|
1381
1387
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1382
1388
|
property :max_severity, as: 'maxSeverity'
|
|
1389
|
+
property :model_id, as: 'modelId'
|
|
1383
1390
|
property :scan_status, as: 'scanStatus'
|
|
1391
|
+
property :token_usage, as: 'tokenUsage', class: Google::Apis::OndemandscanningV1::TokenUsage, decorator: Google::Apis::OndemandscanningV1::TokenUsage::Representation
|
|
1392
|
+
|
|
1384
1393
|
end
|
|
1385
1394
|
end
|
|
1386
1395
|
|
|
@@ -1864,6 +1873,17 @@ module Google
|
|
|
1864
1873
|
end
|
|
1865
1874
|
end
|
|
1866
1875
|
|
|
1876
|
+
class TokenUsage
|
|
1877
|
+
# @private
|
|
1878
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1879
|
+
property :cache_count, :numeric_string => true, as: 'cacheCount'
|
|
1880
|
+
property :candidate_count, :numeric_string => true, as: 'candidateCount'
|
|
1881
|
+
property :prompt_count, :numeric_string => true, as: 'promptCount'
|
|
1882
|
+
property :thinking_count, :numeric_string => true, as: 'thinkingCount'
|
|
1883
|
+
property :tool_use_prompt_count, :numeric_string => true, as: 'toolUsePromptCount'
|
|
1884
|
+
end
|
|
1885
|
+
end
|
|
1886
|
+
|
|
1867
1887
|
class UpgradeDistribution
|
|
1868
1888
|
# @private
|
|
1869
1889
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-ondemandscanning_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.70.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-ondemandscanning_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.70.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|