@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.3.20260812 → 0.3.20260826
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.
- package/index.d.ts +17 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://containeranalysis.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260826
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1580,8 +1580,12 @@ declare namespace gapi.client {
|
|
|
1580
1580
|
interface MaliciousContentLLMResult {
|
|
1581
1581
|
/** Tracks max severity found. */
|
|
1582
1582
|
maxSeverity?: 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH';
|
|
1583
|
+
/** The base name of the model that performed the scan. */
|
|
1584
|
+
modelId?: string;
|
|
1583
1585
|
/** Status of the scan. */
|
|
1584
1586
|
scanStatus?: 'SCAN_STATUS_UNSPECIFIED' | 'PERFORMED' | 'NOT_PERFORMED';
|
|
1587
|
+
/** Telemetry metrics tracking token usage for the AI scan. */
|
|
1588
|
+
tokenUsage?: TokenUsage;
|
|
1585
1589
|
}
|
|
1586
1590
|
interface MaliciousContentStaticResult {
|
|
1587
1591
|
/** Tracks max severity found. */
|
|
@@ -2199,6 +2203,18 @@ declare namespace gapi.client {
|
|
|
2199
2203
|
/** Start of time span. */
|
|
2200
2204
|
startTime?: string;
|
|
2201
2205
|
}
|
|
2206
|
+
interface TokenUsage {
|
|
2207
|
+
/** Cache matched tokens for implicit cache. */
|
|
2208
|
+
cacheCount?: string;
|
|
2209
|
+
/** Tokens in the model response. */
|
|
2210
|
+
candidateCount?: string;
|
|
2211
|
+
/** Tokens in the user request. */
|
|
2212
|
+
promptCount?: string;
|
|
2213
|
+
/** Tokens in the thinking output. */
|
|
2214
|
+
thinkingCount?: string;
|
|
2215
|
+
/** Prompt tokens for using tools. */
|
|
2216
|
+
toolUsePromptCount?: string;
|
|
2217
|
+
}
|
|
2202
2218
|
interface Version {
|
|
2203
2219
|
/** Used to correct mistakes in the version numbering scheme. */
|
|
2204
2220
|
epoch?: number;
|