Class: Google::Apis::OndemandscanningV1beta1::VulnerabilityAttestation
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::VulnerabilityAttestation
- 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 vulnerability attestation generation.
Instance Attribute Summary collapse
-
#error ⇒ String
If failure, the error reason for why the attestation generation failed.
-
#last_attempt_time ⇒ String
The last time we attempted to generate an attestation.
-
#state ⇒ String
The success/failure state of the latest attestation attempt.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VulnerabilityAttestation
constructor
A new instance of VulnerabilityAttestation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VulnerabilityAttestation
Returns a new instance of VulnerabilityAttestation.
3669 3670 3671 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3669 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error ⇒ String
If failure, the error reason for why the attestation generation failed.
Corresponds to the JSON property error
3657 3658 3659 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3657 def error @error end |
#last_attempt_time ⇒ String
The last time we attempted to generate an attestation.
Corresponds to the JSON property lastAttemptTime
3662 3663 3664 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3662 def last_attempt_time @last_attempt_time end |
#state ⇒ String
The success/failure state of the latest attestation attempt.
Corresponds to the JSON property state
3667 3668 3669 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3667 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3674 3675 3676 3677 3678 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3674 def update!(**args) @error = args[:error] if args.key?(:error) @last_attempt_time = args[:last_attempt_time] if args.key?(:last_attempt_time) @state = args[:state] if args.key?(:state) end |