Class: Grafeas::V1::DiscoveryOccurrence::SBOMStatus
- Inherits:
-
Object
- Object
- Grafeas::V1::DiscoveryOccurrence::SBOMStatus
- Extended by:
- Google::Protobuf::MessageExts::ClassMethods
- Includes:
- Google::Protobuf::MessageExts
- Defined in:
- proto_docs/grafeas/v1/discovery.rb
Overview
The status of an SBOM generation.
Defined Under Namespace
Modules: SBOMState
Instance Attribute Summary collapse
-
#error ⇒ ::String
If there was an error generating an SBOM, this will indicate what that error was.
-
#sbom_state ⇒ ::Grafeas::V1::DiscoveryOccurrence::SBOMStatus::SBOMState
The progress of the SBOM generation.
Instance Attribute Details
#error ⇒ ::String
Returns If there was an error generating an SBOM, this will indicate what that error was.
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'proto_docs/grafeas/v1/discovery.rb', line 88 class SBOMStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An enum indicating the progress of the SBOM generation. module SBOMState # Default unknown state. SBOM_STATE_UNSPECIFIED = 0 # SBOM scanning is pending. PENDING = 1 # SBOM scanning has completed. COMPLETE = 2 end end |
#sbom_state ⇒ ::Grafeas::V1::DiscoveryOccurrence::SBOMStatus::SBOMState
Returns The progress of the SBOM generation.
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'proto_docs/grafeas/v1/discovery.rb', line 88 class SBOMStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An enum indicating the progress of the SBOM generation. module SBOMState # Default unknown state. SBOM_STATE_UNSPECIFIED = 0 # SBOM scanning is pending. PENDING = 1 # SBOM scanning has completed. COMPLETE = 2 end end |