Class: Google::Apis::ContaineranalysisV1alpha1::SbomStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::SbomStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb
Overview
The status of an SBOM generation.
Instance Attribute Summary collapse
-
#error ⇒ String
Output only.
-
#sbom_state ⇒ String
Output only.
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.
6391 6392 6393 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6391 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error ⇒ String
Output only. If there was an error generating an SBOM, this will indicate what
that error was.
Corresponds to the JSON property error
6384 6385 6386 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6384 def error @error end |
#sbom_state ⇒ String
Output only. The progress of the SBOM generation.
Corresponds to the JSON property sbomState
6389 6390 6391 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6389 def sbom_state @sbom_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6396 6397 6398 6399 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6396 def update!(**args) @error = args[:error] if args.key?(:error) @sbom_state = args[:sbom_state] if args.key?(:sbom_state) end |