google-apis-containeranalysis_v1beta1 0.41.0 → 0.42.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: 7a07b9f2933c45d6c3794a1245a901d305c295f3119b28a1a18ea17674f73b6f
|
4
|
+
data.tar.gz: 51afb1e08e76fb4271630c78b7560ecc4215b2a34e9948b32a936a10b0e3ed57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: add45b53fac612d1aef1d073ac40e9249128a4ebc2b0ef7787c1dff865836f5b913d276081741b264442de6764bd11e16ec01a3c1d16140725d22dac8ac5edae
|
7
|
+
data.tar.gz: 3b4e24bd8bd596c71712c7fb756aeb531e59a9914b69579d1d62d469db4c47203a8bc44ed14d2d8ac0ffb1699008a13ecf405bd0be2ab691a4a5c25ac2b322b7
|
data/CHANGELOG.md
CHANGED
@@ -2998,6 +2998,11 @@ module Google
|
|
2998
2998
|
# @return [String]
|
2999
2999
|
attr_accessor :last_analysis_time
|
3000
3000
|
|
3001
|
+
# The status of an SBOM generation.
|
3002
|
+
# Corresponds to the JSON property `sbomStatus`
|
3003
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::SbomStatus]
|
3004
|
+
attr_accessor :sbom_status
|
3005
|
+
|
3001
3006
|
def initialize(**args)
|
3002
3007
|
update!(**args)
|
3003
3008
|
end
|
@@ -3010,6 +3015,7 @@ module Google
|
|
3010
3015
|
@analysis_status_error = args[:analysis_status_error] if args.key?(:analysis_status_error)
|
3011
3016
|
@continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
|
3012
3017
|
@last_analysis_time = args[:last_analysis_time] if args.key?(:last_analysis_time)
|
3018
|
+
@sbom_status = args[:sbom_status] if args.key?(:sbom_status)
|
3013
3019
|
end
|
3014
3020
|
end
|
3015
3021
|
|
@@ -3304,8 +3310,9 @@ module Google
|
|
3304
3310
|
class ExportSbomResponse
|
3305
3311
|
include Google::Apis::Core::Hashable
|
3306
3312
|
|
3307
|
-
# The
|
3308
|
-
#
|
3313
|
+
# The name of the discovery occurrence in the form "projects/`project_id`/
|
3314
|
+
# occurrences/`OCCURRENCE_ID` It can be used to track the progression of the
|
3315
|
+
# SBOM export.
|
3309
3316
|
# Corresponds to the JSON property `discoveryOccurrenceId`
|
3310
3317
|
# @return [String]
|
3311
3318
|
attr_accessor :discovery_occurrence_id
|
@@ -3808,9 +3815,7 @@ module Google
|
|
3808
3815
|
class GrafeasV1beta1BuildDetails
|
3809
3816
|
include Google::Apis::Core::Hashable
|
3810
3817
|
|
3811
|
-
#
|
3812
|
-
# docs/provenance/schema/v1/provenance.proto Builder renamed to
|
3813
|
-
# ProvenanceBuilder because of Java conflicts.
|
3818
|
+
#
|
3814
3819
|
# Corresponds to the JSON property `inTotoSlsaProvenanceV1`
|
3815
3820
|
# @return [Google::Apis::ContaineranalysisV1beta1::InTotoSlsaProvenanceV1]
|
3816
3821
|
attr_accessor :in_toto_slsa_provenance_v1
|
@@ -4209,21 +4214,32 @@ module Google
|
|
4209
4214
|
end
|
4210
4215
|
end
|
4211
4216
|
|
4212
|
-
#
|
4213
|
-
# docs/provenance/schema/v1/provenance.proto Builder renamed to
|
4214
|
-
# ProvenanceBuilder because of Java conflicts.
|
4217
|
+
#
|
4215
4218
|
class InTotoSlsaProvenanceV1
|
4216
4219
|
include Google::Apis::Core::Hashable
|
4217
4220
|
|
4221
|
+
# InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
4222
|
+
# statement
|
4223
|
+
# Corresponds to the JSON property `_type`
|
4224
|
+
# @return [String]
|
4225
|
+
attr_accessor :_type
|
4226
|
+
|
4227
|
+
# Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
|
4228
|
+
# docs/provenance/schema/v1/provenance.proto Builder renamed to
|
4229
|
+
# ProvenanceBuilder because of Java conflicts.
|
4230
|
+
# Corresponds to the JSON property `predicate`
|
4231
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::SlsaProvenanceV1]
|
4232
|
+
attr_accessor :predicate
|
4233
|
+
|
4218
4234
|
#
|
4219
|
-
# Corresponds to the JSON property `
|
4220
|
-
# @return [
|
4221
|
-
attr_accessor :
|
4235
|
+
# Corresponds to the JSON property `predicateType`
|
4236
|
+
# @return [String]
|
4237
|
+
attr_accessor :predicate_type
|
4222
4238
|
|
4223
4239
|
#
|
4224
|
-
# Corresponds to the JSON property `
|
4225
|
-
# @return [Google::Apis::ContaineranalysisV1beta1::
|
4226
|
-
attr_accessor :
|
4240
|
+
# Corresponds to the JSON property `subject`
|
4241
|
+
# @return [Array<Google::Apis::ContaineranalysisV1beta1::Subject>]
|
4242
|
+
attr_accessor :subject
|
4227
4243
|
|
4228
4244
|
def initialize(**args)
|
4229
4245
|
update!(**args)
|
@@ -4231,8 +4247,10 @@ module Google
|
|
4231
4247
|
|
4232
4248
|
# Update properties of this object
|
4233
4249
|
def update!(**args)
|
4234
|
-
@
|
4235
|
-
@
|
4250
|
+
@_type = args[:_type] if args.key?(:_type)
|
4251
|
+
@predicate = args[:predicate] if args.key?(:predicate)
|
4252
|
+
@predicate_type = args[:predicate_type] if args.key?(:predicate_type)
|
4253
|
+
@subject = args[:subject] if args.key?(:subject)
|
4236
4254
|
end
|
4237
4255
|
end
|
4238
4256
|
|
@@ -5882,6 +5900,32 @@ module Google
|
|
5882
5900
|
end
|
5883
5901
|
end
|
5884
5902
|
|
5903
|
+
# The status of an SBOM generation.
|
5904
|
+
class SbomStatus
|
5905
|
+
include Google::Apis::Core::Hashable
|
5906
|
+
|
5907
|
+
# If there was an error generating an SBOM, this will indicate what that error
|
5908
|
+
# was.
|
5909
|
+
# Corresponds to the JSON property `error`
|
5910
|
+
# @return [String]
|
5911
|
+
attr_accessor :error
|
5912
|
+
|
5913
|
+
# The progress of the SBOM generation.
|
5914
|
+
# Corresponds to the JSON property `sbomState`
|
5915
|
+
# @return [String]
|
5916
|
+
attr_accessor :sbom_state
|
5917
|
+
|
5918
|
+
def initialize(**args)
|
5919
|
+
update!(**args)
|
5920
|
+
end
|
5921
|
+
|
5922
|
+
# Update properties of this object
|
5923
|
+
def update!(**args)
|
5924
|
+
@error = args[:error] if args.key?(:error)
|
5925
|
+
@sbom_state = args[:sbom_state] if args.key?(:sbom_state)
|
5926
|
+
end
|
5927
|
+
end
|
5928
|
+
|
5885
5929
|
# The actual payload that contains the SBOM Reference data. The payload follows
|
5886
5930
|
# the intoto statement specification. See https://github.com/in-toto/attestation/
|
5887
5931
|
# blob/main/spec/v1.0/statement.md for more details.
|
@@ -6104,6 +6148,33 @@ module Google
|
|
6104
6148
|
end
|
6105
6149
|
end
|
6106
6150
|
|
6151
|
+
# Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
|
6152
|
+
# docs/provenance/schema/v1/provenance.proto Builder renamed to
|
6153
|
+
# ProvenanceBuilder because of Java conflicts.
|
6154
|
+
class SlsaProvenanceV1
|
6155
|
+
include Google::Apis::Core::Hashable
|
6156
|
+
|
6157
|
+
#
|
6158
|
+
# Corresponds to the JSON property `buildDefinition`
|
6159
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::BuildDefinition]
|
6160
|
+
attr_accessor :build_definition
|
6161
|
+
|
6162
|
+
#
|
6163
|
+
# Corresponds to the JSON property `runDetails`
|
6164
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::RunDetails]
|
6165
|
+
attr_accessor :run_details
|
6166
|
+
|
6167
|
+
def initialize(**args)
|
6168
|
+
update!(**args)
|
6169
|
+
end
|
6170
|
+
|
6171
|
+
# Update properties of this object
|
6172
|
+
def update!(**args)
|
6173
|
+
@build_definition = args[:build_definition] if args.key?(:build_definition)
|
6174
|
+
@run_details = args[:run_details] if args.key?(:run_details)
|
6175
|
+
end
|
6176
|
+
end
|
6177
|
+
|
6107
6178
|
# Source describes the location of the source used for the build.
|
6108
6179
|
class Source
|
6109
6180
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContaineranalysisV1beta1
|
18
18
|
# Version of the google-apis-containeranalysis_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.42.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230707"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -838,6 +838,12 @@ module Google
|
|
838
838
|
include Google::Apis::Core::JsonObjectSupport
|
839
839
|
end
|
840
840
|
|
841
|
+
class SbomStatus
|
842
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
843
|
+
|
844
|
+
include Google::Apis::Core::JsonObjectSupport
|
845
|
+
end
|
846
|
+
|
841
847
|
class SbomReferenceIntotoPayload
|
842
848
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
843
849
|
|
@@ -868,6 +874,12 @@ module Google
|
|
868
874
|
include Google::Apis::Core::JsonObjectSupport
|
869
875
|
end
|
870
876
|
|
877
|
+
class SlsaProvenanceV1
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
|
+
|
880
|
+
include Google::Apis::Core::JsonObjectSupport
|
881
|
+
end
|
882
|
+
|
871
883
|
class Source
|
872
884
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
885
|
|
@@ -1712,6 +1724,8 @@ module Google
|
|
1712
1724
|
|
1713
1725
|
property :continuous_analysis, as: 'continuousAnalysis'
|
1714
1726
|
property :last_analysis_time, as: 'lastAnalysisTime'
|
1727
|
+
property :sbom_status, as: 'sbomStatus', class: Google::Apis::ContaineranalysisV1beta1::SbomStatus, decorator: Google::Apis::ContaineranalysisV1beta1::SbomStatus::Representation
|
1728
|
+
|
1715
1729
|
end
|
1716
1730
|
end
|
1717
1731
|
|
@@ -2058,9 +2072,11 @@ module Google
|
|
2058
2072
|
class InTotoSlsaProvenanceV1
|
2059
2073
|
# @private
|
2060
2074
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2061
|
-
property :
|
2075
|
+
property :_type, as: '_type'
|
2076
|
+
property :predicate, as: 'predicate', class: Google::Apis::ContaineranalysisV1beta1::SlsaProvenanceV1, decorator: Google::Apis::ContaineranalysisV1beta1::SlsaProvenanceV1::Representation
|
2062
2077
|
|
2063
|
-
property :
|
2078
|
+
property :predicate_type, as: 'predicateType'
|
2079
|
+
collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1beta1::Subject, decorator: Google::Apis::ContaineranalysisV1beta1::Subject::Representation
|
2064
2080
|
|
2065
2081
|
end
|
2066
2082
|
end
|
@@ -2497,6 +2513,14 @@ module Google
|
|
2497
2513
|
end
|
2498
2514
|
end
|
2499
2515
|
|
2516
|
+
class SbomStatus
|
2517
|
+
# @private
|
2518
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2519
|
+
property :error, as: 'error'
|
2520
|
+
property :sbom_state, as: 'sbomState'
|
2521
|
+
end
|
2522
|
+
end
|
2523
|
+
|
2500
2524
|
class SbomReferenceIntotoPayload
|
2501
2525
|
# @private
|
2502
2526
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2545,6 +2569,16 @@ module Google
|
|
2545
2569
|
end
|
2546
2570
|
end
|
2547
2571
|
|
2572
|
+
class SlsaProvenanceV1
|
2573
|
+
# @private
|
2574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2575
|
+
property :build_definition, as: 'buildDefinition', class: Google::Apis::ContaineranalysisV1beta1::BuildDefinition, decorator: Google::Apis::ContaineranalysisV1beta1::BuildDefinition::Representation
|
2576
|
+
|
2577
|
+
property :run_details, as: 'runDetails', class: Google::Apis::ContaineranalysisV1beta1::RunDetails, decorator: Google::Apis::ContaineranalysisV1beta1::RunDetails::Representation
|
2578
|
+
|
2579
|
+
end
|
2580
|
+
end
|
2581
|
+
|
2548
2582
|
class Source
|
2549
2583
|
# @private
|
2550
2584
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-containeranalysis_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.42.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.42.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|