google-apis-containeranalysis_v1 0.79.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b358e8d2bc046e08fe51a2fcaafe6230298b49ada695fec7f60f253b07b22f18
|
|
4
|
+
data.tar.gz: 9fcaa44be60af401e8a072996ed167e825dfa2202dd39eb0f3e97ac3d997a092
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5b3be68007c2b713eec4552faf358341b5696f06c5849dc08740e20bf26d5e0bc41bd3f6cb7156648abe34d972c123e3156f5caa888b5a8d44c2fe2a7e1c7f3
|
|
7
|
+
data.tar.gz: 934b2faf2848e0f0537a2362c05b7781e03bdf256ff933b06cd7d17463c9f199b318d6a7a99ebd50c656a0dd3cc0f62fbd93f7678e156b0354e126e5e8e15e96
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
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
|
+
|
|
7
|
+
### v0.80.0 (2026-08-23)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260812
|
|
10
|
+
|
|
3
11
|
### v0.79.0 (2026-08-16)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260805
|
|
@@ -2769,6 +2769,14 @@ module Google
|
|
|
2769
2769
|
# @return [String]
|
|
2770
2770
|
attr_accessor :dest_path
|
|
2771
2771
|
|
|
2772
|
+
# Optional. True if remote tags should be fetched too (default false). Note:
|
|
2773
|
+
# when depth is 1 (default), git fetch only retrieves tags pointing to commits
|
|
2774
|
+
# within the shallow boundary. Set depth to -1 to fetch all historical tags.
|
|
2775
|
+
# Corresponds to the JSON property `fetchTags`
|
|
2776
|
+
# @return [Boolean]
|
|
2777
|
+
attr_accessor :fetch_tags
|
|
2778
|
+
alias_method :fetch_tags?, :fetch_tags
|
|
2779
|
+
|
|
2772
2780
|
# Optional. True if submodules should be fetched too (default false).
|
|
2773
2781
|
# Corresponds to the JSON property `recurseSubmodules`
|
|
2774
2782
|
# @return [Boolean]
|
|
@@ -2793,6 +2801,7 @@ module Google
|
|
|
2793
2801
|
def update!(**args)
|
|
2794
2802
|
@depth = args[:depth] if args.key?(:depth)
|
|
2795
2803
|
@dest_path = args[:dest_path] if args.key?(:dest_path)
|
|
2804
|
+
@fetch_tags = args[:fetch_tags] if args.key?(:fetch_tags)
|
|
2796
2805
|
@recurse_submodules = args[:recurse_submodules] if args.key?(:recurse_submodules)
|
|
2797
2806
|
@repository = args[:repository] if args.key?(:repository)
|
|
2798
2807
|
@revision = args[:revision] if args.key?(:revision)
|
|
@@ -5507,11 +5516,21 @@ module Google
|
|
|
5507
5516
|
# @return [String]
|
|
5508
5517
|
attr_accessor :max_severity
|
|
5509
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
|
+
|
|
5510
5524
|
# Status of the scan.
|
|
5511
5525
|
# Corresponds to the JSON property `scanStatus`
|
|
5512
5526
|
# @return [String]
|
|
5513
5527
|
attr_accessor :scan_status
|
|
5514
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
|
+
|
|
5515
5534
|
def initialize(**args)
|
|
5516
5535
|
update!(**args)
|
|
5517
5536
|
end
|
|
@@ -5519,7 +5538,9 @@ module Google
|
|
|
5519
5538
|
# Update properties of this object
|
|
5520
5539
|
def update!(**args)
|
|
5521
5540
|
@max_severity = args[:max_severity] if args.key?(:max_severity)
|
|
5541
|
+
@model_id = args[:model_id] if args.key?(:model_id)
|
|
5522
5542
|
@scan_status = args[:scan_status] if args.key?(:scan_status)
|
|
5543
|
+
@token_usage = args[:token_usage] if args.key?(:token_usage)
|
|
5523
5544
|
end
|
|
5524
5545
|
end
|
|
5525
5546
|
|
|
@@ -7637,6 +7658,49 @@ module Google
|
|
|
7637
7658
|
end
|
|
7638
7659
|
end
|
|
7639
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
|
+
|
|
7640
7704
|
# The Upgrade Distribution represents metadata about the Upgrade for each
|
|
7641
7705
|
# operating system (CPE). Some distributions have additional metadata around
|
|
7642
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.
|
|
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 = "
|
|
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
|
|
|
@@ -1873,6 +1879,7 @@ module Google
|
|
|
1873
1879
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1874
1880
|
property :depth, :numeric_string => true, as: 'depth'
|
|
1875
1881
|
property :dest_path, as: 'destPath'
|
|
1882
|
+
property :fetch_tags, as: 'fetchTags'
|
|
1876
1883
|
property :recurse_submodules, as: 'recurseSubmodules'
|
|
1877
1884
|
property :repository, as: 'repository', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository::Representation
|
|
1878
1885
|
|
|
@@ -2669,7 +2676,10 @@ module Google
|
|
|
2669
2676
|
# @private
|
|
2670
2677
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2671
2678
|
property :max_severity, as: 'maxSeverity'
|
|
2679
|
+
property :model_id, as: 'modelId'
|
|
2672
2680
|
property :scan_status, as: 'scanStatus'
|
|
2681
|
+
property :token_usage, as: 'tokenUsage', class: Google::Apis::ContaineranalysisV1::TokenUsage, decorator: Google::Apis::ContaineranalysisV1::TokenUsage::Representation
|
|
2682
|
+
|
|
2673
2683
|
end
|
|
2674
2684
|
end
|
|
2675
2685
|
|
|
@@ -3245,6 +3255,17 @@ module Google
|
|
|
3245
3255
|
end
|
|
3246
3256
|
end
|
|
3247
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
|
+
|
|
3248
3269
|
class UpgradeDistribution
|
|
3249
3270
|
# @private
|
|
3250
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.
|
|
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.
|
|
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:
|