google-apis-containeranalysis_v1 0.55.0 → 0.57.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: 592a51fe9b6086b3213d3db6ed3d4abc00660fcf53da12a5663f2e09b61b8592
4
- data.tar.gz: 1fc160668e3a8fdb2779963ff58c3200cdd6534d6fc9ed63670e6a46fad2bbb1
3
+ metadata.gz: 9a1d73eb4300b43c0dfa52ea2e2e76a2910a4684b158942ecdc3c14554f6cc97
4
+ data.tar.gz: 87bcb1f7f46ea18b82abd4be47c603fa1ae1783085dfd73f34a050281f7e9511
5
5
  SHA512:
6
- metadata.gz: ed65471fb24cf54fb6e69e031b0e2209685546b77ece311befe267ccaa659da05c012c379265764c8ef54510e48bee35a9889fed4420c8134e68cd61f7bf96db
7
- data.tar.gz: 6c08e0b7f8e6d7557ebe3f308e91ce9ad63868315b8314a1d5ce51955f85ddd1b6547c46c515ab0ea2b152b8a8a104048d5859e294a0e12e202f2780b7e040c7
6
+ metadata.gz: 61e080ef1c1205d7759065d3a3faac99dbd4f1f2b712874f7a2f45d1262659040d949c6e5c378d53ab51a6a0be931cf262f8556d933bef0b9e33f9b1e435a398
7
+ data.tar.gz: a6c80d69227709ff5703fd72e93f129ea266e4c9a52fb17610c31175b9ffb220fbf2e2243015d73462ea1f86a988b33da7e8ba08992aff54adbcb195f51b0623
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.57.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250307
6
+
7
+ ### v0.56.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250207
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.55.0 (2024-08-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240816
@@ -258,6 +258,37 @@ module Google
258
258
  end
259
259
  end
260
260
 
261
+ # BaseImage describes a base image of a container image.
262
+ class BaseImage
263
+ include Google::Apis::Core::Hashable
264
+
265
+ # The number of layers that the base image is composed of.
266
+ # Corresponds to the JSON property `layerCount`
267
+ # @return [Fixnum]
268
+ attr_accessor :layer_count
269
+
270
+ # The name of the base image.
271
+ # Corresponds to the JSON property `name`
272
+ # @return [String]
273
+ attr_accessor :name
274
+
275
+ # The repository name in which the base image is from.
276
+ # Corresponds to the JSON property `repository`
277
+ # @return [String]
278
+ attr_accessor :repository
279
+
280
+ def initialize(**args)
281
+ update!(**args)
282
+ end
283
+
284
+ # Update properties of this object
285
+ def update!(**args)
286
+ @layer_count = args[:layer_count] if args.key?(:layer_count)
287
+ @name = args[:name] if args.key?(:name)
288
+ @repository = args[:repository] if args.key?(:repository)
289
+ end
290
+ end
291
+
261
292
  # Request to create notes in batch.
262
293
  class BatchCreateNotesRequest
263
294
  include Google::Apis::Core::Hashable
@@ -674,7 +705,7 @@ module Google
674
705
  end
675
706
  end
676
707
 
677
- # A step in the build pipeline. Next ID: 21
708
+ # A step in the build pipeline. Next ID: 22
678
709
  class BuildStep
679
710
  include Google::Apis::Core::Hashable
680
711
 
@@ -765,6 +796,11 @@ module Google
765
796
  # @return [Google::Apis::ContaineranalysisV1::TimeSpan]
766
797
  attr_accessor :pull_timing
767
798
 
799
+ #
800
+ # Corresponds to the JSON property `results`
801
+ # @return [Array<Google::Apis::ContaineranalysisV1::StepResult>]
802
+ attr_accessor :results
803
+
768
804
  # A shell script to be executed in the step. When script is provided, the user
769
805
  # cannot specify the entrypoint or args.
770
806
  # Corresponds to the JSON property `script`
@@ -831,6 +867,7 @@ module Google
831
867
  @id = args[:id] if args.key?(:id)
832
868
  @name = args[:name] if args.key?(:name)
833
869
  @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
870
+ @results = args[:results] if args.key?(:results)
834
871
  @script = args[:script] if args.key?(:script)
835
872
  @secret_env = args[:secret_env] if args.key?(:secret_env)
836
873
  @status = args[:status] if args.key?(:status)
@@ -1418,6 +1455,13 @@ module Google
1418
1455
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts
1419
1456
  include Google::Apis::Core::Hashable
1420
1457
 
1458
+ # Optional. A list of Go modules to be uploaded to Artifact Registry upon
1459
+ # successful completion of all build steps. If any objects fail to be pushed,
1460
+ # the build is marked FAILURE.
1461
+ # Corresponds to the JSON property `goModules`
1462
+ # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule>]
1463
+ attr_accessor :go_modules
1464
+
1421
1465
  # A list of images to be pushed upon the successful completion of all build
1422
1466
  # steps. The images will be pushed using the builder service account's
1423
1467
  # credentials. The digests of the pushed images will be stored in the Build
@@ -1465,6 +1509,7 @@ module Google
1465
1509
 
1466
1510
  # Update properties of this object
1467
1511
  def update!(**args)
1512
+ @go_modules = args[:go_modules] if args.key?(:go_modules)
1468
1513
  @images = args[:images] if args.key?(:images)
1469
1514
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
1470
1515
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
@@ -1508,6 +1553,64 @@ module Google
1508
1553
  end
1509
1554
  end
1510
1555
 
1556
+ # Go module to upload to Artifact Registry upon successful completion of all
1557
+ # build steps. A module refers to all dependencies in a go.mod file.
1558
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule
1559
+ include Google::Apis::Core::Hashable
1560
+
1561
+ # Optional. The Go module's "module path". e.g. example.com/foo/v2
1562
+ # Corresponds to the JSON property `modulePath`
1563
+ # @return [String]
1564
+ attr_accessor :module_path
1565
+
1566
+ # Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-
1567
+ # release identifiers can also be added by appending a dash and dot separated
1568
+ # ASCII alphanumeric characters and hyphens. e.g. v0.2.3-alpha.x.12m.5
1569
+ # Corresponds to the JSON property `moduleVersion`
1570
+ # @return [String]
1571
+ attr_accessor :module_version
1572
+
1573
+ # Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults
1574
+ # to the build’s location.
1575
+ # Corresponds to the JSON property `repositoryLocation`
1576
+ # @return [String]
1577
+ attr_accessor :repository_location
1578
+
1579
+ # Optional. Artifact Registry repository name. Specified Go modules will be
1580
+ # zipped and uploaded to Artifact Registry with this location as a prefix. e.g.
1581
+ # my-go-repo
1582
+ # Corresponds to the JSON property `repositoryName`
1583
+ # @return [String]
1584
+ attr_accessor :repository_name
1585
+
1586
+ # Optional. Project ID of the Artifact Registry repository. Defaults to the
1587
+ # build project.
1588
+ # Corresponds to the JSON property `repositoryProjectId`
1589
+ # @return [String]
1590
+ attr_accessor :repository_project_id
1591
+
1592
+ # Optional. Source path of the go.mod file in the build's workspace. If not
1593
+ # specified, this will default to the current directory. e.g. ~/code/go/
1594
+ # mypackage
1595
+ # Corresponds to the JSON property `sourcePath`
1596
+ # @return [String]
1597
+ attr_accessor :source_path
1598
+
1599
+ def initialize(**args)
1600
+ update!(**args)
1601
+ end
1602
+
1603
+ # Update properties of this object
1604
+ def update!(**args)
1605
+ @module_path = args[:module_path] if args.key?(:module_path)
1606
+ @module_version = args[:module_version] if args.key?(:module_version)
1607
+ @repository_location = args[:repository_location] if args.key?(:repository_location)
1608
+ @repository_name = args[:repository_name] if args.key?(:repository_name)
1609
+ @repository_project_id = args[:repository_project_id] if args.key?(:repository_project_id)
1610
+ @source_path = args[:source_path] if args.key?(:source_path)
1611
+ end
1612
+ end
1613
+
1511
1614
  # A Maven artifact to upload to Artifact Registry upon successful completion of
1512
1615
  # all build steps.
1513
1616
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
@@ -1657,6 +1760,12 @@ module Google
1657
1760
  # @return [String]
1658
1761
  attr_accessor :create_time
1659
1762
 
1763
+ # Optional. Dependencies that the Cloud Build worker will fetch before executing
1764
+ # user steps.
1765
+ # Corresponds to the JSON property `dependencies`
1766
+ # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency>]
1767
+ attr_accessor :dependencies
1768
+
1660
1769
  # A fatal problem encountered during the execution of the build.
1661
1770
  # Corresponds to the JSON property `failureInfo`
1662
1771
  # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo]
@@ -1818,6 +1927,7 @@ module Google
1818
1927
  @available_secrets = args[:available_secrets] if args.key?(:available_secrets)
1819
1928
  @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
1820
1929
  @create_time = args[:create_time] if args.key?(:create_time)
1930
+ @dependencies = args[:dependencies] if args.key?(:dependencies)
1821
1931
  @failure_info = args[:failure_info] if args.key?(:failure_info)
1822
1932
  @finish_time = args[:finish_time] if args.key?(:finish_time)
1823
1933
  @git_config = args[:git_config] if args.key?(:git_config)
@@ -1937,6 +2047,13 @@ module Google
1937
2047
  attr_accessor :dynamic_substitutions
1938
2048
  alias_method :dynamic_substitutions?, :dynamic_substitutions
1939
2049
 
2050
+ # Optional. Option to specify whether structured logging is enabled. If true,
2051
+ # JSON-formatted logs are parsed as structured logs.
2052
+ # Corresponds to the JSON property `enableStructuredLogging`
2053
+ # @return [Boolean]
2054
+ attr_accessor :enable_structured_logging
2055
+ alias_method :enable_structured_logging?, :enable_structured_logging
2056
+
1940
2057
  # A list of global environment variable definitions that will exist for all
1941
2058
  # build steps in this build. If a variable is defined in both globally and in a
1942
2059
  # build step, the variable will use the build step value. The elements are of
@@ -1969,6 +2086,11 @@ module Google
1969
2086
  # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption]
1970
2087
  attr_accessor :pool
1971
2088
 
2089
+ # Optional. Option to specify the Pub/Sub topic to receive build status updates.
2090
+ # Corresponds to the JSON property `pubsubTopic`
2091
+ # @return [String]
2092
+ attr_accessor :pubsub_topic
2093
+
1972
2094
  # Requested verifiability options.
1973
2095
  # Corresponds to the JSON property `requestedVerifyOption`
1974
2096
  # @return [String]
@@ -2018,11 +2140,13 @@ module Google
2018
2140
  @default_logs_bucket_behavior = args[:default_logs_bucket_behavior] if args.key?(:default_logs_bucket_behavior)
2019
2141
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2020
2142
  @dynamic_substitutions = args[:dynamic_substitutions] if args.key?(:dynamic_substitutions)
2143
+ @enable_structured_logging = args[:enable_structured_logging] if args.key?(:enable_structured_logging)
2021
2144
  @env = args[:env] if args.key?(:env)
2022
2145
  @log_streaming_option = args[:log_streaming_option] if args.key?(:log_streaming_option)
2023
2146
  @logging = args[:logging] if args.key?(:logging)
2024
2147
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2025
2148
  @pool = args[:pool] if args.key?(:pool)
2149
+ @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
2026
2150
  @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
2027
2151
  @secret_env = args[:secret_env] if args.key?(:secret_env)
2028
2152
  @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
@@ -2312,6 +2436,106 @@ module Google
2312
2436
  end
2313
2437
  end
2314
2438
 
2439
+ # A dependency that the Cloud Build worker will fetch before executing user
2440
+ # steps.
2441
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency
2442
+ include Google::Apis::Core::Hashable
2443
+
2444
+ # If set to true disable all dependency fetching (ignoring the default source as
2445
+ # well).
2446
+ # Corresponds to the JSON property `empty`
2447
+ # @return [Boolean]
2448
+ attr_accessor :empty
2449
+ alias_method :empty?, :empty
2450
+
2451
+ # Represents a git repository as a build dependency.
2452
+ # Corresponds to the JSON property `gitSource`
2453
+ # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency]
2454
+ attr_accessor :git_source
2455
+
2456
+ def initialize(**args)
2457
+ update!(**args)
2458
+ end
2459
+
2460
+ # Update properties of this object
2461
+ def update!(**args)
2462
+ @empty = args[:empty] if args.key?(:empty)
2463
+ @git_source = args[:git_source] if args.key?(:git_source)
2464
+ end
2465
+ end
2466
+
2467
+ # Represents a git repository as a build dependency.
2468
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency
2469
+ include Google::Apis::Core::Hashable
2470
+
2471
+ # Optional. How much history should be fetched for the build (default 1, -1 for
2472
+ # all history).
2473
+ # Corresponds to the JSON property `depth`
2474
+ # @return [Fixnum]
2475
+ attr_accessor :depth
2476
+
2477
+ # Required. Where should the files be placed on the worker.
2478
+ # Corresponds to the JSON property `destPath`
2479
+ # @return [String]
2480
+ attr_accessor :dest_path
2481
+
2482
+ # Optional. True if submodules should be fetched too (default false).
2483
+ # Corresponds to the JSON property `recurseSubmodules`
2484
+ # @return [Boolean]
2485
+ attr_accessor :recurse_submodules
2486
+ alias_method :recurse_submodules?, :recurse_submodules
2487
+
2488
+ # A repository for a git source.
2489
+ # Corresponds to the JSON property `repository`
2490
+ # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository]
2491
+ attr_accessor :repository
2492
+
2493
+ # Required. The revision that we will fetch the repo at.
2494
+ # Corresponds to the JSON property `revision`
2495
+ # @return [String]
2496
+ attr_accessor :revision
2497
+
2498
+ def initialize(**args)
2499
+ update!(**args)
2500
+ end
2501
+
2502
+ # Update properties of this object
2503
+ def update!(**args)
2504
+ @depth = args[:depth] if args.key?(:depth)
2505
+ @dest_path = args[:dest_path] if args.key?(:dest_path)
2506
+ @recurse_submodules = args[:recurse_submodules] if args.key?(:recurse_submodules)
2507
+ @repository = args[:repository] if args.key?(:repository)
2508
+ @revision = args[:revision] if args.key?(:revision)
2509
+ end
2510
+ end
2511
+
2512
+ # A repository for a git source.
2513
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
2514
+ include Google::Apis::Core::Hashable
2515
+
2516
+ # The Developer Connect Git repository link or the url that matches a repository
2517
+ # link in the current project, formatted as `projects/*/locations/*/connections/*
2518
+ # /gitRepositoryLink/*`
2519
+ # Corresponds to the JSON property `developerConnect`
2520
+ # @return [String]
2521
+ attr_accessor :developer_connect
2522
+
2523
+ # Location of the Git repository.
2524
+ # Corresponds to the JSON property `url`
2525
+ # @return [String]
2526
+ attr_accessor :url
2527
+
2528
+ def initialize(**args)
2529
+ update!(**args)
2530
+ end
2531
+
2532
+ # Update properties of this object
2533
+ def update!(**args)
2534
+ @developer_connect = args[:developer_connect] if args.key?(:developer_connect)
2535
+ @url = args[:url] if args.key?(:url)
2536
+ end
2537
+ end
2538
+
2315
2539
  # This config defines the location of a source through Developer Connect.
2316
2540
  class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig
2317
2541
  include Google::Apis::Core::Hashable
@@ -2602,6 +2826,12 @@ module Google
2602
2826
  # @return [Array<String>]
2603
2827
  attr_accessor :build_step_outputs
2604
2828
 
2829
+ # Optional. Go module artifacts uploaded to Artifact Registry at the end of the
2830
+ # build.
2831
+ # Corresponds to the JSON property `goModules`
2832
+ # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule>]
2833
+ attr_accessor :go_modules
2834
+
2605
2835
  # Container images that were built as a part of the build.
2606
2836
  # Corresponds to the JSON property `images`
2607
2837
  # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage>]
@@ -2638,6 +2868,7 @@ module Google
2638
2868
  @artifact_timing = args[:artifact_timing] if args.key?(:artifact_timing)
2639
2869
  @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
2640
2870
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
2871
+ @go_modules = args[:go_modules] if args.key?(:go_modules)
2641
2872
  @images = args[:images] if args.key?(:images)
2642
2873
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
2643
2874
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
@@ -2941,6 +3172,39 @@ module Google
2941
3172
  end
2942
3173
  end
2943
3174
 
3175
+ # A Go module artifact uploaded to Artifact Registry using the GoModule
3176
+ # directive.
3177
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule
3178
+ include Google::Apis::Core::Hashable
3179
+
3180
+ # Container message for hashes of byte content of files, used in
3181
+ # SourceProvenance messages to verify integrity of source input to the build.
3182
+ # Corresponds to the JSON property `fileHashes`
3183
+ # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes]
3184
+ attr_accessor :file_hashes
3185
+
3186
+ # Start and end times for a build execution phase.
3187
+ # Corresponds to the JSON property `pushTiming`
3188
+ # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
3189
+ attr_accessor :push_timing
3190
+
3191
+ # URI of the uploaded artifact.
3192
+ # Corresponds to the JSON property `uri`
3193
+ # @return [String]
3194
+ attr_accessor :uri
3195
+
3196
+ def initialize(**args)
3197
+ update!(**args)
3198
+ end
3199
+
3200
+ # Update properties of this object
3201
+ def update!(**args)
3202
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
3203
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
3204
+ @uri = args[:uri] if args.key?(:uri)
3205
+ end
3206
+ end
3207
+
2944
3208
  # A Maven artifact uploaded using the MavenArtifact directive.
2945
3209
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact
2946
3210
  include Google::Apis::Core::Hashable
@@ -3911,6 +4175,11 @@ module Google
3911
4175
  # @return [String]
3912
4176
  attr_accessor :file_path
3913
4177
 
4178
+ # Details about the layer a package was found in.
4179
+ # Corresponds to the JSON property `layerDetails`
4180
+ # @return [Google::Apis::ContaineranalysisV1::LayerDetails]
4181
+ attr_accessor :layer_details
4182
+
3914
4183
  def initialize(**args)
3915
4184
  update!(**args)
3916
4185
  end
@@ -3918,6 +4187,7 @@ module Google
3918
4187
  # Update properties of this object
3919
4188
  def update!(**args)
3920
4189
  @file_path = args[:file_path] if args.key?(:file_path)
4190
+ @layer_details = args[:layer_details] if args.key?(:layer_details)
3921
4191
  end
3922
4192
  end
3923
4193
 
@@ -4487,6 +4757,44 @@ module Google
4487
4757
  end
4488
4758
  end
4489
4759
 
4760
+ # Details about the layer a package was found in.
4761
+ class LayerDetails
4762
+ include Google::Apis::Core::Hashable
4763
+
4764
+ # The base images the layer is found within.
4765
+ # Corresponds to the JSON property `baseImages`
4766
+ # @return [Array<Google::Apis::ContaineranalysisV1::BaseImage>]
4767
+ attr_accessor :base_images
4768
+
4769
+ # The layer build command that was used to build the layer. This may not be
4770
+ # found in all layers depending on how the container image is built.
4771
+ # Corresponds to the JSON property `command`
4772
+ # @return [String]
4773
+ attr_accessor :command
4774
+
4775
+ # The diff ID (typically a sha256 hash) of the layer in the container image.
4776
+ # Corresponds to the JSON property `diffId`
4777
+ # @return [String]
4778
+ attr_accessor :diff_id
4779
+
4780
+ # The index of the layer in the container image.
4781
+ # Corresponds to the JSON property `index`
4782
+ # @return [Fixnum]
4783
+ attr_accessor :index
4784
+
4785
+ def initialize(**args)
4786
+ update!(**args)
4787
+ end
4788
+
4789
+ # Update properties of this object
4790
+ def update!(**args)
4791
+ @base_images = args[:base_images] if args.key?(:base_images)
4792
+ @command = args[:command] if args.key?(:command)
4793
+ @diff_id = args[:diff_id] if args.key?(:diff_id)
4794
+ @index = args[:index] if args.key?(:index)
4795
+ end
4796
+ end
4797
+
4490
4798
  # License information.
4491
4799
  class License
4492
4800
  include Google::Apis::Core::Hashable
@@ -6378,6 +6686,37 @@ module Google
6378
6686
  end
6379
6687
  end
6380
6688
 
6689
+ # StepResult is the declaration of a result for a build step.
6690
+ class StepResult
6691
+ include Google::Apis::Core::Hashable
6692
+
6693
+ #
6694
+ # Corresponds to the JSON property `attestationContentName`
6695
+ # @return [String]
6696
+ attr_accessor :attestation_content_name
6697
+
6698
+ #
6699
+ # Corresponds to the JSON property `attestationType`
6700
+ # @return [String]
6701
+ attr_accessor :attestation_type
6702
+
6703
+ #
6704
+ # Corresponds to the JSON property `name`
6705
+ # @return [String]
6706
+ attr_accessor :name
6707
+
6708
+ def initialize(**args)
6709
+ update!(**args)
6710
+ end
6711
+
6712
+ # Update properties of this object
6713
+ def update!(**args)
6714
+ @attestation_content_name = args[:attestation_content_name] if args.key?(:attestation_content_name)
6715
+ @attestation_type = args[:attestation_type] if args.key?(:attestation_type)
6716
+ @name = args[:name] if args.key?(:name)
6717
+ end
6718
+ end
6719
+
6381
6720
  #
6382
6721
  class Subject
6383
6722
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1
18
18
  # Version of the google-apis-containeranalysis_v1 gem
19
- GEM_VERSION = "0.55.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240816"
25
+ REVISION = "20250307"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class BaseImage
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class BatchCreateNotesRequest
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -220,6 +226,12 @@ module Google
220
226
  include Google::Apis::Core::JsonObjectSupport
221
227
  end
222
228
 
229
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -292,6 +304,24 @@ module Google
292
304
  include Google::Apis::Core::JsonObjectSupport
293
305
  end
294
306
 
307
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
295
325
  class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig
296
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
327
 
@@ -394,6 +424,12 @@ module Google
394
424
  include Google::Apis::Core::JsonObjectSupport
395
425
  end
396
426
 
427
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
397
433
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact
398
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
435
 
@@ -676,6 +712,12 @@ module Google
676
712
  include Google::Apis::Core::JsonObjectSupport
677
713
  end
678
714
 
715
+ class LayerDetails
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
679
721
  class License
680
722
  class Representation < Google::Apis::Core::JsonRepresentation; end
681
723
 
@@ -922,6 +964,12 @@ module Google
922
964
  include Google::Apis::Core::JsonObjectSupport
923
965
  end
924
966
 
967
+ class StepResult
968
+ class Representation < Google::Apis::Core::JsonRepresentation; end
969
+
970
+ include Google::Apis::Core::JsonObjectSupport
971
+ end
972
+
925
973
  class Subject
926
974
  class Representation < Google::Apis::Core::JsonRepresentation; end
927
975
 
@@ -1079,6 +1127,15 @@ module Google
1079
1127
  end
1080
1128
  end
1081
1129
 
1130
+ class BaseImage
1131
+ # @private
1132
+ class Representation < Google::Apis::Core::JsonRepresentation
1133
+ property :layer_count, as: 'layerCount'
1134
+ property :name, as: 'name'
1135
+ property :repository, as: 'repository'
1136
+ end
1137
+ end
1138
+
1082
1139
  class BatchCreateNotesRequest
1083
1140
  # @private
1084
1141
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1200,6 +1257,8 @@ module Google
1200
1257
  property :name, as: 'name'
1201
1258
  property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1::TimeSpan::Representation
1202
1259
 
1260
+ collection :results, as: 'results', class: Google::Apis::ContaineranalysisV1::StepResult, decorator: Google::Apis::ContaineranalysisV1::StepResult::Representation
1261
+
1203
1262
  property :script, as: 'script'
1204
1263
  collection :secret_env, as: 'secretEnv'
1205
1264
  property :status, as: 'status'
@@ -1365,6 +1424,8 @@ module Google
1365
1424
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts
1366
1425
  # @private
1367
1426
  class Representation < Google::Apis::Core::JsonRepresentation
1427
+ collection :go_modules, as: 'goModules', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule::Representation
1428
+
1368
1429
  collection :images, as: 'images'
1369
1430
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact::Representation
1370
1431
 
@@ -1387,6 +1448,18 @@ module Google
1387
1448
  end
1388
1449
  end
1389
1450
 
1451
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule
1452
+ # @private
1453
+ class Representation < Google::Apis::Core::JsonRepresentation
1454
+ property :module_path, as: 'modulePath'
1455
+ property :module_version, as: 'moduleVersion'
1456
+ property :repository_location, as: 'repositoryLocation'
1457
+ property :repository_name, as: 'repositoryName'
1458
+ property :repository_project_id, as: 'repositoryProjectId'
1459
+ property :source_path, as: 'sourcePath'
1460
+ end
1461
+ end
1462
+
1390
1463
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
1391
1464
  # @private
1392
1465
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1425,6 +1498,8 @@ module Google
1425
1498
 
1426
1499
  property :build_trigger_id, as: 'buildTriggerId'
1427
1500
  property :create_time, as: 'createTime'
1501
+ collection :dependencies, as: 'dependencies', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency::Representation
1502
+
1428
1503
  property :failure_info, as: 'failureInfo', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo::Representation
1429
1504
 
1430
1505
  property :finish_time, as: 'finishTime'
@@ -1489,12 +1564,14 @@ module Google
1489
1564
  property :default_logs_bucket_behavior, as: 'defaultLogsBucketBehavior'
1490
1565
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1491
1566
  property :dynamic_substitutions, as: 'dynamicSubstitutions'
1567
+ property :enable_structured_logging, as: 'enableStructuredLogging'
1492
1568
  collection :env, as: 'env'
1493
1569
  property :log_streaming_option, as: 'logStreamingOption'
1494
1570
  property :logging, as: 'logging'
1495
1571
  property :machine_type, as: 'machineType'
1496
1572
  property :pool, as: 'pool', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption::Representation
1497
1573
 
1574
+ property :pubsub_topic, as: 'pubsubTopic'
1498
1575
  property :requested_verify_option, as: 'requestedVerifyOption'
1499
1576
  collection :secret_env, as: 'secretEnv'
1500
1577
  collection :source_provenance_hash, as: 'sourceProvenanceHash'
@@ -1566,6 +1643,35 @@ module Google
1566
1643
  end
1567
1644
  end
1568
1645
 
1646
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency
1647
+ # @private
1648
+ class Representation < Google::Apis::Core::JsonRepresentation
1649
+ property :empty, as: 'empty'
1650
+ property :git_source, as: 'gitSource', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency::Representation
1651
+
1652
+ end
1653
+ end
1654
+
1655
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency
1656
+ # @private
1657
+ class Representation < Google::Apis::Core::JsonRepresentation
1658
+ property :depth, :numeric_string => true, as: 'depth'
1659
+ property :dest_path, as: 'destPath'
1660
+ property :recurse_submodules, as: 'recurseSubmodules'
1661
+ property :repository, as: 'repository', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository::Representation
1662
+
1663
+ property :revision, as: 'revision'
1664
+ end
1665
+ end
1666
+
1667
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
1668
+ # @private
1669
+ class Representation < Google::Apis::Core::JsonRepresentation
1670
+ property :developer_connect, as: 'developerConnect'
1671
+ property :url, as: 'url'
1672
+ end
1673
+ end
1674
+
1569
1675
  class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig
1570
1676
  # @private
1571
1677
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1645,6 +1751,8 @@ module Google
1645
1751
 
1646
1752
  collection :build_step_images, as: 'buildStepImages'
1647
1753
  collection :build_step_outputs, as: 'buildStepOutputs'
1754
+ collection :go_modules, as: 'goModules', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule::Representation
1755
+
1648
1756
  collection :images, as: 'images', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage::Representation
1649
1757
 
1650
1758
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact::Representation
@@ -1746,6 +1854,17 @@ module Google
1746
1854
  end
1747
1855
  end
1748
1856
 
1857
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule
1858
+ # @private
1859
+ class Representation < Google::Apis::Core::JsonRepresentation
1860
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::Representation
1861
+
1862
+ property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1863
+
1864
+ property :uri, as: 'uri'
1865
+ end
1866
+ end
1867
+
1749
1868
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact
1750
1869
  # @private
1751
1870
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2024,6 +2143,8 @@ module Google
2024
2143
  # @private
2025
2144
  class Representation < Google::Apis::Core::JsonRepresentation
2026
2145
  property :file_path, as: 'filePath'
2146
+ property :layer_details, as: 'layerDetails', class: Google::Apis::ContaineranalysisV1::LayerDetails, decorator: Google::Apis::ContaineranalysisV1::LayerDetails::Representation
2147
+
2027
2148
  end
2028
2149
  end
2029
2150
 
@@ -2198,6 +2319,17 @@ module Google
2198
2319
  end
2199
2320
  end
2200
2321
 
2322
+ class LayerDetails
2323
+ # @private
2324
+ class Representation < Google::Apis::Core::JsonRepresentation
2325
+ collection :base_images, as: 'baseImages', class: Google::Apis::ContaineranalysisV1::BaseImage, decorator: Google::Apis::ContaineranalysisV1::BaseImage::Representation
2326
+
2327
+ property :command, as: 'command'
2328
+ property :diff_id, as: 'diffId'
2329
+ property :index, as: 'index'
2330
+ end
2331
+ end
2332
+
2201
2333
  class License
2202
2334
  # @private
2203
2335
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2693,6 +2825,15 @@ module Google
2693
2825
  end
2694
2826
  end
2695
2827
 
2828
+ class StepResult
2829
+ # @private
2830
+ class Representation < Google::Apis::Core::JsonRepresentation
2831
+ property :attestation_content_name, as: 'attestationContentName'
2832
+ property :attestation_type, as: 'attestationType'
2833
+ property :name, as: 'name'
2834
+ end
2835
+ end
2836
+
2696
2837
  class Subject
2697
2838
  # @private
2698
2839
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-08-25 00:00:00.000000000 Z
10
+ date: 2025-03-16 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.57.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.6
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Container Analysis API V1
82
79
  test_files: []