google-apis-containeranalysis_v1beta1 0.82.0 → 0.83.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: c3e740042a1364839dfbc408d54ae96514fbd691d355c05d69b819c3e4587711
4
- data.tar.gz: af2e5dae1d7800180d3413974d3bdc000fa45c1b58c142779f3ea41b95146fa5
3
+ metadata.gz: 4903ee5c56d893efccb265f794bdba9af1f22200a9de17bbc0bc769d60709592
4
+ data.tar.gz: 8c8f7e74bf8d234d4c6476d9c1812af06fedf74e8f4e0761738aeb3740206f26
5
5
  SHA512:
6
- metadata.gz: c70b201afa64646545c37f193ac82c3ff74d85ee07e4f540d231798fee7928d5996efc9734db2975fa5e76c21fc14da86c20c6cbc4288684c620c9549e373390
7
- data.tar.gz: 660f0872b0b582be5d30ab9ff5a05ac75445c2d4f452e122c2a0665917accc3d18d0810bdf82c058961d2f55784fa3493f71b11bcfa4c052ac907e96ef26f396
6
+ metadata.gz: 6c56c4cf8c62312a19450da7f2550d344d40e90d63a237387ee6b55e34443d83d97227568c107da93f02f4c3321716a2dacb36c19f513926dcd5f3902b9414d5
7
+ data.tar.gz: 8938f8bc089aa8e0c88240959d06f73def75414c8502424f5cd6cf9269f9f09edb3e211ade535105b56369c54e9b7e019a6f858d8daddb4e3fef7d0982fc6d99
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.83.0 (2026-09-06)
4
+
5
+ * Regenerated from discovery document revision 20260826
6
+
3
7
  ### v0.82.0 (2026-08-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20260812
@@ -5611,11 +5611,21 @@ module Google
5611
5611
  # @return [String]
5612
5612
  attr_accessor :max_severity
5613
5613
 
5614
+ # The base name of the model that performed the scan.
5615
+ # Corresponds to the JSON property `modelId`
5616
+ # @return [String]
5617
+ attr_accessor :model_id
5618
+
5614
5619
  # Status of the scan.
5615
5620
  # Corresponds to the JSON property `scanStatus`
5616
5621
  # @return [String]
5617
5622
  attr_accessor :scan_status
5618
5623
 
5624
+ # Token usage associated with an AI scan.
5625
+ # Corresponds to the JSON property `tokenUsage`
5626
+ # @return [Google::Apis::ContaineranalysisV1beta1::TokenUsage]
5627
+ attr_accessor :token_usage
5628
+
5619
5629
  def initialize(**args)
5620
5630
  update!(**args)
5621
5631
  end
@@ -5623,7 +5633,9 @@ module Google
5623
5633
  # Update properties of this object
5624
5634
  def update!(**args)
5625
5635
  @max_severity = args[:max_severity] if args.key?(:max_severity)
5636
+ @model_id = args[:model_id] if args.key?(:model_id)
5626
5637
  @scan_status = args[:scan_status] if args.key?(:scan_status)
5638
+ @token_usage = args[:token_usage] if args.key?(:token_usage)
5627
5639
  end
5628
5640
  end
5629
5641
 
@@ -7644,6 +7656,49 @@ module Google
7644
7656
  end
7645
7657
  end
7646
7658
 
7659
+ # Token usage associated with an AI scan.
7660
+ class TokenUsage
7661
+ include Google::Apis::Core::Hashable
7662
+
7663
+ # Cache matched tokens for implicit cache.
7664
+ # Corresponds to the JSON property `cacheCount`
7665
+ # @return [Fixnum]
7666
+ attr_accessor :cache_count
7667
+
7668
+ # Tokens in the model response.
7669
+ # Corresponds to the JSON property `candidateCount`
7670
+ # @return [Fixnum]
7671
+ attr_accessor :candidate_count
7672
+
7673
+ # Tokens in the user request.
7674
+ # Corresponds to the JSON property `promptCount`
7675
+ # @return [Fixnum]
7676
+ attr_accessor :prompt_count
7677
+
7678
+ # Tokens in the thinking output.
7679
+ # Corresponds to the JSON property `thinkingCount`
7680
+ # @return [Fixnum]
7681
+ attr_accessor :thinking_count
7682
+
7683
+ # Prompt tokens for using tools.
7684
+ # Corresponds to the JSON property `toolUsePromptCount`
7685
+ # @return [Fixnum]
7686
+ attr_accessor :tool_use_prompt_count
7687
+
7688
+ def initialize(**args)
7689
+ update!(**args)
7690
+ end
7691
+
7692
+ # Update properties of this object
7693
+ def update!(**args)
7694
+ @cache_count = args[:cache_count] if args.key?(:cache_count)
7695
+ @candidate_count = args[:candidate_count] if args.key?(:candidate_count)
7696
+ @prompt_count = args[:prompt_count] if args.key?(:prompt_count)
7697
+ @thinking_count = args[:thinking_count] if args.key?(:thinking_count)
7698
+ @tool_use_prompt_count = args[:tool_use_prompt_count] if args.key?(:tool_use_prompt_count)
7699
+ end
7700
+ end
7701
+
7647
7702
  # Version contains structured information about the version of a package.
7648
7703
  class Version
7649
7704
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1beta1
18
18
  # Version of the google-apis-containeranalysis_v1beta1 gem
19
- GEM_VERSION = "0.82.0"
19
+ GEM_VERSION = "0.83.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 = "20260812"
25
+ REVISION = "20260826"
26
26
  end
27
27
  end
28
28
  end
@@ -1102,6 +1102,12 @@ module Google
1102
1102
  include Google::Apis::Core::JsonObjectSupport
1103
1103
  end
1104
1104
 
1105
+ class TokenUsage
1106
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1107
+
1108
+ include Google::Apis::Core::JsonObjectSupport
1109
+ end
1110
+
1105
1111
  class Version
1106
1112
  class Representation < Google::Apis::Core::JsonRepresentation; end
1107
1113
 
@@ -2635,7 +2641,10 @@ module Google
2635
2641
  # @private
2636
2642
  class Representation < Google::Apis::Core::JsonRepresentation
2637
2643
  property :max_severity, as: 'maxSeverity'
2644
+ property :model_id, as: 'modelId'
2638
2645
  property :scan_status, as: 'scanStatus'
2646
+ property :token_usage, as: 'tokenUsage', class: Google::Apis::ContaineranalysisV1beta1::TokenUsage, decorator: Google::Apis::ContaineranalysisV1beta1::TokenUsage::Representation
2647
+
2639
2648
  end
2640
2649
  end
2641
2650
 
@@ -3175,6 +3184,17 @@ module Google
3175
3184
  end
3176
3185
  end
3177
3186
 
3187
+ class TokenUsage
3188
+ # @private
3189
+ class Representation < Google::Apis::Core::JsonRepresentation
3190
+ property :cache_count, :numeric_string => true, as: 'cacheCount'
3191
+ property :candidate_count, :numeric_string => true, as: 'candidateCount'
3192
+ property :prompt_count, :numeric_string => true, as: 'promptCount'
3193
+ property :thinking_count, :numeric_string => true, as: 'thinkingCount'
3194
+ property :tool_use_prompt_count, :numeric_string => true, as: 'toolUsePromptCount'
3195
+ end
3196
+ end
3197
+
3178
3198
  class Version
3179
3199
  # @private
3180
3200
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.82.0
4
+ version: 0.83.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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.82.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.83.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: