google-apis-containeranalysis_v1alpha1 0.90.0 → 0.92.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: '019768a1e29a533de083252a08d56bee89f219975f8ea795f91d04a97fc9410d'
4
- data.tar.gz: f457d4895e032eb8d3bf8ea423ad3903879287766c969e47ed321daa932b2f3b
3
+ metadata.gz: 6b42de617d674d5a8a3f94b2da4de021a9ddcadc7d1687ea2157c3dec469cbcc
4
+ data.tar.gz: '0889f6013fa067982fc8776f4879c3357e1d0b7864c8876bd007585907bb54e0'
5
5
  SHA512:
6
- metadata.gz: 3b094e022961f50fc8d1dc8db5245442a34e864cf69bf5c6f7b3fc31799cabc3c70693a250e49d4ce141d9f69b0c9e2e49f951bcb5775c333fba8f9ba86b0d94
7
- data.tar.gz: 297835f9b613db36bdf6b3b06474dbca7b6c74df60b08955a8141b52a6a51aef930efb58ba25687587556d274bdd24baafcc335bdd412714496eccae7bfbe94d
6
+ metadata.gz: f585b29c3e58caed694ce7d1450678ea0be768a1f58bcdd6c91f3da34553e58302f8955b0618b40576770a24055ee6dfde753ea32a00db46113ad04b189dc89d
7
+ data.tar.gz: 1d81f6c43b52cbd6a250ee4f16765f316e5cfd3abe66f0f09612bdc5a5d695160639a27dc2178ff318b3f6045ebf028935c9e5724223347e5d1ec2ca2e1667c8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.92.0 (2026-09-27)
4
+
5
+ * Regenerated from discovery document revision 20260918
6
+
7
+ ### v0.91.0 (2026-09-06)
8
+
9
+ * Regenerated from discovery document revision 20260826
10
+
3
11
  ### v0.90.0 (2026-08-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20260819
@@ -2169,6 +2169,11 @@ module Google
2169
2169
  # @return [String]
2170
2170
  attr_accessor :requested_verify_option
2171
2171
 
2172
+ # Output only. Worker release resolved from the release channel.
2173
+ # Corresponds to the JSON property `resolvedWorkerRelease`
2174
+ # @return [String]
2175
+ attr_accessor :resolved_worker_release
2176
+
2172
2177
  # A list of global environment variables, which are encrypted using a Cloud Key
2173
2178
  # Management Service crypto key. These values must be specified in the build's `
2174
2179
  # Secret`. These variables will be available to all build steps in this build.
@@ -2203,6 +2208,12 @@ module Google
2203
2208
  # @return [String]
2204
2209
  attr_accessor :worker_pool
2205
2210
 
2211
+ # Optional. Option to specify which release or release channel (rapid|regular|
2212
+ # stable) to use to run this build.
2213
+ # Corresponds to the JSON property `workerRelease`
2214
+ # @return [String]
2215
+ attr_accessor :worker_release
2216
+
2206
2217
  def initialize(**args)
2207
2218
  update!(**args)
2208
2219
  end
@@ -2221,11 +2232,13 @@ module Google
2221
2232
  @pool = args[:pool] if args.key?(:pool)
2222
2233
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
2223
2234
  @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
2235
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
2224
2236
  @secret_env = args[:secret_env] if args.key?(:secret_env)
2225
2237
  @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
2226
2238
  @substitution_option = args[:substitution_option] if args.key?(:substitution_option)
2227
2239
  @volumes = args[:volumes] if args.key?(:volumes)
2228
2240
  @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
2241
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
2229
2242
  end
2230
2243
  end
2231
2244
 
@@ -2242,6 +2255,18 @@ module Google
2242
2255
  # @return [String]
2243
2256
  attr_accessor :name
2244
2257
 
2258
+ # Output only. OUTPUT_ONLY. Worker release resolved from the release channel.
2259
+ # Corresponds to the JSON property `resolvedWorkerRelease`
2260
+ # @return [String]
2261
+ attr_accessor :resolved_worker_release
2262
+
2263
+ # Output only. OUTPUT_ONLY. The release or release channel used to run the Build.
2264
+ # This is set to the same value as `PrivatePoolV1Config.WorkerConfig.
2265
+ # worker_release` for the UI to easily access.
2266
+ # Corresponds to the JSON property `workerRelease`
2267
+ # @return [String]
2268
+ attr_accessor :worker_release
2269
+
2245
2270
  def initialize(**args)
2246
2271
  update!(**args)
2247
2272
  end
@@ -2249,6 +2274,8 @@ module Google
2249
2274
  # Update properties of this object
2250
2275
  def update!(**args)
2251
2276
  @name = args[:name] if args.key?(:name)
2277
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
2278
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
2252
2279
  end
2253
2280
  end
2254
2281
 
@@ -5731,6 +5758,11 @@ module Google
5731
5758
  # @return [String]
5732
5759
  attr_accessor :scan_state
5733
5760
 
5761
+ # Token usage associated with an AI scan.
5762
+ # Corresponds to the JSON property `tokenUsage`
5763
+ # @return [Google::Apis::ContaineranalysisV1alpha1::TokenUsage]
5764
+ attr_accessor :token_usage
5765
+
5734
5766
  def initialize(**args)
5735
5767
  update!(**args)
5736
5768
  end
@@ -5740,6 +5772,7 @@ module Google
5740
5772
  @max_severity = args[:max_severity] if args.key?(:max_severity)
5741
5773
  @model_id = args[:model_id] if args.key?(:model_id)
5742
5774
  @scan_state = args[:scan_state] if args.key?(:scan_state)
5775
+ @token_usage = args[:token_usage] if args.key?(:token_usage)
5743
5776
  end
5744
5777
  end
5745
5778
 
@@ -8261,6 +8294,49 @@ module Google
8261
8294
  end
8262
8295
  end
8263
8296
 
8297
+ # Token usage associated with an AI scan.
8298
+ class TokenUsage
8299
+ include Google::Apis::Core::Hashable
8300
+
8301
+ # Output only. Cache matched tokens for implicit cache.
8302
+ # Corresponds to the JSON property `cacheCount`
8303
+ # @return [Fixnum]
8304
+ attr_accessor :cache_count
8305
+
8306
+ # Output only. Tokens in the model response.
8307
+ # Corresponds to the JSON property `candidateCount`
8308
+ # @return [Fixnum]
8309
+ attr_accessor :candidate_count
8310
+
8311
+ # Output only. Tokens in the user request.
8312
+ # Corresponds to the JSON property `promptCount`
8313
+ # @return [Fixnum]
8314
+ attr_accessor :prompt_count
8315
+
8316
+ # Output only. Tokens in the thinking output.
8317
+ # Corresponds to the JSON property `thinkingCount`
8318
+ # @return [Fixnum]
8319
+ attr_accessor :thinking_count
8320
+
8321
+ # Output only. Prompt tokens for using tools.
8322
+ # Corresponds to the JSON property `toolUsePromptCount`
8323
+ # @return [Fixnum]
8324
+ attr_accessor :tool_use_prompt_count
8325
+
8326
+ def initialize(**args)
8327
+ update!(**args)
8328
+ end
8329
+
8330
+ # Update properties of this object
8331
+ def update!(**args)
8332
+ @cache_count = args[:cache_count] if args.key?(:cache_count)
8333
+ @candidate_count = args[:candidate_count] if args.key?(:candidate_count)
8334
+ @prompt_count = args[:prompt_count] if args.key?(:prompt_count)
8335
+ @thinking_count = args[:thinking_count] if args.key?(:thinking_count)
8336
+ @tool_use_prompt_count = args[:tool_use_prompt_count] if args.key?(:tool_use_prompt_count)
8337
+ end
8338
+ end
8339
+
8264
8340
  # An URI message.
8265
8341
  class Uri
8266
8342
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1alpha1
18
18
  # Version of the google-apis-containeranalysis_v1alpha1 gem
19
- GEM_VERSION = "0.90.0"
19
+ GEM_VERSION = "0.92.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 = "20260819"
25
+ REVISION = "20260918"
26
26
  end
27
27
  end
28
28
  end
@@ -1168,6 +1168,12 @@ module Google
1168
1168
  include Google::Apis::Core::JsonObjectSupport
1169
1169
  end
1170
1170
 
1171
+ class TokenUsage
1172
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1173
+
1174
+ include Google::Apis::Core::JsonObjectSupport
1175
+ end
1176
+
1171
1177
  class Uri
1172
1178
  class Representation < Google::Apis::Core::JsonRepresentation; end
1173
1179
 
@@ -1760,12 +1766,14 @@ module Google
1760
1766
 
1761
1767
  property :pubsub_topic, as: 'pubsubTopic'
1762
1768
  property :requested_verify_option, as: 'requestedVerifyOption'
1769
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
1763
1770
  collection :secret_env, as: 'secretEnv'
1764
1771
  collection :source_provenance_hash, as: 'sourceProvenanceHash'
1765
1772
  property :substitution_option, as: 'substitutionOption'
1766
1773
  collection :volumes, as: 'volumes', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1Volume, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1Volume::Representation
1767
1774
 
1768
1775
  property :worker_pool, as: 'workerPool'
1776
+ property :worker_release, as: 'workerRelease'
1769
1777
  end
1770
1778
  end
1771
1779
 
@@ -1773,6 +1781,8 @@ module Google
1773
1781
  # @private
1774
1782
  class Representation < Google::Apis::Core::JsonRepresentation
1775
1783
  property :name, as: 'name'
1784
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
1785
+ property :worker_release, as: 'workerRelease'
1776
1786
  end
1777
1787
  end
1778
1788
 
@@ -2755,6 +2765,8 @@ module Google
2755
2765
  property :max_severity, as: 'maxSeverity'
2756
2766
  property :model_id, as: 'modelId'
2757
2767
  property :scan_state, as: 'scanState'
2768
+ property :token_usage, as: 'tokenUsage', class: Google::Apis::ContaineranalysisV1alpha1::TokenUsage, decorator: Google::Apis::ContaineranalysisV1alpha1::TokenUsage::Representation
2769
+
2758
2770
  end
2759
2771
  end
2760
2772
 
@@ -3421,6 +3433,17 @@ module Google
3421
3433
  end
3422
3434
  end
3423
3435
 
3436
+ class TokenUsage
3437
+ # @private
3438
+ class Representation < Google::Apis::Core::JsonRepresentation
3439
+ property :cache_count, :numeric_string => true, as: 'cacheCount'
3440
+ property :candidate_count, :numeric_string => true, as: 'candidateCount'
3441
+ property :prompt_count, :numeric_string => true, as: 'promptCount'
3442
+ property :thinking_count, :numeric_string => true, as: 'thinkingCount'
3443
+ property :tool_use_prompt_count, :numeric_string => true, as: 'toolUsePromptCount'
3444
+ end
3445
+ end
3446
+
3424
3447
  class Uri
3425
3448
  # @private
3426
3449
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.90.0
4
+ version: 0.92.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_v1alpha1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.90.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.92.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
62
62
  rdoc_options: []
63
63
  require_paths: