google-apis-containeranalysis_v1alpha1 0.67.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c0ff2bcd8432e901bdac0c81e704a8cac7653177df7ccfcc04f721004c1709f
|
4
|
+
data.tar.gz: 21b303a46c2055c4d2a1a1213140521ec6b349908c90ef347526bbc8a8fddc1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d895a8ffbbf11309b1b8c2f204b55d2d1344aeb0e11f137648a80e165a6c88ea5d6e625f9e58827ace18ccdf49c428c44e7dd291621e73d687498314e9f669a
|
7
|
+
data.tar.gz: eabec8f4bc4dd7fd541d559a7efcbacd1a44ef0472cb0916bf410dadd0fb986aa37e1f9b70b487c7cacd8ab99bd881c5b3cac1610036ecf0a37210580fdd19ee
|
data/CHANGELOG.md
CHANGED
@@ -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:
|
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)
|
@@ -3955,6 +3992,11 @@ module Google
|
|
3955
3992
|
# @return [String]
|
3956
3993
|
attr_accessor :file_path
|
3957
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
|
+
|
3958
4000
|
def initialize(**args)
|
3959
4001
|
update!(**args)
|
3960
4002
|
end
|
@@ -3962,6 +4004,7 @@ module Google
|
|
3962
4004
|
# Update properties of this object
|
3963
4005
|
def update!(**args)
|
3964
4006
|
@file_path = args[:file_path] if args.key?(:file_path)
|
4007
|
+
@layer_details = args[:layer_details] if args.key?(:layer_details)
|
3965
4008
|
end
|
3966
4009
|
end
|
3967
4010
|
|
@@ -4903,6 +4946,44 @@ module Google
|
|
4903
4946
|
end
|
4904
4947
|
end
|
4905
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
|
+
|
4906
4987
|
# License information.
|
4907
4988
|
class License
|
4908
4989
|
include Google::Apis::Core::Hashable
|
@@ -7200,6 +7281,37 @@ module Google
|
|
7200
7281
|
end
|
7201
7282
|
end
|
7202
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
|
+
|
7203
7315
|
# StorageSource describes the location of the source in an archive file in
|
7204
7316
|
# Google Cloud Storage.
|
7205
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.
|
19
|
+
GEM_VERSION = "0.68.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
|
@@ -706,6 +712,12 @@ module Google
|
|
706
712
|
include Google::Apis::Core::JsonObjectSupport
|
707
713
|
end
|
708
714
|
|
715
|
+
class LayerDetails
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
|
+
|
718
|
+
include Google::Apis::Core::JsonObjectSupport
|
719
|
+
end
|
720
|
+
|
709
721
|
class License
|
710
722
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
723
|
|
@@ -988,6 +1000,12 @@ module Google
|
|
988
1000
|
include Google::Apis::Core::JsonObjectSupport
|
989
1001
|
end
|
990
1002
|
|
1003
|
+
class StepResult
|
1004
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1005
|
+
|
1006
|
+
include Google::Apis::Core::JsonObjectSupport
|
1007
|
+
end
|
1008
|
+
|
991
1009
|
class StorageSource
|
992
1010
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
993
1011
|
|
@@ -1154,6 +1172,15 @@ module Google
|
|
1154
1172
|
end
|
1155
1173
|
end
|
1156
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
|
+
|
1157
1184
|
class Basis
|
1158
1185
|
# @private
|
1159
1186
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1255,6 +1282,8 @@ module Google
|
|
1255
1282
|
property :name, as: 'name'
|
1256
1283
|
property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1alpha1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1alpha1::TimeSpan::Representation
|
1257
1284
|
|
1285
|
+
collection :results, as: 'results', class: Google::Apis::ContaineranalysisV1alpha1::StepResult, decorator: Google::Apis::ContaineranalysisV1alpha1::StepResult::Representation
|
1286
|
+
|
1258
1287
|
property :script, as: 'script'
|
1259
1288
|
collection :secret_env, as: 'secretEnv'
|
1260
1289
|
property :status, as: 'status'
|
@@ -2085,6 +2114,8 @@ module Google
|
|
2085
2114
|
# @private
|
2086
2115
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2087
2116
|
property :file_path, as: 'filePath'
|
2117
|
+
property :layer_details, as: 'layerDetails', class: Google::Apis::ContaineranalysisV1alpha1::LayerDetails, decorator: Google::Apis::ContaineranalysisV1alpha1::LayerDetails::Representation
|
2118
|
+
|
2088
2119
|
end
|
2089
2120
|
end
|
2090
2121
|
|
@@ -2364,6 +2395,17 @@ module Google
|
|
2364
2395
|
end
|
2365
2396
|
end
|
2366
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
|
+
|
2367
2409
|
class License
|
2368
2410
|
# @private
|
2369
2411
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2951,6 +2993,15 @@ module Google
|
|
2951
2993
|
end
|
2952
2994
|
end
|
2953
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
|
+
|
2954
3005
|
class StorageSource
|
2955
3006
|
# @private
|
2956
3007
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,13 +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.
|
4
|
+
version: 0.68.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-16 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.68.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|