google-apis-containeranalysis_v1beta1 0.81.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: 77e497d427f105ed3a254aadb81253958c64e93bb114c9d943483e2bfbc84483
4
- data.tar.gz: 73d2136fc598ed96721f13f697731b6dcbbef9dfa967fd33e092cf790883ec71
3
+ metadata.gz: 4903ee5c56d893efccb265f794bdba9af1f22200a9de17bbc0bc769d60709592
4
+ data.tar.gz: 8c8f7e74bf8d234d4c6476d9c1812af06fedf74e8f4e0761738aeb3740206f26
5
5
  SHA512:
6
- metadata.gz: 866010c3b03ced4ae4cd0b093a514cfd34ad5abbbf48c259c2eeb13b1badd632184cfbadec55914ec859730fcd7a2a8b13b6b37c833906927770e5430d73276d
7
- data.tar.gz: 6704ece5a713290a8f0264a0ea7e3bfadeed83aa442d8997ed439675cb49c041d04a6854254829974e2d62367ceb98c590c9b1d4a03be094a6c762ec7514200b
6
+ metadata.gz: 6c56c4cf8c62312a19450da7f2550d344d40e90d63a237387ee6b55e34443d83d97227568c107da93f02f4c3321716a2dacb36c19f513926dcd5f3902b9414d5
7
+ data.tar.gz: 8938f8bc089aa8e0c88240959d06f73def75414c8502424f5cd6cf9269f9f09edb3e211ade535105b56369c54e9b7e019a6f858d8daddb4e3fef7d0982fc6d99
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.82.0 (2026-08-23)
8
+
9
+ * Regenerated from discovery document revision 20260812
10
+
3
11
  ### v0.81.0 (2026-08-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20260805
@@ -2543,6 +2543,14 @@ module Google
2543
2543
  # @return [String]
2544
2544
  attr_accessor :dest_path
2545
2545
 
2546
+ # Optional. True if remote tags should be fetched too (default false). Note:
2547
+ # when depth is 1 (default), git fetch only retrieves tags pointing to commits
2548
+ # within the shallow boundary. Set depth to -1 to fetch all historical tags.
2549
+ # Corresponds to the JSON property `fetchTags`
2550
+ # @return [Boolean]
2551
+ attr_accessor :fetch_tags
2552
+ alias_method :fetch_tags?, :fetch_tags
2553
+
2546
2554
  # Optional. True if submodules should be fetched too (default false).
2547
2555
  # Corresponds to the JSON property `recurseSubmodules`
2548
2556
  # @return [Boolean]
@@ -2567,6 +2575,7 @@ module Google
2567
2575
  def update!(**args)
2568
2576
  @depth = args[:depth] if args.key?(:depth)
2569
2577
  @dest_path = args[:dest_path] if args.key?(:dest_path)
2578
+ @fetch_tags = args[:fetch_tags] if args.key?(:fetch_tags)
2570
2579
  @recurse_submodules = args[:recurse_submodules] if args.key?(:recurse_submodules)
2571
2580
  @repository = args[:repository] if args.key?(:repository)
2572
2581
  @revision = args[:revision] if args.key?(:revision)
@@ -5602,11 +5611,21 @@ module Google
5602
5611
  # @return [String]
5603
5612
  attr_accessor :max_severity
5604
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
+
5605
5619
  # Status of the scan.
5606
5620
  # Corresponds to the JSON property `scanStatus`
5607
5621
  # @return [String]
5608
5622
  attr_accessor :scan_status
5609
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
+
5610
5629
  def initialize(**args)
5611
5630
  update!(**args)
5612
5631
  end
@@ -5614,7 +5633,9 @@ module Google
5614
5633
  # Update properties of this object
5615
5634
  def update!(**args)
5616
5635
  @max_severity = args[:max_severity] if args.key?(:max_severity)
5636
+ @model_id = args[:model_id] if args.key?(:model_id)
5617
5637
  @scan_status = args[:scan_status] if args.key?(:scan_status)
5638
+ @token_usage = args[:token_usage] if args.key?(:token_usage)
5618
5639
  end
5619
5640
  end
5620
5641
 
@@ -7635,6 +7656,49 @@ module Google
7635
7656
  end
7636
7657
  end
7637
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
+
7638
7702
  # Version contains structured information about the version of a package.
7639
7703
  class Version
7640
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.81.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 = "20260805"
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
 
@@ -1760,6 +1766,7 @@ module Google
1760
1766
  class Representation < Google::Apis::Core::JsonRepresentation
1761
1767
  property :depth, :numeric_string => true, as: 'depth'
1762
1768
  property :dest_path, as: 'destPath'
1769
+ property :fetch_tags, as: 'fetchTags'
1763
1770
  property :recurse_submodules, as: 'recurseSubmodules'
1764
1771
  property :repository, as: 'repository', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository::Representation
1765
1772
 
@@ -2634,7 +2641,10 @@ module Google
2634
2641
  # @private
2635
2642
  class Representation < Google::Apis::Core::JsonRepresentation
2636
2643
  property :max_severity, as: 'maxSeverity'
2644
+ property :model_id, as: 'modelId'
2637
2645
  property :scan_status, as: 'scanStatus'
2646
+ property :token_usage, as: 'tokenUsage', class: Google::Apis::ContaineranalysisV1beta1::TokenUsage, decorator: Google::Apis::ContaineranalysisV1beta1::TokenUsage::Representation
2647
+
2638
2648
  end
2639
2649
  end
2640
2650
 
@@ -3174,6 +3184,17 @@ module Google
3174
3184
  end
3175
3185
  end
3176
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
+
3177
3198
  class Version
3178
3199
  # @private
3179
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.81.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.81.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: