Class: Google::Apis::ContaineranalysisV1alpha1::SbomStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SbomStatus

Returns a new instance of SbomStatus.



6429
6430
6431
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6429

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#errorString

Output only. If there was an error generating an SBOM, this will indicate what that error was. Corresponds to the JSON property error

Returns:

  • (String)


6422
6423
6424
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6422

def error
  @error
end

#sbom_stateString

Output only. The progress of the SBOM generation. Corresponds to the JSON property sbomState

Returns:

  • (String)


6427
6428
6429
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6427

def sbom_state
  @sbom_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6434
6435
6436
6437
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6434

def update!(**args)
  @error = args[:error] if args.key?(:error)
  @sbom_state = args[:sbom_state] if args.key?(:sbom_state)
end