google-apis-ondemandscanning_v1 0.49.0 → 0.50.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: 0e9967aaff4d0c4dffda8a018cb16137892114eb197d9bdf19d953474ab51e15
|
4
|
+
data.tar.gz: 928ea79ca434070502f036265e1db01381712eba26aeaa8467f87301a798ed1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11a2e1b3b8e847ba65d8eb008bf56041737780b79de1c45fa616a0eed07e5376310988914ae7108f9456a5ead1263cc81545c9164c48ab6233b47478affff44c
|
7
|
+
data.tar.gz: 7e068e0af90462bfd55650be94b6cceab867c9829859b859e99eb200596955158958b2935ead77d602178343ebe1035160f79d2b77ef65c6095ee8022deb6371
|
data/CHANGELOG.md
CHANGED
@@ -992,6 +992,11 @@ module Google
|
|
992
992
|
# @return [Google::Apis::OndemandscanningV1::SbomStatus]
|
993
993
|
attr_accessor :sbom_status
|
994
994
|
|
995
|
+
# The status of an vulnerability attestation generation.
|
996
|
+
# Corresponds to the JSON property `vulnerabilityAttestation`
|
997
|
+
# @return [Google::Apis::OndemandscanningV1::VulnerabilityAttestation]
|
998
|
+
attr_accessor :vulnerability_attestation
|
999
|
+
|
995
1000
|
def initialize(**args)
|
996
1001
|
update!(**args)
|
997
1002
|
end
|
@@ -1007,6 +1012,7 @@ module Google
|
|
1007
1012
|
@cpe = args[:cpe] if args.key?(:cpe)
|
1008
1013
|
@last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
|
1009
1014
|
@sbom_status = args[:sbom_status] if args.key?(:sbom_status)
|
1015
|
+
@vulnerability_attestation = args[:vulnerability_attestation] if args.key?(:vulnerability_attestation)
|
1010
1016
|
end
|
1011
1017
|
end
|
1012
1018
|
|
@@ -3649,6 +3655,37 @@ module Google
|
|
3649
3655
|
end
|
3650
3656
|
end
|
3651
3657
|
|
3658
|
+
# The status of an vulnerability attestation generation.
|
3659
|
+
class VulnerabilityAttestation
|
3660
|
+
include Google::Apis::Core::Hashable
|
3661
|
+
|
3662
|
+
# If failure, the error reason for why the attestation generation failed.
|
3663
|
+
# Corresponds to the JSON property `error`
|
3664
|
+
# @return [String]
|
3665
|
+
attr_accessor :error
|
3666
|
+
|
3667
|
+
# The last time we attempted to generate an attestation.
|
3668
|
+
# Corresponds to the JSON property `lastAttemptTime`
|
3669
|
+
# @return [String]
|
3670
|
+
attr_accessor :last_attempt_time
|
3671
|
+
|
3672
|
+
# The success/failure state of the latest attestation attempt.
|
3673
|
+
# Corresponds to the JSON property `state`
|
3674
|
+
# @return [String]
|
3675
|
+
attr_accessor :state
|
3676
|
+
|
3677
|
+
def initialize(**args)
|
3678
|
+
update!(**args)
|
3679
|
+
end
|
3680
|
+
|
3681
|
+
# Update properties of this object
|
3682
|
+
def update!(**args)
|
3683
|
+
@error = args[:error] if args.key?(:error)
|
3684
|
+
@last_attempt_time = args[:last_attempt_time] if args.key?(:last_attempt_time)
|
3685
|
+
@state = args[:state] if args.key?(:state)
|
3686
|
+
end
|
3687
|
+
end
|
3688
|
+
|
3652
3689
|
# An occurrence of a severity vulnerability on a resource.
|
3653
3690
|
class VulnerabilityOccurrence
|
3654
3691
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OndemandscanningV1
|
18
18
|
# Version of the google-apis-ondemandscanning_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240624"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -574,6 +574,12 @@ module Google
|
|
574
574
|
include Google::Apis::Core::JsonObjectSupport
|
575
575
|
end
|
576
576
|
|
577
|
+
class VulnerabilityAttestation
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
577
583
|
class VulnerabilityOccurrence
|
578
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
585
|
|
@@ -852,6 +858,8 @@ module Google
|
|
852
858
|
property :last_scan_time, as: 'lastScanTime'
|
853
859
|
property :sbom_status, as: 'sbomStatus', class: Google::Apis::OndemandscanningV1::SbomStatus, decorator: Google::Apis::OndemandscanningV1::SbomStatus::Representation
|
854
860
|
|
861
|
+
property :vulnerability_attestation, as: 'vulnerabilityAttestation', class: Google::Apis::OndemandscanningV1::VulnerabilityAttestation, decorator: Google::Apis::OndemandscanningV1::VulnerabilityAttestation::Representation
|
862
|
+
|
855
863
|
end
|
856
864
|
end
|
857
865
|
|
@@ -1585,6 +1593,15 @@ module Google
|
|
1585
1593
|
end
|
1586
1594
|
end
|
1587
1595
|
|
1596
|
+
class VulnerabilityAttestation
|
1597
|
+
# @private
|
1598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1599
|
+
property :error, as: 'error'
|
1600
|
+
property :last_attempt_time, as: 'lastAttemptTime'
|
1601
|
+
property :state, as: 'state'
|
1602
|
+
end
|
1603
|
+
end
|
1604
|
+
|
1588
1605
|
class VulnerabilityOccurrence
|
1589
1606
|
# @private
|
1590
1607
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-ondemandscanning_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.50.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: 2024-
|
11
|
+
date: 2024-06-27 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-ondemandscanning_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.50.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|