google-apis-containeranalysis_v1 0.56.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a1d73eb4300b43c0dfa52ea2e2e76a2910a4684b158942ecdc3c14554f6cc97
|
4
|
+
data.tar.gz: 87bcb1f7f46ea18b82abd4be47c603fa1ae1783085dfd73f34a050281f7e9511
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61e080ef1c1205d7759065d3a3faac99dbd4f1f2b712874f7a2f45d1262659040d949c6e5c378d53ab51a6a0be931cf262f8556d933bef0b9e33f9b1e435a398
|
7
|
+
data.tar.gz: a6c80d69227709ff5703fd72e93f129ea266e4c9a52fb17610c31175b9ffb220fbf2e2243015d73462ea1f86a988b33da7e8ba08992aff54adbcb195f51b0623
|
data/CHANGELOG.md
CHANGED
@@ -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:
|
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)
|
@@ -4138,6 +4175,11 @@ module Google
|
|
4138
4175
|
# @return [String]
|
4139
4176
|
attr_accessor :file_path
|
4140
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
|
+
|
4141
4183
|
def initialize(**args)
|
4142
4184
|
update!(**args)
|
4143
4185
|
end
|
@@ -4145,6 +4187,7 @@ module Google
|
|
4145
4187
|
# Update properties of this object
|
4146
4188
|
def update!(**args)
|
4147
4189
|
@file_path = args[:file_path] if args.key?(:file_path)
|
4190
|
+
@layer_details = args[:layer_details] if args.key?(:layer_details)
|
4148
4191
|
end
|
4149
4192
|
end
|
4150
4193
|
|
@@ -4714,6 +4757,44 @@ module Google
|
|
4714
4757
|
end
|
4715
4758
|
end
|
4716
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
|
+
|
4717
4798
|
# License information.
|
4718
4799
|
class License
|
4719
4800
|
include Google::Apis::Core::Hashable
|
@@ -6605,6 +6686,37 @@ module Google
|
|
6605
6686
|
end
|
6606
6687
|
end
|
6607
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
|
+
|
6608
6720
|
#
|
6609
6721
|
class Subject
|
6610
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.
|
19
|
+
GEM_VERSION = "0.57.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 BatchCreateNotesRequest
|
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
|
|
@@ -952,6 +964,12 @@ module Google
|
|
952
964
|
include Google::Apis::Core::JsonObjectSupport
|
953
965
|
end
|
954
966
|
|
967
|
+
class StepResult
|
968
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
969
|
+
|
970
|
+
include Google::Apis::Core::JsonObjectSupport
|
971
|
+
end
|
972
|
+
|
955
973
|
class Subject
|
956
974
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
957
975
|
|
@@ -1109,6 +1127,15 @@ module Google
|
|
1109
1127
|
end
|
1110
1128
|
end
|
1111
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
|
+
|
1112
1139
|
class BatchCreateNotesRequest
|
1113
1140
|
# @private
|
1114
1141
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1230,6 +1257,8 @@ module Google
|
|
1230
1257
|
property :name, as: 'name'
|
1231
1258
|
property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1::TimeSpan::Representation
|
1232
1259
|
|
1260
|
+
collection :results, as: 'results', class: Google::Apis::ContaineranalysisV1::StepResult, decorator: Google::Apis::ContaineranalysisV1::StepResult::Representation
|
1261
|
+
|
1233
1262
|
property :script, as: 'script'
|
1234
1263
|
collection :secret_env, as: 'secretEnv'
|
1235
1264
|
property :status, as: 'status'
|
@@ -2114,6 +2143,8 @@ module Google
|
|
2114
2143
|
# @private
|
2115
2144
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2116
2145
|
property :file_path, as: 'filePath'
|
2146
|
+
property :layer_details, as: 'layerDetails', class: Google::Apis::ContaineranalysisV1::LayerDetails, decorator: Google::Apis::ContaineranalysisV1::LayerDetails::Representation
|
2147
|
+
|
2117
2148
|
end
|
2118
2149
|
end
|
2119
2150
|
|
@@ -2288,6 +2319,17 @@ module Google
|
|
2288
2319
|
end
|
2289
2320
|
end
|
2290
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
|
+
|
2291
2333
|
class License
|
2292
2334
|
# @private
|
2293
2335
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2783,6 +2825,15 @@ module Google
|
|
2783
2825
|
end
|
2784
2826
|
end
|
2785
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
|
+
|
2786
2837
|
class Subject
|
2787
2838
|
# @private
|
2788
2839
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,13 +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.
|
4
|
+
version: 0.57.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_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.57.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|