google-apis-containeranalysis_v1alpha1 0.66.0 → 0.68.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: 8073b807ef7ac5fb3ce2453c4f7537dc2732c560b80b8f2a7b6c043aaf6d622a
4
- data.tar.gz: 847cb46e046fb0ed09c547eaf537888a2437562bf5830c6f007745a18d67d05b
3
+ metadata.gz: 5c0ff2bcd8432e901bdac0c81e704a8cac7653177df7ccfcc04f721004c1709f
4
+ data.tar.gz: 21b303a46c2055c4d2a1a1213140521ec6b349908c90ef347526bbc8a8fddc1b
5
5
  SHA512:
6
- metadata.gz: 601df4153ffbf49b0ede75b3d5943c4f1ca448ca83be7b0c6e25dbe662143d5d9f89b6339512f3905464a912392661b9dc09a2024a39b046d86b5c14475b9bae
7
- data.tar.gz: 2ea1a7302700e92a92629cce1d7d9da09cc0827819b701de64d35bfc73f4b7b273178eda457982a1bde1806b686685f13c7568e49c27be3edb4fd09fa443c904
6
+ metadata.gz: 1d895a8ffbbf11309b1b8c2f204b55d2d1344aeb0e11f137648a80e165a6c88ea5d6e625f9e58827ace18ccdf49c428c44e7dd291621e73d687498314e9f669a
7
+ data.tar.gz: eabec8f4bc4dd7fd541d559a7efcbacd1a44ef0472cb0916bf410dadd0fb986aa37e1f9b70b487c7cacd8ab99bd881c5b3cac1610036ecf0a37210580fdd19ee
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.68.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250307
6
+
7
+ ### v0.67.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250207
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.66.0 (2024-07-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240704
@@ -251,6 +251,37 @@ module Google
251
251
  end
252
252
  end
253
253
 
254
+ # BaseImage describes a base image of a container image.
255
+ class BaseImage
256
+ include Google::Apis::Core::Hashable
257
+
258
+ # The number of layers that the base image is composed of.
259
+ # Corresponds to the JSON property `layerCount`
260
+ # @return [Fixnum]
261
+ attr_accessor :layer_count
262
+
263
+ # The name of the base image.
264
+ # Corresponds to the JSON property `name`
265
+ # @return [String]
266
+ attr_accessor :name
267
+
268
+ # The repository name in which the base image is from.
269
+ # Corresponds to the JSON property `repository`
270
+ # @return [String]
271
+ attr_accessor :repository
272
+
273
+ def initialize(**args)
274
+ update!(**args)
275
+ end
276
+
277
+ # Update properties of this object
278
+ def update!(**args)
279
+ @layer_count = args[:layer_count] if args.key?(:layer_count)
280
+ @name = args[:name] if args.key?(:name)
281
+ @repository = args[:repository] if args.key?(:repository)
282
+ end
283
+ end
284
+
254
285
  # Basis describes the base image portion (Note) of the DockerImage relationship.
255
286
  # Linked occurrences are derived from this or an equivalent image via: FROM Or
256
287
  # an equivalent reference, e.g. a tag of the resource_url.
@@ -648,7 +679,7 @@ module Google
648
679
  end
649
680
  end
650
681
 
651
- # A step in the build pipeline. Next ID: 21
682
+ # A step in the build pipeline. Next ID: 22
652
683
  class BuildStep
653
684
  include Google::Apis::Core::Hashable
654
685
 
@@ -739,6 +770,11 @@ module Google
739
770
  # @return [Google::Apis::ContaineranalysisV1alpha1::TimeSpan]
740
771
  attr_accessor :pull_timing
741
772
 
773
+ #
774
+ # Corresponds to the JSON property `results`
775
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::StepResult>]
776
+ attr_accessor :results
777
+
742
778
  # A shell script to be executed in the step. When script is provided, the user
743
779
  # cannot specify the entrypoint or args.
744
780
  # Corresponds to the JSON property `script`
@@ -805,6 +841,7 @@ module Google
805
841
  @id = args[:id] if args.key?(:id)
806
842
  @name = args[:name] if args.key?(:name)
807
843
  @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
844
+ @results = args[:results] if args.key?(:results)
808
845
  @script = args[:script] if args.key?(:script)
809
846
  @secret_env = args[:secret_env] if args.key?(:secret_env)
810
847
  @status = args[:status] if args.key?(:status)
@@ -1269,6 +1306,13 @@ module Google
1269
1306
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts
1270
1307
  include Google::Apis::Core::Hashable
1271
1308
 
1309
+ # Optional. A list of Go modules to be uploaded to Artifact Registry upon
1310
+ # successful completion of all build steps. If any objects fail to be pushed,
1311
+ # the build is marked FAILURE.
1312
+ # Corresponds to the JSON property `goModules`
1313
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule>]
1314
+ attr_accessor :go_modules
1315
+
1272
1316
  # A list of images to be pushed upon the successful completion of all build
1273
1317
  # steps. The images will be pushed using the builder service account's
1274
1318
  # credentials. The digests of the pushed images will be stored in the Build
@@ -1316,6 +1360,7 @@ module Google
1316
1360
 
1317
1361
  # Update properties of this object
1318
1362
  def update!(**args)
1363
+ @go_modules = args[:go_modules] if args.key?(:go_modules)
1319
1364
  @images = args[:images] if args.key?(:images)
1320
1365
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
1321
1366
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
@@ -1359,6 +1404,64 @@ module Google
1359
1404
  end
1360
1405
  end
1361
1406
 
1407
+ # Go module to upload to Artifact Registry upon successful completion of all
1408
+ # build steps. A module refers to all dependencies in a go.mod file.
1409
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule
1410
+ include Google::Apis::Core::Hashable
1411
+
1412
+ # Optional. The Go module's "module path". e.g. example.com/foo/v2
1413
+ # Corresponds to the JSON property `modulePath`
1414
+ # @return [String]
1415
+ attr_accessor :module_path
1416
+
1417
+ # Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-
1418
+ # release identifiers can also be added by appending a dash and dot separated
1419
+ # ASCII alphanumeric characters and hyphens. e.g. v0.2.3-alpha.x.12m.5
1420
+ # Corresponds to the JSON property `moduleVersion`
1421
+ # @return [String]
1422
+ attr_accessor :module_version
1423
+
1424
+ # Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults
1425
+ # to the build’s location.
1426
+ # Corresponds to the JSON property `repositoryLocation`
1427
+ # @return [String]
1428
+ attr_accessor :repository_location
1429
+
1430
+ # Optional. Artifact Registry repository name. Specified Go modules will be
1431
+ # zipped and uploaded to Artifact Registry with this location as a prefix. e.g.
1432
+ # my-go-repo
1433
+ # Corresponds to the JSON property `repositoryName`
1434
+ # @return [String]
1435
+ attr_accessor :repository_name
1436
+
1437
+ # Optional. Project ID of the Artifact Registry repository. Defaults to the
1438
+ # build project.
1439
+ # Corresponds to the JSON property `repositoryProjectId`
1440
+ # @return [String]
1441
+ attr_accessor :repository_project_id
1442
+
1443
+ # Optional. Source path of the go.mod file in the build's workspace. If not
1444
+ # specified, this will default to the current directory. e.g. ~/code/go/
1445
+ # mypackage
1446
+ # Corresponds to the JSON property `sourcePath`
1447
+ # @return [String]
1448
+ attr_accessor :source_path
1449
+
1450
+ def initialize(**args)
1451
+ update!(**args)
1452
+ end
1453
+
1454
+ # Update properties of this object
1455
+ def update!(**args)
1456
+ @module_path = args[:module_path] if args.key?(:module_path)
1457
+ @module_version = args[:module_version] if args.key?(:module_version)
1458
+ @repository_location = args[:repository_location] if args.key?(:repository_location)
1459
+ @repository_name = args[:repository_name] if args.key?(:repository_name)
1460
+ @repository_project_id = args[:repository_project_id] if args.key?(:repository_project_id)
1461
+ @source_path = args[:source_path] if args.key?(:source_path)
1462
+ end
1463
+ end
1464
+
1362
1465
  # A Maven artifact to upload to Artifact Registry upon successful completion of
1363
1466
  # all build steps.
1364
1467
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
@@ -1508,6 +1611,12 @@ module Google
1508
1611
  # @return [String]
1509
1612
  attr_accessor :create_time
1510
1613
 
1614
+ # Optional. Dependencies that the Cloud Build worker will fetch before executing
1615
+ # user steps.
1616
+ # Corresponds to the JSON property `dependencies`
1617
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency>]
1618
+ attr_accessor :dependencies
1619
+
1511
1620
  # A fatal problem encountered during the execution of the build.
1512
1621
  # Corresponds to the JSON property `failureInfo`
1513
1622
  # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo]
@@ -1669,6 +1778,7 @@ module Google
1669
1778
  @available_secrets = args[:available_secrets] if args.key?(:available_secrets)
1670
1779
  @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
1671
1780
  @create_time = args[:create_time] if args.key?(:create_time)
1781
+ @dependencies = args[:dependencies] if args.key?(:dependencies)
1672
1782
  @failure_info = args[:failure_info] if args.key?(:failure_info)
1673
1783
  @finish_time = args[:finish_time] if args.key?(:finish_time)
1674
1784
  @git_config = args[:git_config] if args.key?(:git_config)
@@ -1788,6 +1898,13 @@ module Google
1788
1898
  attr_accessor :dynamic_substitutions
1789
1899
  alias_method :dynamic_substitutions?, :dynamic_substitutions
1790
1900
 
1901
+ # Optional. Option to specify whether structured logging is enabled. If true,
1902
+ # JSON-formatted logs are parsed as structured logs.
1903
+ # Corresponds to the JSON property `enableStructuredLogging`
1904
+ # @return [Boolean]
1905
+ attr_accessor :enable_structured_logging
1906
+ alias_method :enable_structured_logging?, :enable_structured_logging
1907
+
1791
1908
  # A list of global environment variable definitions that will exist for all
1792
1909
  # build steps in this build. If a variable is defined in both globally and in a
1793
1910
  # build step, the variable will use the build step value. The elements are of
@@ -1820,6 +1937,11 @@ module Google
1820
1937
  # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption]
1821
1938
  attr_accessor :pool
1822
1939
 
1940
+ # Optional. Option to specify the Pub/Sub topic to receive build status updates.
1941
+ # Corresponds to the JSON property `pubsubTopic`
1942
+ # @return [String]
1943
+ attr_accessor :pubsub_topic
1944
+
1823
1945
  # Requested verifiability options.
1824
1946
  # Corresponds to the JSON property `requestedVerifyOption`
1825
1947
  # @return [String]
@@ -1869,11 +1991,13 @@ module Google
1869
1991
  @default_logs_bucket_behavior = args[:default_logs_bucket_behavior] if args.key?(:default_logs_bucket_behavior)
1870
1992
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1871
1993
  @dynamic_substitutions = args[:dynamic_substitutions] if args.key?(:dynamic_substitutions)
1994
+ @enable_structured_logging = args[:enable_structured_logging] if args.key?(:enable_structured_logging)
1872
1995
  @env = args[:env] if args.key?(:env)
1873
1996
  @log_streaming_option = args[:log_streaming_option] if args.key?(:log_streaming_option)
1874
1997
  @logging = args[:logging] if args.key?(:logging)
1875
1998
  @machine_type = args[:machine_type] if args.key?(:machine_type)
1876
1999
  @pool = args[:pool] if args.key?(:pool)
2000
+ @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
1877
2001
  @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
1878
2002
  @secret_env = args[:secret_env] if args.key?(:secret_env)
1879
2003
  @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
@@ -2163,6 +2287,106 @@ module Google
2163
2287
  end
2164
2288
  end
2165
2289
 
2290
+ # A dependency that the Cloud Build worker will fetch before executing user
2291
+ # steps.
2292
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency
2293
+ include Google::Apis::Core::Hashable
2294
+
2295
+ # If set to true disable all dependency fetching (ignoring the default source as
2296
+ # well).
2297
+ # Corresponds to the JSON property `empty`
2298
+ # @return [Boolean]
2299
+ attr_accessor :empty
2300
+ alias_method :empty?, :empty
2301
+
2302
+ # Represents a git repository as a build dependency.
2303
+ # Corresponds to the JSON property `gitSource`
2304
+ # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency]
2305
+ attr_accessor :git_source
2306
+
2307
+ def initialize(**args)
2308
+ update!(**args)
2309
+ end
2310
+
2311
+ # Update properties of this object
2312
+ def update!(**args)
2313
+ @empty = args[:empty] if args.key?(:empty)
2314
+ @git_source = args[:git_source] if args.key?(:git_source)
2315
+ end
2316
+ end
2317
+
2318
+ # Represents a git repository as a build dependency.
2319
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency
2320
+ include Google::Apis::Core::Hashable
2321
+
2322
+ # Optional. How much history should be fetched for the build (default 1, -1 for
2323
+ # all history).
2324
+ # Corresponds to the JSON property `depth`
2325
+ # @return [Fixnum]
2326
+ attr_accessor :depth
2327
+
2328
+ # Required. Where should the files be placed on the worker.
2329
+ # Corresponds to the JSON property `destPath`
2330
+ # @return [String]
2331
+ attr_accessor :dest_path
2332
+
2333
+ # Optional. True if submodules should be fetched too (default false).
2334
+ # Corresponds to the JSON property `recurseSubmodules`
2335
+ # @return [Boolean]
2336
+ attr_accessor :recurse_submodules
2337
+ alias_method :recurse_submodules?, :recurse_submodules
2338
+
2339
+ # A repository for a git source.
2340
+ # Corresponds to the JSON property `repository`
2341
+ # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository]
2342
+ attr_accessor :repository
2343
+
2344
+ # Required. The revision that we will fetch the repo at.
2345
+ # Corresponds to the JSON property `revision`
2346
+ # @return [String]
2347
+ attr_accessor :revision
2348
+
2349
+ def initialize(**args)
2350
+ update!(**args)
2351
+ end
2352
+
2353
+ # Update properties of this object
2354
+ def update!(**args)
2355
+ @depth = args[:depth] if args.key?(:depth)
2356
+ @dest_path = args[:dest_path] if args.key?(:dest_path)
2357
+ @recurse_submodules = args[:recurse_submodules] if args.key?(:recurse_submodules)
2358
+ @repository = args[:repository] if args.key?(:repository)
2359
+ @revision = args[:revision] if args.key?(:revision)
2360
+ end
2361
+ end
2362
+
2363
+ # A repository for a git source.
2364
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
2365
+ include Google::Apis::Core::Hashable
2366
+
2367
+ # The Developer Connect Git repository link or the url that matches a repository
2368
+ # link in the current project, formatted as `projects/*/locations/*/connections/*
2369
+ # /gitRepositoryLink/*`
2370
+ # Corresponds to the JSON property `developerConnect`
2371
+ # @return [String]
2372
+ attr_accessor :developer_connect
2373
+
2374
+ # Location of the Git repository.
2375
+ # Corresponds to the JSON property `url`
2376
+ # @return [String]
2377
+ attr_accessor :url
2378
+
2379
+ def initialize(**args)
2380
+ update!(**args)
2381
+ end
2382
+
2383
+ # Update properties of this object
2384
+ def update!(**args)
2385
+ @developer_connect = args[:developer_connect] if args.key?(:developer_connect)
2386
+ @url = args[:url] if args.key?(:url)
2387
+ end
2388
+ end
2389
+
2166
2390
  # This config defines the location of a source through Developer Connect.
2167
2391
  class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig
2168
2392
  include Google::Apis::Core::Hashable
@@ -2453,6 +2677,12 @@ module Google
2453
2677
  # @return [Array<String>]
2454
2678
  attr_accessor :build_step_outputs
2455
2679
 
2680
+ # Optional. Go module artifacts uploaded to Artifact Registry at the end of the
2681
+ # build.
2682
+ # Corresponds to the JSON property `goModules`
2683
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule>]
2684
+ attr_accessor :go_modules
2685
+
2456
2686
  # Container images that were built as a part of the build.
2457
2687
  # Corresponds to the JSON property `images`
2458
2688
  # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage>]
@@ -2489,6 +2719,7 @@ module Google
2489
2719
  @artifact_timing = args[:artifact_timing] if args.key?(:artifact_timing)
2490
2720
  @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
2491
2721
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
2722
+ @go_modules = args[:go_modules] if args.key?(:go_modules)
2492
2723
  @images = args[:images] if args.key?(:images)
2493
2724
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
2494
2725
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
@@ -2792,6 +3023,39 @@ module Google
2792
3023
  end
2793
3024
  end
2794
3025
 
3026
+ # A Go module artifact uploaded to Artifact Registry using the GoModule
3027
+ # directive.
3028
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule
3029
+ include Google::Apis::Core::Hashable
3030
+
3031
+ # Container message for hashes of byte content of files, used in
3032
+ # SourceProvenance messages to verify integrity of source input to the build.
3033
+ # Corresponds to the JSON property `fileHashes`
3034
+ # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes]
3035
+ attr_accessor :file_hashes
3036
+
3037
+ # Start and end times for a build execution phase.
3038
+ # Corresponds to the JSON property `pushTiming`
3039
+ # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
3040
+ attr_accessor :push_timing
3041
+
3042
+ # URI of the uploaded artifact.
3043
+ # Corresponds to the JSON property `uri`
3044
+ # @return [String]
3045
+ attr_accessor :uri
3046
+
3047
+ def initialize(**args)
3048
+ update!(**args)
3049
+ end
3050
+
3051
+ # Update properties of this object
3052
+ def update!(**args)
3053
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
3054
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
3055
+ @uri = args[:uri] if args.key?(:uri)
3056
+ end
3057
+ end
3058
+
2795
3059
  # A Maven artifact uploaded using the MavenArtifact directive.
2796
3060
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact
2797
3061
  include Google::Apis::Core::Hashable
@@ -3728,6 +3992,11 @@ module Google
3728
3992
  # @return [String]
3729
3993
  attr_accessor :file_path
3730
3994
 
3995
+ # Details about the layer a package was found in.
3996
+ # Corresponds to the JSON property `layerDetails`
3997
+ # @return [Google::Apis::ContaineranalysisV1alpha1::LayerDetails]
3998
+ attr_accessor :layer_details
3999
+
3731
4000
  def initialize(**args)
3732
4001
  update!(**args)
3733
4002
  end
@@ -3735,6 +4004,7 @@ module Google
3735
4004
  # Update properties of this object
3736
4005
  def update!(**args)
3737
4006
  @file_path = args[:file_path] if args.key?(:file_path)
4007
+ @layer_details = args[:layer_details] if args.key?(:layer_details)
3738
4008
  end
3739
4009
  end
3740
4010
 
@@ -4676,6 +4946,44 @@ module Google
4676
4946
  end
4677
4947
  end
4678
4948
 
4949
+ # Details about the layer a package was found in.
4950
+ class LayerDetails
4951
+ include Google::Apis::Core::Hashable
4952
+
4953
+ # The base images the layer is found within.
4954
+ # Corresponds to the JSON property `baseImages`
4955
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::BaseImage>]
4956
+ attr_accessor :base_images
4957
+
4958
+ # The layer build command that was used to build the layer. This may not be
4959
+ # found in all layers depending on how the container image is built.
4960
+ # Corresponds to the JSON property `command`
4961
+ # @return [String]
4962
+ attr_accessor :command
4963
+
4964
+ # The diff ID (sha256 hash) of the layer in the container image.
4965
+ # Corresponds to the JSON property `diffId`
4966
+ # @return [String]
4967
+ attr_accessor :diff_id
4968
+
4969
+ # The index of the layer in the container image.
4970
+ # Corresponds to the JSON property `index`
4971
+ # @return [Fixnum]
4972
+ attr_accessor :index
4973
+
4974
+ def initialize(**args)
4975
+ update!(**args)
4976
+ end
4977
+
4978
+ # Update properties of this object
4979
+ def update!(**args)
4980
+ @base_images = args[:base_images] if args.key?(:base_images)
4981
+ @command = args[:command] if args.key?(:command)
4982
+ @diff_id = args[:diff_id] if args.key?(:diff_id)
4983
+ @index = args[:index] if args.key?(:index)
4984
+ end
4985
+ end
4986
+
4679
4987
  # License information.
4680
4988
  class License
4681
4989
  include Google::Apis::Core::Hashable
@@ -6973,6 +7281,37 @@ module Google
6973
7281
  end
6974
7282
  end
6975
7283
 
7284
+ # StepResult is the declaration of a result for a build step.
7285
+ class StepResult
7286
+ include Google::Apis::Core::Hashable
7287
+
7288
+ #
7289
+ # Corresponds to the JSON property `attestationContentName`
7290
+ # @return [String]
7291
+ attr_accessor :attestation_content_name
7292
+
7293
+ #
7294
+ # Corresponds to the JSON property `attestationType`
7295
+ # @return [String]
7296
+ attr_accessor :attestation_type
7297
+
7298
+ #
7299
+ # Corresponds to the JSON property `name`
7300
+ # @return [String]
7301
+ attr_accessor :name
7302
+
7303
+ def initialize(**args)
7304
+ update!(**args)
7305
+ end
7306
+
7307
+ # Update properties of this object
7308
+ def update!(**args)
7309
+ @attestation_content_name = args[:attestation_content_name] if args.key?(:attestation_content_name)
7310
+ @attestation_type = args[:attestation_type] if args.key?(:attestation_type)
7311
+ @name = args[:name] if args.key?(:name)
7312
+ end
7313
+ end
7314
+
6976
7315
  # StorageSource describes the location of the source in an archive file in
6977
7316
  # Google Cloud Storage.
6978
7317
  class StorageSource
@@ -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.66.0"
19
+ GEM_VERSION = "0.68.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240704"
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 Basis
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -184,6 +190,12 @@ module Google
184
190
  include Google::Apis::Core::JsonObjectSupport
185
191
  end
186
192
 
193
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
187
199
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
188
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
201
 
@@ -256,6 +268,24 @@ module Google
256
268
  include Google::Apis::Core::JsonObjectSupport
257
269
  end
258
270
 
271
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
259
289
  class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig
260
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
291
 
@@ -358,6 +388,12 @@ module Google
358
388
  include Google::Apis::Core::JsonObjectSupport
359
389
  end
360
390
 
391
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
361
397
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact
362
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
399
 
@@ -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
 
@@ -958,6 +1000,12 @@ module Google
958
1000
  include Google::Apis::Core::JsonObjectSupport
959
1001
  end
960
1002
 
1003
+ class StepResult
1004
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1005
+
1006
+ include Google::Apis::Core::JsonObjectSupport
1007
+ end
1008
+
961
1009
  class StorageSource
962
1010
  class Representation < Google::Apis::Core::JsonRepresentation; end
963
1011
 
@@ -1124,6 +1172,15 @@ module Google
1124
1172
  end
1125
1173
  end
1126
1174
 
1175
+ class BaseImage
1176
+ # @private
1177
+ class Representation < Google::Apis::Core::JsonRepresentation
1178
+ property :layer_count, as: 'layerCount'
1179
+ property :name, as: 'name'
1180
+ property :repository, as: 'repository'
1181
+ end
1182
+ end
1183
+
1127
1184
  class Basis
1128
1185
  # @private
1129
1186
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1225,6 +1282,8 @@ module Google
1225
1282
  property :name, as: 'name'
1226
1283
  property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1alpha1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1alpha1::TimeSpan::Representation
1227
1284
 
1285
+ collection :results, as: 'results', class: Google::Apis::ContaineranalysisV1alpha1::StepResult, decorator: Google::Apis::ContaineranalysisV1alpha1::StepResult::Representation
1286
+
1228
1287
  property :script, as: 'script'
1229
1288
  collection :secret_env, as: 'secretEnv'
1230
1289
  property :status, as: 'status'
@@ -1357,6 +1416,8 @@ module Google
1357
1416
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts
1358
1417
  # @private
1359
1418
  class Representation < Google::Apis::Core::JsonRepresentation
1419
+ collection :go_modules, as: 'goModules', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule::Representation
1420
+
1360
1421
  collection :images, as: 'images'
1361
1422
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact::Representation
1362
1423
 
@@ -1379,6 +1440,18 @@ module Google
1379
1440
  end
1380
1441
  end
1381
1442
 
1443
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule
1444
+ # @private
1445
+ class Representation < Google::Apis::Core::JsonRepresentation
1446
+ property :module_path, as: 'modulePath'
1447
+ property :module_version, as: 'moduleVersion'
1448
+ property :repository_location, as: 'repositoryLocation'
1449
+ property :repository_name, as: 'repositoryName'
1450
+ property :repository_project_id, as: 'repositoryProjectId'
1451
+ property :source_path, as: 'sourcePath'
1452
+ end
1453
+ end
1454
+
1382
1455
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
1383
1456
  # @private
1384
1457
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1417,6 +1490,8 @@ module Google
1417
1490
 
1418
1491
  property :build_trigger_id, as: 'buildTriggerId'
1419
1492
  property :create_time, as: 'createTime'
1493
+ collection :dependencies, as: 'dependencies', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency::Representation
1494
+
1420
1495
  property :failure_info, as: 'failureInfo', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo::Representation
1421
1496
 
1422
1497
  property :finish_time, as: 'finishTime'
@@ -1481,12 +1556,14 @@ module Google
1481
1556
  property :default_logs_bucket_behavior, as: 'defaultLogsBucketBehavior'
1482
1557
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1483
1558
  property :dynamic_substitutions, as: 'dynamicSubstitutions'
1559
+ property :enable_structured_logging, as: 'enableStructuredLogging'
1484
1560
  collection :env, as: 'env'
1485
1561
  property :log_streaming_option, as: 'logStreamingOption'
1486
1562
  property :logging, as: 'logging'
1487
1563
  property :machine_type, as: 'machineType'
1488
1564
  property :pool, as: 'pool', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption::Representation
1489
1565
 
1566
+ property :pubsub_topic, as: 'pubsubTopic'
1490
1567
  property :requested_verify_option, as: 'requestedVerifyOption'
1491
1568
  collection :secret_env, as: 'secretEnv'
1492
1569
  collection :source_provenance_hash, as: 'sourceProvenanceHash'
@@ -1558,6 +1635,35 @@ module Google
1558
1635
  end
1559
1636
  end
1560
1637
 
1638
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency
1639
+ # @private
1640
+ class Representation < Google::Apis::Core::JsonRepresentation
1641
+ property :empty, as: 'empty'
1642
+ property :git_source, as: 'gitSource', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency::Representation
1643
+
1644
+ end
1645
+ end
1646
+
1647
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency
1648
+ # @private
1649
+ class Representation < Google::Apis::Core::JsonRepresentation
1650
+ property :depth, :numeric_string => true, as: 'depth'
1651
+ property :dest_path, as: 'destPath'
1652
+ property :recurse_submodules, as: 'recurseSubmodules'
1653
+ property :repository, as: 'repository', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository::Representation
1654
+
1655
+ property :revision, as: 'revision'
1656
+ end
1657
+ end
1658
+
1659
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
1660
+ # @private
1661
+ class Representation < Google::Apis::Core::JsonRepresentation
1662
+ property :developer_connect, as: 'developerConnect'
1663
+ property :url, as: 'url'
1664
+ end
1665
+ end
1666
+
1561
1667
  class ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig
1562
1668
  # @private
1563
1669
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1637,6 +1743,8 @@ module Google
1637
1743
 
1638
1744
  collection :build_step_images, as: 'buildStepImages'
1639
1745
  collection :build_step_outputs, as: 'buildStepOutputs'
1746
+ collection :go_modules, as: 'goModules', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule::Representation
1747
+
1640
1748
  collection :images, as: 'images', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage::Representation
1641
1749
 
1642
1750
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact::Representation
@@ -1738,6 +1846,17 @@ module Google
1738
1846
  end
1739
1847
  end
1740
1848
 
1849
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule
1850
+ # @private
1851
+ class Representation < Google::Apis::Core::JsonRepresentation
1852
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::Representation
1853
+
1854
+ property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1855
+
1856
+ property :uri, as: 'uri'
1857
+ end
1858
+ end
1859
+
1741
1860
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact
1742
1861
  # @private
1743
1862
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1995,6 +2114,8 @@ module Google
1995
2114
  # @private
1996
2115
  class Representation < Google::Apis::Core::JsonRepresentation
1997
2116
  property :file_path, as: 'filePath'
2117
+ property :layer_details, as: 'layerDetails', class: Google::Apis::ContaineranalysisV1alpha1::LayerDetails, decorator: Google::Apis::ContaineranalysisV1alpha1::LayerDetails::Representation
2118
+
1998
2119
  end
1999
2120
  end
2000
2121
 
@@ -2274,6 +2395,17 @@ module Google
2274
2395
  end
2275
2396
  end
2276
2397
 
2398
+ class LayerDetails
2399
+ # @private
2400
+ class Representation < Google::Apis::Core::JsonRepresentation
2401
+ collection :base_images, as: 'baseImages', class: Google::Apis::ContaineranalysisV1alpha1::BaseImage, decorator: Google::Apis::ContaineranalysisV1alpha1::BaseImage::Representation
2402
+
2403
+ property :command, as: 'command'
2404
+ property :diff_id, as: 'diffId'
2405
+ property :index, as: 'index'
2406
+ end
2407
+ end
2408
+
2277
2409
  class License
2278
2410
  # @private
2279
2411
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2861,6 +2993,15 @@ module Google
2861
2993
  end
2862
2994
  end
2863
2995
 
2996
+ class StepResult
2997
+ # @private
2998
+ class Representation < Google::Apis::Core::JsonRepresentation
2999
+ property :attestation_content_name, as: 'attestationContentName'
3000
+ property :attestation_type, as: 'attestationType'
3001
+ property :name, as: 'name'
3002
+ end
3003
+ end
3004
+
2864
3005
  class StorageSource
2865
3006
  # @private
2866
3007
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.66.0
4
+ version: 0.68.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-07-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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.66.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.68.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
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 V1alpha1
82
79
  test_files: []