Class: Google::Apis::OndemandscanningV1beta1::SbomStatus
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::SbomStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ondemandscanning_v1beta1/classes.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb
Overview
The status of an SBOM generation.
Instance Attribute Summary collapse
-
#error ⇒ String
If there was an error generating an SBOM, this will indicate what that error was.
-
#sbom_state ⇒ String
The progress of the SBOM generation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SbomStatus
constructor
A new instance of SbomStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SbomStatus
Returns a new instance of SbomStatus.
3262 3263 3264 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3262 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error ⇒ String
If there was an error generating an SBOM, this will indicate what that error
was.
Corresponds to the JSON property error
3255 3256 3257 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3255 def error @error end |
#sbom_state ⇒ String
The progress of the SBOM generation.
Corresponds to the JSON property sbomState
3260 3261 3262 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3260 def sbom_state @sbom_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3267 3268 3269 3270 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3267 def update!(**args) @error = args[:error] if args.key?(:error) @sbom_state = args[:sbom_state] if args.key?(:sbom_state) end |