google-apis-containeranalysis_v1beta1 0.82.0 → 0.84.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: 7167a4fc0aa5d19d04e783accc98109471814c0ddb5d10e27f99224daf4a1538
4
+ data.tar.gz: b2d47e1700171e97303907392e0cd5803ac87bf79ab4185e0afbbe90ed0337aa
5
5
  SHA512:
6
- metadata.gz: c70b201afa64646545c37f193ac82c3ff74d85ee07e4f540d231798fee7928d5996efc9734db2975fa5e76c21fc14da86c20c6cbc4288684c620c9549e373390
7
- data.tar.gz: 660f0872b0b582be5d30ab9ff5a05ac75445c2d4f452e122c2a0665917accc3d18d0810bdf82c058961d2f55784fa3493f71b11bcfa4c052ac907e96ef26f396
6
+ metadata.gz: 8b612a86280c39a95ec12b98894e1508297e11f19af1d7c090abb5f32030a9b9bb7a60cbcd33b6260df30d1bee47329ab54b445d802c7e5fa934f7c76968b122
7
+ data.tar.gz: e35566a8b24b13e59c5966b04e2d61080eae419ca854de869e35d5d2ae623340bbff3045c690096f79a36d746837a3ad0e8246cec075fe967c14506245f45581
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.84.0 (2026-09-27)
4
+
5
+ * Regenerated from discovery document revision 20260918
6
+
7
+ ### v0.83.0 (2026-09-06)
8
+
9
+ * Regenerated from discovery document revision 20260826
10
+
3
11
  ### v0.82.0 (2026-08-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20260812
@@ -2090,6 +2090,11 @@ module Google
2090
2090
  # @return [String]
2091
2091
  attr_accessor :requested_verify_option
2092
2092
 
2093
+ # Output only. Worker release resolved from the release channel.
2094
+ # Corresponds to the JSON property `resolvedWorkerRelease`
2095
+ # @return [String]
2096
+ attr_accessor :resolved_worker_release
2097
+
2093
2098
  # A list of global environment variables, which are encrypted using a Cloud Key
2094
2099
  # Management Service crypto key. These values must be specified in the build's `
2095
2100
  # Secret`. These variables will be available to all build steps in this build.
@@ -2124,6 +2129,12 @@ module Google
2124
2129
  # @return [String]
2125
2130
  attr_accessor :worker_pool
2126
2131
 
2132
+ # Optional. Option to specify which release or release channel (rapid|regular|
2133
+ # stable) to use to run this build.
2134
+ # Corresponds to the JSON property `workerRelease`
2135
+ # @return [String]
2136
+ attr_accessor :worker_release
2137
+
2127
2138
  def initialize(**args)
2128
2139
  update!(**args)
2129
2140
  end
@@ -2142,11 +2153,13 @@ module Google
2142
2153
  @pool = args[:pool] if args.key?(:pool)
2143
2154
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
2144
2155
  @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
2156
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
2145
2157
  @secret_env = args[:secret_env] if args.key?(:secret_env)
2146
2158
  @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
2147
2159
  @substitution_option = args[:substitution_option] if args.key?(:substitution_option)
2148
2160
  @volumes = args[:volumes] if args.key?(:volumes)
2149
2161
  @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
2162
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
2150
2163
  end
2151
2164
  end
2152
2165
 
@@ -2163,6 +2176,18 @@ module Google
2163
2176
  # @return [String]
2164
2177
  attr_accessor :name
2165
2178
 
2179
+ # Output only. OUTPUT_ONLY. Worker release resolved from the release channel.
2180
+ # Corresponds to the JSON property `resolvedWorkerRelease`
2181
+ # @return [String]
2182
+ attr_accessor :resolved_worker_release
2183
+
2184
+ # Output only. OUTPUT_ONLY. The release or release channel used to run the Build.
2185
+ # This is set to the same value as `PrivatePoolV1Config.WorkerConfig.
2186
+ # worker_release` for the UI to easily access.
2187
+ # Corresponds to the JSON property `workerRelease`
2188
+ # @return [String]
2189
+ attr_accessor :worker_release
2190
+
2166
2191
  def initialize(**args)
2167
2192
  update!(**args)
2168
2193
  end
@@ -2170,6 +2195,8 @@ module Google
2170
2195
  # Update properties of this object
2171
2196
  def update!(**args)
2172
2197
  @name = args[:name] if args.key?(:name)
2198
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
2199
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
2173
2200
  end
2174
2201
  end
2175
2202
 
@@ -5611,11 +5638,21 @@ module Google
5611
5638
  # @return [String]
5612
5639
  attr_accessor :max_severity
5613
5640
 
5641
+ # The base name of the model that performed the scan.
5642
+ # Corresponds to the JSON property `modelId`
5643
+ # @return [String]
5644
+ attr_accessor :model_id
5645
+
5614
5646
  # Status of the scan.
5615
5647
  # Corresponds to the JSON property `scanStatus`
5616
5648
  # @return [String]
5617
5649
  attr_accessor :scan_status
5618
5650
 
5651
+ # Token usage associated with an AI scan.
5652
+ # Corresponds to the JSON property `tokenUsage`
5653
+ # @return [Google::Apis::ContaineranalysisV1beta1::TokenUsage]
5654
+ attr_accessor :token_usage
5655
+
5619
5656
  def initialize(**args)
5620
5657
  update!(**args)
5621
5658
  end
@@ -5623,7 +5660,9 @@ module Google
5623
5660
  # Update properties of this object
5624
5661
  def update!(**args)
5625
5662
  @max_severity = args[:max_severity] if args.key?(:max_severity)
5663
+ @model_id = args[:model_id] if args.key?(:model_id)
5626
5664
  @scan_status = args[:scan_status] if args.key?(:scan_status)
5665
+ @token_usage = args[:token_usage] if args.key?(:token_usage)
5627
5666
  end
5628
5667
  end
5629
5668
 
@@ -7644,6 +7683,49 @@ module Google
7644
7683
  end
7645
7684
  end
7646
7685
 
7686
+ # Token usage associated with an AI scan.
7687
+ class TokenUsage
7688
+ include Google::Apis::Core::Hashable
7689
+
7690
+ # Cache matched tokens for implicit cache.
7691
+ # Corresponds to the JSON property `cacheCount`
7692
+ # @return [Fixnum]
7693
+ attr_accessor :cache_count
7694
+
7695
+ # Tokens in the model response.
7696
+ # Corresponds to the JSON property `candidateCount`
7697
+ # @return [Fixnum]
7698
+ attr_accessor :candidate_count
7699
+
7700
+ # Tokens in the user request.
7701
+ # Corresponds to the JSON property `promptCount`
7702
+ # @return [Fixnum]
7703
+ attr_accessor :prompt_count
7704
+
7705
+ # Tokens in the thinking output.
7706
+ # Corresponds to the JSON property `thinkingCount`
7707
+ # @return [Fixnum]
7708
+ attr_accessor :thinking_count
7709
+
7710
+ # Prompt tokens for using tools.
7711
+ # Corresponds to the JSON property `toolUsePromptCount`
7712
+ # @return [Fixnum]
7713
+ attr_accessor :tool_use_prompt_count
7714
+
7715
+ def initialize(**args)
7716
+ update!(**args)
7717
+ end
7718
+
7719
+ # Update properties of this object
7720
+ def update!(**args)
7721
+ @cache_count = args[:cache_count] if args.key?(:cache_count)
7722
+ @candidate_count = args[:candidate_count] if args.key?(:candidate_count)
7723
+ @prompt_count = args[:prompt_count] if args.key?(:prompt_count)
7724
+ @thinking_count = args[:thinking_count] if args.key?(:thinking_count)
7725
+ @tool_use_prompt_count = args[:tool_use_prompt_count] if args.key?(:tool_use_prompt_count)
7726
+ end
7727
+ end
7728
+
7647
7729
  # Version contains structured information about the version of a package.
7648
7730
  class Version
7649
7731
  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.84.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 = "20260918"
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
 
@@ -1655,12 +1661,14 @@ module Google
1655
1661
 
1656
1662
  property :pubsub_topic, as: 'pubsubTopic'
1657
1663
  property :requested_verify_option, as: 'requestedVerifyOption'
1664
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
1658
1665
  collection :secret_env, as: 'secretEnv'
1659
1666
  collection :source_provenance_hash, as: 'sourceProvenanceHash'
1660
1667
  property :substitution_option, as: 'substitutionOption'
1661
1668
  collection :volumes, as: 'volumes', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1Volume, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1Volume::Representation
1662
1669
 
1663
1670
  property :worker_pool, as: 'workerPool'
1671
+ property :worker_release, as: 'workerRelease'
1664
1672
  end
1665
1673
  end
1666
1674
 
@@ -1668,6 +1676,8 @@ module Google
1668
1676
  # @private
1669
1677
  class Representation < Google::Apis::Core::JsonRepresentation
1670
1678
  property :name, as: 'name'
1679
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
1680
+ property :worker_release, as: 'workerRelease'
1671
1681
  end
1672
1682
  end
1673
1683
 
@@ -2635,7 +2645,10 @@ module Google
2635
2645
  # @private
2636
2646
  class Representation < Google::Apis::Core::JsonRepresentation
2637
2647
  property :max_severity, as: 'maxSeverity'
2648
+ property :model_id, as: 'modelId'
2638
2649
  property :scan_status, as: 'scanStatus'
2650
+ property :token_usage, as: 'tokenUsage', class: Google::Apis::ContaineranalysisV1beta1::TokenUsage, decorator: Google::Apis::ContaineranalysisV1beta1::TokenUsage::Representation
2651
+
2639
2652
  end
2640
2653
  end
2641
2654
 
@@ -3175,6 +3188,17 @@ module Google
3175
3188
  end
3176
3189
  end
3177
3190
 
3191
+ class TokenUsage
3192
+ # @private
3193
+ class Representation < Google::Apis::Core::JsonRepresentation
3194
+ property :cache_count, :numeric_string => true, as: 'cacheCount'
3195
+ property :candidate_count, :numeric_string => true, as: 'candidateCount'
3196
+ property :prompt_count, :numeric_string => true, as: 'promptCount'
3197
+ property :thinking_count, :numeric_string => true, as: 'thinkingCount'
3198
+ property :tool_use_prompt_count, :numeric_string => true, as: 'toolUsePromptCount'
3199
+ end
3200
+ end
3201
+
3178
3202
  class Version
3179
3203
  # @private
3180
3204
  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.84.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.84.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: