google-apis-containeranalysis_v1beta1 0.73.0 → 0.75.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: 75e4835fd1700eed96d6b6d9acb5423a8dfba7aebfe8e973356ec91db8c4a6ed
4
- data.tar.gz: 0fdd00b8e3e00b23742a3149e5c00fccc9b610a76673ba74513bc93640595920
3
+ metadata.gz: 1db4bc8ca2ba233ec391305225e1b447a9cc1b041bb97bdc698ca43d07673dfa
4
+ data.tar.gz: 6e96aabaa3d9a15d7b896689cda21926d5ef26315834a297ab4f0da3a18a74e8
5
5
  SHA512:
6
- metadata.gz: bdac3c78da1b807cebfc65431f26c13d693183409b022917fd29bb471fa3f943485642c6d3807bac55a2cfd1241b5d2caf4ada11714fe4f81a19b56f52d7f4d2
7
- data.tar.gz: 72f408b47d217a7085ba3b46b4f381242a8f338589cf4195a3a18f5b774a7601c91978a9e4df2fa349021108234b77a47869910df3c0f9661d827e124985e282
6
+ metadata.gz: 22cd0f04b8a991583b40aa4ea97daf1c5f145594cfda575d15faf5226fe28f1e2a9e920a30d6760cbbd45c239c42d1f6e5a12711db619415db1fd1dbd06d70c1
7
+ data.tar.gz: e8e8683a44914295c04bf1459cd3bc045056ea74486d5693e3249e966a905deb6941d4e5d583c9c528e3392d796263c7b0be1f731dcc0f0b2d09da1b458ccb0f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.75.0 (2026-05-03)
4
+
5
+ * Regenerated from discovery document revision 20260423
6
+
7
+ ### v0.74.0 (2026-03-22)
8
+
9
+ * Regenerated from discovery document revision 20260313
10
+
3
11
  ### v0.73.0 (2026-03-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20260220
@@ -22,6 +22,44 @@ module Google
22
22
  module Apis
23
23
  module ContaineranalysisV1beta1
24
24
 
25
+ # AISkillAnalysisNote provides the metadata of an AI-based skill analysis.
26
+ class AiSkillAnalysisNote
27
+ include Google::Apis::Core::Hashable
28
+
29
+ def initialize(**args)
30
+ update!(**args)
31
+ end
32
+
33
+ # Update properties of this object
34
+ def update!(**args)
35
+ end
36
+ end
37
+
38
+ # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis.
39
+ class AiSkillAnalysisOccurrence
40
+ include Google::Apis::Core::Hashable
41
+
42
+ # Findings produced by the analysis.
43
+ # Corresponds to the JSON property `findings`
44
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::Finding>]
45
+ attr_accessor :findings
46
+
47
+ # Name of the skill that produced this analysis.
48
+ # Corresponds to the JSON property `skillName`
49
+ # @return [String]
50
+ attr_accessor :skill_name
51
+
52
+ def initialize(**args)
53
+ update!(**args)
54
+ end
55
+
56
+ # Update properties of this object
57
+ def update!(**args)
58
+ @findings = args[:findings] if args.key?(:findings)
59
+ @skill_name = args[:skill_name] if args.key?(:skill_name)
60
+ end
61
+ end
62
+
25
63
  # An alias to a repo revision.
26
64
  class AliasContext
27
65
  include Google::Apis::Core::Hashable
@@ -1260,6 +1298,13 @@ module Google
1260
1298
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts
1261
1299
  include Google::Apis::Core::Hashable
1262
1300
 
1301
+ # Optional. A list of generic artifacts to be uploaded to Artifact Registry upon
1302
+ # successful completion of all build steps. If any artifacts fail to be pushed,
1303
+ # the build is marked FAILURE.
1304
+ # Corresponds to the JSON property `genericArtifacts`
1305
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact>]
1306
+ attr_accessor :generic_artifacts
1307
+
1263
1308
  # Optional. A list of Go modules to be uploaded to Artifact Registry upon
1264
1309
  # successful completion of all build steps. If any objects fail to be pushed,
1265
1310
  # the build is marked FAILURE.
@@ -1300,6 +1345,15 @@ module Google
1300
1345
  # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects]
1301
1346
  attr_accessor :objects
1302
1347
 
1348
+ # Optional. A list of OCI images to be uploaded to Artifact Registry upon
1349
+ # successful completion of all build steps. OCI images in the specified paths
1350
+ # will be uploaded to the specified Artifact Registry repository using the
1351
+ # builder service account's credentials. If any images fail to be pushed, the
1352
+ # build is marked FAILURE.
1353
+ # Corresponds to the JSON property `oci`
1354
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci>]
1355
+ attr_accessor :oci
1356
+
1303
1357
  # A list of Python packages to be uploaded to Artifact Registry upon successful
1304
1358
  # completion of all build steps. The build service account credentials will be
1305
1359
  # used to perform the upload. If any objects fail to be pushed, the build is
@@ -1314,11 +1368,13 @@ module Google
1314
1368
 
1315
1369
  # Update properties of this object
1316
1370
  def update!(**args)
1371
+ @generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
1317
1372
  @go_modules = args[:go_modules] if args.key?(:go_modules)
1318
1373
  @images = args[:images] if args.key?(:images)
1319
1374
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
1320
1375
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
1321
1376
  @objects = args[:objects] if args.key?(:objects)
1377
+ @oci = args[:oci] if args.key?(:oci)
1322
1378
  @python_packages = args[:python_packages] if args.key?(:python_packages)
1323
1379
  end
1324
1380
  end
@@ -1358,6 +1414,35 @@ module Google
1358
1414
  end
1359
1415
  end
1360
1416
 
1417
+ # Generic artifact to upload to Artifact Registry upon successful completion of
1418
+ # all build steps.
1419
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact
1420
+ include Google::Apis::Core::Hashable
1421
+
1422
+ # Required. Path to the generic artifact in the build's workspace to be uploaded
1423
+ # to Artifact Registry.
1424
+ # Corresponds to the JSON property `folder`
1425
+ # @return [String]
1426
+ attr_accessor :folder
1427
+
1428
+ # Required. Registry path to upload the generic artifact to, in the form
1429
+ # projects/$PROJECT/locations/$LOCATION/repositories/$REPO/packages/$PACKAGE/
1430
+ # versions/$VERSION
1431
+ # Corresponds to the JSON property `registryPath`
1432
+ # @return [String]
1433
+ attr_accessor :registry_path
1434
+
1435
+ def initialize(**args)
1436
+ update!(**args)
1437
+ end
1438
+
1439
+ # Update properties of this object
1440
+ def update!(**args)
1441
+ @folder = args[:folder] if args.key?(:folder)
1442
+ @registry_path = args[:registry_path] if args.key?(:registry_path)
1443
+ end
1444
+ end
1445
+
1361
1446
  # Go module to upload to Artifact Registry upon successful completion of all
1362
1447
  # build steps. A module refers to all dependencies in a go.mod file.
1363
1448
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule
@@ -1503,6 +1588,40 @@ module Google
1503
1588
  end
1504
1589
  end
1505
1590
 
1591
+ # OCI image to upload to Artifact Registry upon successful completion of all
1592
+ # build steps.
1593
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci
1594
+ include Google::Apis::Core::Hashable
1595
+
1596
+ # Required. Path on the local file system where to find the container to upload.
1597
+ # e.g. /workspace/my-image.tar
1598
+ # Corresponds to the JSON property `file`
1599
+ # @return [String]
1600
+ attr_accessor :file
1601
+
1602
+ # Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.
1603
+ # dev/my-project/my-repo/my-image
1604
+ # Corresponds to the JSON property `registryPath`
1605
+ # @return [String]
1606
+ attr_accessor :registry_path
1607
+
1608
+ # Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
1609
+ # Corresponds to the JSON property `tags`
1610
+ # @return [Array<String>]
1611
+ attr_accessor :tags
1612
+
1613
+ def initialize(**args)
1614
+ update!(**args)
1615
+ end
1616
+
1617
+ # Update properties of this object
1618
+ def update!(**args)
1619
+ @file = args[:file] if args.key?(:file)
1620
+ @registry_path = args[:registry_path] if args.key?(:registry_path)
1621
+ @tags = args[:tags] if args.key?(:tags)
1622
+ end
1623
+ end
1624
+
1506
1625
  # Python package to upload to Artifact Registry upon successful completion of
1507
1626
  # all build steps. A package can encapsulate multiple objects to be uploaded to
1508
1627
  # a single repository.
@@ -2085,6 +2204,11 @@ module Google
2085
2204
  # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
2086
2205
  attr_accessor :pull_timing
2087
2206
 
2207
+ # Declaration of results for this build step.
2208
+ # Corresponds to the JSON property `results`
2209
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult>]
2210
+ attr_accessor :results
2211
+
2088
2212
  # A shell script to be executed in the step. When script is provided, the user
2089
2213
  # cannot specify the entrypoint or args.
2090
2214
  # Corresponds to the JSON property `script`
@@ -2151,6 +2275,7 @@ module Google
2151
2275
  @id = args[:id] if args.key?(:id)
2152
2276
  @name = args[:name] if args.key?(:name)
2153
2277
  @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
2278
+ @results = args[:results] if args.key?(:results)
2154
2279
  @script = args[:script] if args.key?(:script)
2155
2280
  @secret_env = args[:secret_env] if args.key?(:secret_env)
2156
2281
  @status = args[:status] if args.key?(:status)
@@ -2161,6 +2286,25 @@ module Google
2161
2286
  end
2162
2287
  end
2163
2288
 
2289
+ # Results for a build step.
2290
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults
2291
+ include Google::Apis::Core::Hashable
2292
+
2293
+ # Results for a build step.
2294
+ # Corresponds to the JSON property `results`
2295
+ # @return [Hash<String,String>]
2296
+ attr_accessor :results
2297
+
2298
+ def initialize(**args)
2299
+ update!(**args)
2300
+ end
2301
+
2302
+ # Update properties of this object
2303
+ def update!(**args)
2304
+ @results = args[:results] if args.key?(:results)
2305
+ end
2306
+ end
2307
+
2164
2308
  # A non-fatal problem encountered during the execution of the build.
2165
2309
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning
2166
2310
  include Google::Apis::Core::Hashable
@@ -2206,6 +2350,12 @@ module Google
2206
2350
  # @return [String]
2207
2351
  attr_accessor :name
2208
2352
 
2353
+ # Output only. The OCI media type of the artifact. Non-OCI images, such as
2354
+ # Docker images, will have an unspecified value.
2355
+ # Corresponds to the JSON property `ociMediaType`
2356
+ # @return [String]
2357
+ attr_accessor :oci_media_type
2358
+
2209
2359
  # Start and end times for a build execution phase.
2210
2360
  # Corresponds to the JSON property `pushTiming`
2211
2361
  # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
@@ -2220,6 +2370,7 @@ module Google
2220
2370
  @artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
2221
2371
  @digest = args[:digest] if args.key?(:digest)
2222
2372
  @name = args[:name] if args.key?(:name)
2373
+ @oci_media_type = args[:oci_media_type] if args.key?(:oci_media_type)
2223
2374
  @push_timing = args[:push_timing] if args.key?(:push_timing)
2224
2375
  end
2225
2376
  end
@@ -2269,6 +2420,11 @@ module Google
2269
2420
  attr_accessor :empty
2270
2421
  alias_method :empty?, :empty
2271
2422
 
2423
+ # Represents a generic artifact as a build dependency.
2424
+ # Corresponds to the JSON property `genericArtifact`
2425
+ # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency]
2426
+ attr_accessor :generic_artifact
2427
+
2272
2428
  # Represents a git repository as a build dependency.
2273
2429
  # Corresponds to the JSON property `gitSource`
2274
2430
  # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency]
@@ -2281,10 +2437,37 @@ module Google
2281
2437
  # Update properties of this object
2282
2438
  def update!(**args)
2283
2439
  @empty = args[:empty] if args.key?(:empty)
2440
+ @generic_artifact = args[:generic_artifact] if args.key?(:generic_artifact)
2284
2441
  @git_source = args[:git_source] if args.key?(:git_source)
2285
2442
  end
2286
2443
  end
2287
2444
 
2445
+ # Represents a generic artifact as a build dependency.
2446
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency
2447
+ include Google::Apis::Core::Hashable
2448
+
2449
+ # Required. Where the artifact files should be placed on the worker.
2450
+ # Corresponds to the JSON property `destPath`
2451
+ # @return [String]
2452
+ attr_accessor :dest_path
2453
+
2454
+ # Required. The location to download the artifact files from. Ex: projects/p1/
2455
+ # locations/us/repositories/r1/packages/p1/versions/v1
2456
+ # Corresponds to the JSON property `resource`
2457
+ # @return [String]
2458
+ attr_accessor :resource
2459
+
2460
+ def initialize(**args)
2461
+ update!(**args)
2462
+ end
2463
+
2464
+ # Update properties of this object
2465
+ def update!(**args)
2466
+ @dest_path = args[:dest_path] if args.key?(:dest_path)
2467
+ @resource = args[:resource] if args.key?(:resource)
2468
+ end
2469
+ end
2470
+
2288
2471
  # Represents a git repository as a build dependency.
2289
2472
  class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency
2290
2473
  include Google::Apis::Core::Hashable
@@ -2646,6 +2829,17 @@ module Google
2646
2829
  # @return [Array<String>]
2647
2830
  attr_accessor :build_step_outputs
2648
2831
 
2832
+ # Results for build steps. step_id ->
2833
+ # Corresponds to the JSON property `buildStepResults`
2834
+ # @return [Hash<String,Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults>]
2835
+ attr_accessor :build_step_results
2836
+
2837
+ # Output only. Generic artifacts uploaded to Artifact Registry at the end of the
2838
+ # build.
2839
+ # Corresponds to the JSON property `genericArtifacts`
2840
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact>]
2841
+ attr_accessor :generic_artifacts
2842
+
2649
2843
  # Optional. Go module artifacts uploaded to Artifact Registry at the end of the
2650
2844
  # build.
2651
2845
  # Corresponds to the JSON property `goModules`
@@ -2688,6 +2882,8 @@ module Google
2688
2882
  @artifact_timing = args[:artifact_timing] if args.key?(:artifact_timing)
2689
2883
  @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
2690
2884
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
2885
+ @build_step_results = args[:build_step_results] if args.key?(:build_step_results)
2886
+ @generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
2691
2887
  @go_modules = args[:go_modules] if args.key?(:go_modules)
2692
2888
  @images = args[:images] if args.key?(:images)
2693
2889
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
@@ -2890,6 +3086,37 @@ module Google
2890
3086
  end
2891
3087
  end
2892
3088
 
3089
+ # StepResult is the declaration of a result for a build step.
3090
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult
3091
+ include Google::Apis::Core::Hashable
3092
+
3093
+ # Optional. The content of the attestation to be generated.
3094
+ # Corresponds to the JSON property `attestationContent`
3095
+ # @return [String]
3096
+ attr_accessor :attestation_content
3097
+
3098
+ # Optional. The type of attestation to be generated.
3099
+ # Corresponds to the JSON property `attestationType`
3100
+ # @return [String]
3101
+ attr_accessor :attestation_type
3102
+
3103
+ # Required. The name of the result.
3104
+ # Corresponds to the JSON property `name`
3105
+ # @return [String]
3106
+ attr_accessor :name
3107
+
3108
+ def initialize(**args)
3109
+ update!(**args)
3110
+ end
3111
+
3112
+ # Update properties of this object
3113
+ def update!(**args)
3114
+ @attestation_content = args[:attestation_content] if args.key?(:attestation_content)
3115
+ @attestation_type = args[:attestation_type] if args.key?(:attestation_type)
3116
+ @name = args[:name] if args.key?(:name)
3117
+ end
3118
+ end
3119
+
2893
3120
  # Location of the source in an archive file in Cloud Storage.
2894
3121
  class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource
2895
3122
  include Google::Apis::Core::Hashable
@@ -2992,6 +3219,52 @@ module Google
2992
3219
  end
2993
3220
  end
2994
3221
 
3222
+ # A generic artifact uploaded to Artifact Registry using the GenericArtifact
3223
+ # directive.
3224
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact
3225
+ include Google::Apis::Core::Hashable
3226
+
3227
+ # Container message for hashes of byte content of files, used in
3228
+ # SourceProvenance messages to verify integrity of source input to the build.
3229
+ # Corresponds to the JSON property `artifactFingerprint`
3230
+ # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes]
3231
+ attr_accessor :artifact_fingerprint
3232
+
3233
+ # Output only. Path to the artifact in Artifact Registry.
3234
+ # Corresponds to the JSON property `artifactRegistryPackage`
3235
+ # @return [String]
3236
+ attr_accessor :artifact_registry_package
3237
+
3238
+ # Output only. The file hashes that make up the generic artifact.
3239
+ # Corresponds to the JSON property `fileHashes`
3240
+ # @return [Hash<String,Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes>]
3241
+ attr_accessor :file_hashes
3242
+
3243
+ # Start and end times for a build execution phase.
3244
+ # Corresponds to the JSON property `pushTiming`
3245
+ # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
3246
+ attr_accessor :push_timing
3247
+
3248
+ # Output only. URI of the uploaded artifact. Ex: projects/p1/locations/us/
3249
+ # repositories/r1/packages/p1/versions/v1
3250
+ # Corresponds to the JSON property `uri`
3251
+ # @return [String]
3252
+ attr_accessor :uri
3253
+
3254
+ def initialize(**args)
3255
+ update!(**args)
3256
+ end
3257
+
3258
+ # Update properties of this object
3259
+ def update!(**args)
3260
+ @artifact_fingerprint = args[:artifact_fingerprint] if args.key?(:artifact_fingerprint)
3261
+ @artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
3262
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
3263
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
3264
+ @uri = args[:uri] if args.key?(:uri)
3265
+ end
3266
+ end
3267
+
2995
3268
  # A Go module artifact uploaded to Artifact Registry using the GoModule
2996
3269
  # directive.
2997
3270
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule
@@ -4087,6 +4360,62 @@ module Google
4087
4360
  end
4088
4361
  end
4089
4362
 
4363
+ # Finding provides details for a single finding within an
4364
+ # AISkillAnalysisOccurrence.
4365
+ class Finding
4366
+ include Google::Apis::Core::Hashable
4367
+
4368
+ # Category of the finding.
4369
+ # Corresponds to the JSON property `category`
4370
+ # @return [String]
4371
+ attr_accessor :category
4372
+
4373
+ # Detailed description of the finding.
4374
+ # Corresponds to the JSON property `description`
4375
+ # @return [String]
4376
+ attr_accessor :description
4377
+
4378
+ # Path to the file where the finding was detected.
4379
+ # Corresponds to the JSON property `filePath`
4380
+ # @return [String]
4381
+ attr_accessor :file_path
4382
+
4383
+ # Unique identifier of the rule that produced this finding.
4384
+ # Corresponds to the JSON property `ruleId`
4385
+ # @return [String]
4386
+ attr_accessor :rule_id
4387
+
4388
+ # Severity of the finding.
4389
+ # Corresponds to the JSON property `severity`
4390
+ # @return [String]
4391
+ attr_accessor :severity
4392
+
4393
+ # Code snippet relevant to the finding.
4394
+ # Corresponds to the JSON property `snippet`
4395
+ # @return [String]
4396
+ attr_accessor :snippet
4397
+
4398
+ # Title of the finding.
4399
+ # Corresponds to the JSON property `title`
4400
+ # @return [String]
4401
+ attr_accessor :title
4402
+
4403
+ def initialize(**args)
4404
+ update!(**args)
4405
+ end
4406
+
4407
+ # Update properties of this object
4408
+ def update!(**args)
4409
+ @category = args[:category] if args.key?(:category)
4410
+ @description = args[:description] if args.key?(:description)
4411
+ @file_path = args[:file_path] if args.key?(:file_path)
4412
+ @rule_id = args[:rule_id] if args.key?(:rule_id)
4413
+ @severity = args[:severity] if args.key?(:severity)
4414
+ @snippet = args[:snippet] if args.key?(:snippet)
4415
+ @title = args[:title] if args.key?(:title)
4416
+ end
4417
+ end
4418
+
4090
4419
  # A set of properties that uniquely identify a given Docker image.
4091
4420
  class Fingerprint
4092
4421
  include Google::Apis::Core::Hashable
@@ -5179,6 +5508,11 @@ module Google
5179
5508
  class Note
5180
5509
  include Google::Apis::Core::Hashable
5181
5510
 
5511
+ # AISkillAnalysisNote provides the metadata of an AI-based skill analysis.
5512
+ # Corresponds to the JSON property `aiSkillAnalysis`
5513
+ # @return [Google::Apis::ContaineranalysisV1beta1::AiSkillAnalysisNote]
5514
+ attr_accessor :ai_skill_analysis
5515
+
5182
5516
  # Note kind that represents a logical attestation "role" or "authority". For
5183
5517
  # example, an organization might have one `Authority` for "QA" and one for "
5184
5518
  # build". This note is intended to act strictly as a grouping mechanism for the
@@ -5327,6 +5661,7 @@ module Google
5327
5661
 
5328
5662
  # Update properties of this object
5329
5663
  def update!(**args)
5664
+ @ai_skill_analysis = args[:ai_skill_analysis] if args.key?(:ai_skill_analysis)
5330
5665
  @attestation_authority = args[:attestation_authority] if args.key?(:attestation_authority)
5331
5666
  @base_image = args[:base_image] if args.key?(:base_image)
5332
5667
  @build = args[:build] if args.key?(:build)
@@ -5358,6 +5693,11 @@ module Google
5358
5693
  class Occurrence
5359
5694
  include Google::Apis::Core::Hashable
5360
5695
 
5696
+ # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis.
5697
+ # Corresponds to the JSON property `aiSkillAnalysis`
5698
+ # @return [Google::Apis::ContaineranalysisV1beta1::AiSkillAnalysisOccurrence]
5699
+ attr_accessor :ai_skill_analysis
5700
+
5361
5701
  # Details of an attestation occurrence.
5362
5702
  # Corresponds to the JSON property `attestation`
5363
5703
  # @return [Google::Apis::ContaineranalysisV1beta1::Details]
@@ -5487,6 +5827,7 @@ module Google
5487
5827
 
5488
5828
  # Update properties of this object
5489
5829
  def update!(**args)
5830
+ @ai_skill_analysis = args[:ai_skill_analysis] if args.key?(:ai_skill_analysis)
5490
5831
  @attestation = args[:attestation] if args.key?(:attestation)
5491
5832
  @build = args[:build] if args.key?(:build)
5492
5833
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -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.73.0"
19
+ GEM_VERSION = "0.75.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260220"
25
+ REVISION = "20260423"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module ContaineranalysisV1beta1
24
24
 
25
+ class AiSkillAnalysisNote
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AiSkillAnalysisOccurrence
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class AliasContext
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -196,6 +208,12 @@ module Google
196
208
  include Google::Apis::Core::JsonObjectSupport
197
209
  end
198
210
 
211
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
199
217
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule
200
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
219
 
@@ -214,6 +232,12 @@ module Google
214
232
  include Google::Apis::Core::JsonObjectSupport
215
233
  end
216
234
 
235
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
217
241
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
218
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
243
 
@@ -256,6 +280,12 @@ module Google
256
280
  include Google::Apis::Core::JsonObjectSupport
257
281
  end
258
282
 
283
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
259
289
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning
260
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
291
 
@@ -280,6 +310,12 @@ module Google
280
310
  include Google::Apis::Core::JsonObjectSupport
281
311
  end
282
312
 
313
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
283
319
  class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency
284
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
321
 
@@ -376,6 +412,12 @@ module Google
376
412
  include Google::Apis::Core::JsonObjectSupport
377
413
  end
378
414
 
415
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
379
421
  class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource
380
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
423
 
@@ -394,6 +436,12 @@ module Google
394
436
  include Google::Apis::Core::JsonObjectSupport
395
437
  end
396
438
 
439
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
397
445
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule
398
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
447
 
@@ -568,6 +616,12 @@ module Google
568
616
  include Google::Apis::Core::JsonObjectSupport
569
617
  end
570
618
 
619
+ class Finding
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
571
625
  class Fingerprint
572
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
627
 
@@ -1066,6 +1120,21 @@ module Google
1066
1120
  include Google::Apis::Core::JsonObjectSupport
1067
1121
  end
1068
1122
 
1123
+ class AiSkillAnalysisNote
1124
+ # @private
1125
+ class Representation < Google::Apis::Core::JsonRepresentation
1126
+ end
1127
+ end
1128
+
1129
+ class AiSkillAnalysisOccurrence
1130
+ # @private
1131
+ class Representation < Google::Apis::Core::JsonRepresentation
1132
+ collection :findings, as: 'findings', class: Google::Apis::ContaineranalysisV1beta1::Finding, decorator: Google::Apis::ContaineranalysisV1beta1::Finding::Representation
1133
+
1134
+ property :skill_name, as: 'skillName'
1135
+ end
1136
+ end
1137
+
1069
1138
  class AliasContext
1070
1139
  # @private
1071
1140
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1368,6 +1437,8 @@ module Google
1368
1437
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts
1369
1438
  # @private
1370
1439
  class Representation < Google::Apis::Core::JsonRepresentation
1440
+ collection :generic_artifacts, as: 'genericArtifacts', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact::Representation
1441
+
1371
1442
  collection :go_modules, as: 'goModules', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule::Representation
1372
1443
 
1373
1444
  collection :images, as: 'images'
@@ -1377,6 +1448,8 @@ module Google
1377
1448
 
1378
1449
  property :objects, as: 'objects', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects::Representation
1379
1450
 
1451
+ collection :oci, as: 'oci', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci::Representation
1452
+
1380
1453
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage::Representation
1381
1454
 
1382
1455
  end
@@ -1392,6 +1465,14 @@ module Google
1392
1465
  end
1393
1466
  end
1394
1467
 
1468
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGenericArtifact
1469
+ # @private
1470
+ class Representation < Google::Apis::Core::JsonRepresentation
1471
+ property :folder, as: 'folder'
1472
+ property :registry_path, as: 'registryPath'
1473
+ end
1474
+ end
1475
+
1395
1476
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule
1396
1477
  # @private
1397
1478
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1424,6 +1505,15 @@ module Google
1424
1505
  end
1425
1506
  end
1426
1507
 
1508
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci
1509
+ # @private
1510
+ class Representation < Google::Apis::Core::JsonRepresentation
1511
+ property :file, as: 'file'
1512
+ property :registry_path, as: 'registryPath'
1513
+ collection :tags, as: 'tags'
1514
+ end
1515
+ end
1516
+
1427
1517
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
1428
1518
  # @private
1429
1519
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1549,6 +1639,8 @@ module Google
1549
1639
  property :name, as: 'name'
1550
1640
  property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1551
1641
 
1642
+ collection :results, as: 'results', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult::Representation
1643
+
1552
1644
  property :script, as: 'script'
1553
1645
  collection :secret_env, as: 'secretEnv'
1554
1646
  property :status, as: 'status'
@@ -1561,6 +1653,13 @@ module Google
1561
1653
  end
1562
1654
  end
1563
1655
 
1656
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults
1657
+ # @private
1658
+ class Representation < Google::Apis::Core::JsonRepresentation
1659
+ hash :results, as: 'results'
1660
+ end
1661
+ end
1662
+
1564
1663
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning
1565
1664
  # @private
1566
1665
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1575,6 +1674,7 @@ module Google
1575
1674
  property :artifact_registry_package, as: 'artifactRegistryPackage'
1576
1675
  property :digest, as: 'digest'
1577
1676
  property :name, as: 'name'
1677
+ property :oci_media_type, as: 'ociMediaType'
1578
1678
  property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1579
1679
 
1580
1680
  end
@@ -1593,11 +1693,21 @@ module Google
1593
1693
  # @private
1594
1694
  class Representation < Google::Apis::Core::JsonRepresentation
1595
1695
  property :empty, as: 'empty'
1696
+ property :generic_artifact, as: 'genericArtifact', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency::Representation
1697
+
1596
1698
  property :git_source, as: 'gitSource', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency::Representation
1597
1699
 
1598
1700
  end
1599
1701
  end
1600
1702
 
1703
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency
1704
+ # @private
1705
+ class Representation < Google::Apis::Core::JsonRepresentation
1706
+ property :dest_path, as: 'destPath'
1707
+ property :resource, as: 'resource'
1708
+ end
1709
+ end
1710
+
1601
1711
  class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency
1602
1712
  # @private
1603
1713
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1697,6 +1807,10 @@ module Google
1697
1807
 
1698
1808
  collection :build_step_images, as: 'buildStepImages'
1699
1809
  collection :build_step_outputs, as: 'buildStepOutputs'
1810
+ hash :build_step_results, as: 'buildStepResults', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults::Representation
1811
+
1812
+ collection :generic_artifacts, as: 'genericArtifacts', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact::Representation
1813
+
1700
1814
  collection :go_modules, as: 'goModules', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule::Representation
1701
1815
 
1702
1816
  collection :images, as: 'images', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage::Representation
@@ -1773,6 +1887,15 @@ module Google
1773
1887
  end
1774
1888
  end
1775
1889
 
1890
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult
1891
+ # @private
1892
+ class Representation < Google::Apis::Core::JsonRepresentation
1893
+ property :attestation_content, as: 'attestationContent'
1894
+ property :attestation_type, as: 'attestationType'
1895
+ property :name, as: 'name'
1896
+ end
1897
+ end
1898
+
1776
1899
  class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource
1777
1900
  # @private
1778
1901
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1800,6 +1923,20 @@ module Google
1800
1923
  end
1801
1924
  end
1802
1925
 
1926
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact
1927
+ # @private
1928
+ class Representation < Google::Apis::Core::JsonRepresentation
1929
+ property :artifact_fingerprint, as: 'artifactFingerprint', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::Representation
1930
+
1931
+ property :artifact_registry_package, as: 'artifactRegistryPackage'
1932
+ hash :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::Representation
1933
+
1934
+ property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1935
+
1936
+ property :uri, as: 'uri'
1937
+ end
1938
+ end
1939
+
1803
1940
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule
1804
1941
  # @private
1805
1942
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2100,6 +2237,19 @@ module Google
2100
2237
  end
2101
2238
  end
2102
2239
 
2240
+ class Finding
2241
+ # @private
2242
+ class Representation < Google::Apis::Core::JsonRepresentation
2243
+ property :category, as: 'category'
2244
+ property :description, as: 'description'
2245
+ property :file_path, as: 'filePath'
2246
+ property :rule_id, as: 'ruleId'
2247
+ property :severity, as: 'severity'
2248
+ property :snippet, as: 'snippet'
2249
+ property :title, as: 'title'
2250
+ end
2251
+ end
2252
+
2103
2253
  class Fingerprint
2104
2254
  # @private
2105
2255
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2427,6 +2577,8 @@ module Google
2427
2577
  class Note
2428
2578
  # @private
2429
2579
  class Representation < Google::Apis::Core::JsonRepresentation
2580
+ property :ai_skill_analysis, as: 'aiSkillAnalysis', class: Google::Apis::ContaineranalysisV1beta1::AiSkillAnalysisNote, decorator: Google::Apis::ContaineranalysisV1beta1::AiSkillAnalysisNote::Representation
2581
+
2430
2582
  property :attestation_authority, as: 'attestationAuthority', class: Google::Apis::ContaineranalysisV1beta1::Authority, decorator: Google::Apis::ContaineranalysisV1beta1::Authority::Representation
2431
2583
 
2432
2584
  property :base_image, as: 'baseImage', class: Google::Apis::ContaineranalysisV1beta1::Basis, decorator: Google::Apis::ContaineranalysisV1beta1::Basis::Representation
@@ -2473,6 +2625,8 @@ module Google
2473
2625
  class Occurrence
2474
2626
  # @private
2475
2627
  class Representation < Google::Apis::Core::JsonRepresentation
2628
+ property :ai_skill_analysis, as: 'aiSkillAnalysis', class: Google::Apis::ContaineranalysisV1beta1::AiSkillAnalysisOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::AiSkillAnalysisOccurrence::Representation
2629
+
2476
2630
  property :attestation, as: 'attestation', class: Google::Apis::ContaineranalysisV1beta1::Details, decorator: Google::Apis::ContaineranalysisV1beta1::Details::Representation
2477
2631
 
2478
2632
  property :build, as: 'build', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1BuildDetails, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1BuildDetails::Representation
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.73.0
4
+ version: 0.75.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.73.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.75.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: