google-apis-containeranalysis_v1 0.34.0 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efa76aa563e14153f4bbef1084dca980c5d9db761dfe60b39655f2ffdda9c197
|
4
|
+
data.tar.gz: 31190ed35feb53d2643da79d084d5115ac349e265d9ffafafa80987ce285cf39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e578890c7f4168df4060c208805c543a6af84ad9fa9c6eedd6213dec28996c6e734478a5ee0ee60ff88c9e450b158144591c79562942b0f45c694270888ba59
|
7
|
+
data.tar.gz: df4dd53ee079f741c98765c980c7a521fcfb1ab249acf6378c0ea5aa138653eb73c5960bbb91546b66907b8562b04200d5e5ef25a3c5fcd33a1b20d91768643f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1
|
2
2
|
|
3
|
+
### v0.36.0 (2023-07-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230707
|
6
|
+
|
7
|
+
### v0.35.0 (2023-05-28)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230519
|
10
|
+
|
3
11
|
### v0.34.0 (2023-05-14)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230505
|
@@ -1544,7 +1544,7 @@ module Google
|
|
1544
1544
|
# @return [String]
|
1545
1545
|
attr_accessor :log_url
|
1546
1546
|
|
1547
|
-
#
|
1547
|
+
# Cloud Storage bucket where logs should be written (see [Bucket Name
|
1548
1548
|
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
1549
1549
|
# ). Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`.
|
1550
1550
|
# Corresponds to the JSON property `logsBucket`
|
@@ -1790,7 +1790,7 @@ module Google
|
|
1790
1790
|
# @return [Array<String>]
|
1791
1791
|
attr_accessor :env
|
1792
1792
|
|
1793
|
-
# Option to define build log streaming behavior to
|
1793
|
+
# Option to define build log streaming behavior to Cloud Storage.
|
1794
1794
|
# Corresponds to the JSON property `logStreamingOption`
|
1795
1795
|
# @return [String]
|
1796
1796
|
attr_accessor :log_streaming_option
|
@@ -2470,14 +2470,14 @@ module Google
|
|
2470
2470
|
# @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource]
|
2471
2471
|
attr_accessor :repo_source
|
2472
2472
|
|
2473
|
-
# Location of the source in an archive file in
|
2473
|
+
# Location of the source in an archive file in Cloud Storage.
|
2474
2474
|
# Corresponds to the JSON property `storageSource`
|
2475
2475
|
# @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource]
|
2476
2476
|
attr_accessor :storage_source
|
2477
2477
|
|
2478
|
-
# Location of the source manifest in
|
2479
|
-
#
|
2480
|
-
#
|
2478
|
+
# Location of the source manifest in Cloud Storage. This feature is in Preview;
|
2479
|
+
# see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/
|
2480
|
+
# tree/master/gcs-fetcher).
|
2481
2481
|
# Corresponds to the JSON property `storageSourceManifest`
|
2482
2482
|
# @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest]
|
2483
2483
|
attr_accessor :storage_source_manifest
|
@@ -2516,14 +2516,14 @@ module Google
|
|
2516
2516
|
# @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource]
|
2517
2517
|
attr_accessor :resolved_repo_source
|
2518
2518
|
|
2519
|
-
# Location of the source in an archive file in
|
2519
|
+
# Location of the source in an archive file in Cloud Storage.
|
2520
2520
|
# Corresponds to the JSON property `resolvedStorageSource`
|
2521
2521
|
# @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource]
|
2522
2522
|
attr_accessor :resolved_storage_source
|
2523
2523
|
|
2524
|
-
# Location of the source manifest in
|
2525
|
-
#
|
2526
|
-
#
|
2524
|
+
# Location of the source manifest in Cloud Storage. This feature is in Preview;
|
2525
|
+
# see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/
|
2526
|
+
# tree/master/gcs-fetcher).
|
2527
2527
|
# Corresponds to the JSON property `resolvedStorageSourceManifest`
|
2528
2528
|
# @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest]
|
2529
2529
|
attr_accessor :resolved_storage_source_manifest
|
@@ -2541,25 +2541,24 @@ module Google
|
|
2541
2541
|
end
|
2542
2542
|
end
|
2543
2543
|
|
2544
|
-
# Location of the source in an archive file in
|
2544
|
+
# Location of the source in an archive file in Cloud Storage.
|
2545
2545
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource
|
2546
2546
|
include Google::Apis::Core::Hashable
|
2547
2547
|
|
2548
|
-
#
|
2549
|
-
#
|
2550
|
-
# ).
|
2548
|
+
# Cloud Storage bucket containing the source (see [Bucket Name Requirements](
|
2549
|
+
# https://cloud.google.com/storage/docs/bucket-naming#requirements)).
|
2551
2550
|
# Corresponds to the JSON property `bucket`
|
2552
2551
|
# @return [String]
|
2553
2552
|
attr_accessor :bucket
|
2554
2553
|
|
2555
|
-
#
|
2556
|
-
#
|
2554
|
+
# Cloud Storage generation for the object. If the generation is omitted, the
|
2555
|
+
# latest generation will be used.
|
2557
2556
|
# Corresponds to the JSON property `generation`
|
2558
2557
|
# @return [Fixnum]
|
2559
2558
|
attr_accessor :generation
|
2560
2559
|
|
2561
|
-
#
|
2562
|
-
#
|
2560
|
+
# Cloud Storage object containing the source. This object must be a zipped (`.
|
2561
|
+
# zip`) or gzipped archive file (`.tar.gz`) containing source to build.
|
2563
2562
|
# Corresponds to the JSON property `object`
|
2564
2563
|
# @return [String]
|
2565
2564
|
attr_accessor :object
|
@@ -2576,27 +2575,27 @@ module Google
|
|
2576
2575
|
end
|
2577
2576
|
end
|
2578
2577
|
|
2579
|
-
# Location of the source manifest in
|
2580
|
-
#
|
2581
|
-
#
|
2578
|
+
# Location of the source manifest in Cloud Storage. This feature is in Preview;
|
2579
|
+
# see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/
|
2580
|
+
# tree/master/gcs-fetcher).
|
2582
2581
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest
|
2583
2582
|
include Google::Apis::Core::Hashable
|
2584
2583
|
|
2585
|
-
#
|
2584
|
+
# Cloud Storage bucket containing the source manifest (see [Bucket Name
|
2586
2585
|
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
2587
2586
|
# ).
|
2588
2587
|
# Corresponds to the JSON property `bucket`
|
2589
2588
|
# @return [String]
|
2590
2589
|
attr_accessor :bucket
|
2591
2590
|
|
2592
|
-
#
|
2593
|
-
#
|
2591
|
+
# Cloud Storage generation for the object. If the generation is omitted, the
|
2592
|
+
# latest generation will be used.
|
2594
2593
|
# Corresponds to the JSON property `generation`
|
2595
2594
|
# @return [Fixnum]
|
2596
2595
|
attr_accessor :generation
|
2597
2596
|
|
2598
|
-
#
|
2599
|
-
#
|
2597
|
+
# Cloud Storage object containing the source manifest. This object must be a
|
2598
|
+
# JSON file.
|
2600
2599
|
# Corresponds to the JSON property `object`
|
2601
2600
|
# @return [String]
|
2602
2601
|
attr_accessor :object
|
@@ -3124,6 +3123,11 @@ module Google
|
|
3124
3123
|
# @return [String]
|
3125
3124
|
attr_accessor :last_scan_time
|
3126
3125
|
|
3126
|
+
# The status of an SBOM generation.
|
3127
|
+
# Corresponds to the JSON property `sbomStatus`
|
3128
|
+
# @return [Google::Apis::ContaineranalysisV1::SbomStatus]
|
3129
|
+
attr_accessor :sbom_status
|
3130
|
+
|
3127
3131
|
def initialize(**args)
|
3128
3132
|
update!(**args)
|
3129
3133
|
end
|
@@ -3138,6 +3142,7 @@ module Google
|
|
3138
3142
|
@continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
|
3139
3143
|
@cpe = args[:cpe] if args.key?(:cpe)
|
3140
3144
|
@last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
|
3145
|
+
@sbom_status = args[:sbom_status] if args.key?(:sbom_status)
|
3141
3146
|
end
|
3142
3147
|
end
|
3143
3148
|
|
@@ -5262,6 +5267,32 @@ module Google
|
|
5262
5267
|
end
|
5263
5268
|
end
|
5264
5269
|
|
5270
|
+
# The status of an SBOM generation.
|
5271
|
+
class SbomStatus
|
5272
|
+
include Google::Apis::Core::Hashable
|
5273
|
+
|
5274
|
+
# If there was an error generating an SBOM, this will indicate what that error
|
5275
|
+
# was.
|
5276
|
+
# Corresponds to the JSON property `error`
|
5277
|
+
# @return [String]
|
5278
|
+
attr_accessor :error
|
5279
|
+
|
5280
|
+
# The progress of the SBOM generation.
|
5281
|
+
# Corresponds to the JSON property `sbomState`
|
5282
|
+
# @return [String]
|
5283
|
+
attr_accessor :sbom_state
|
5284
|
+
|
5285
|
+
def initialize(**args)
|
5286
|
+
update!(**args)
|
5287
|
+
end
|
5288
|
+
|
5289
|
+
# Update properties of this object
|
5290
|
+
def update!(**args)
|
5291
|
+
@error = args[:error] if args.key?(:error)
|
5292
|
+
@sbom_state = args[:sbom_state] if args.key?(:sbom_state)
|
5293
|
+
end
|
5294
|
+
end
|
5295
|
+
|
5265
5296
|
# The actual payload that contains the SBOM Reference data. The payload follows
|
5266
5297
|
# the intoto statement specification. See https://github.com/in-toto/attestation/
|
5267
5298
|
# blob/main/spec/v1.0/statement.md for more details.
|
@@ -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.36.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
|
@@ -754,6 +754,12 @@ module Google
|
|
754
754
|
include Google::Apis::Core::JsonObjectSupport
|
755
755
|
end
|
756
756
|
|
757
|
+
class SbomStatus
|
758
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
759
|
+
|
760
|
+
include Google::Apis::Core::JsonObjectSupport
|
761
|
+
end
|
762
|
+
|
757
763
|
class SbomReferenceIntotoPayload
|
758
764
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
759
765
|
|
@@ -1715,6 +1721,8 @@ module Google
|
|
1715
1721
|
property :continuous_analysis, as: 'continuousAnalysis'
|
1716
1722
|
property :cpe, as: 'cpe'
|
1717
1723
|
property :last_scan_time, as: 'lastScanTime'
|
1724
|
+
property :sbom_status, as: 'sbomStatus', class: Google::Apis::ContaineranalysisV1::SbomStatus, decorator: Google::Apis::ContaineranalysisV1::SbomStatus::Representation
|
1725
|
+
|
1718
1726
|
end
|
1719
1727
|
end
|
1720
1728
|
|
@@ -2300,6 +2308,14 @@ module Google
|
|
2300
2308
|
end
|
2301
2309
|
end
|
2302
2310
|
|
2311
|
+
class SbomStatus
|
2312
|
+
# @private
|
2313
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2314
|
+
property :error, as: 'error'
|
2315
|
+
property :sbom_state, as: 'sbomState'
|
2316
|
+
end
|
2317
|
+
end
|
2318
|
+
|
2303
2319
|
class SbomReferenceIntotoPayload
|
2304
2320
|
# @private
|
2305
2321
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.36.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-
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.36.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|