Class: Google::Apis::OndemandscanningV1beta1::AnalysisCompleted
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::AnalysisCompleted
- 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
Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.
Instance Attribute Summary collapse
-
#analysis_type ⇒ Array<String>
Corresponds to the JSON property
analysisType
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnalysisCompleted
constructor
A new instance of AnalysisCompleted.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnalysisCompleted
Returns a new instance of AnalysisCompleted.
60 61 62 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 60 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analysis_type ⇒ Array<String>
Corresponds to the JSON property analysisType
58 59 60 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 58 def analysis_type @analysis_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
65 66 67 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 65 def update!(**args) @analysis_type = args[:analysis_type] if args.key?(:analysis_type) end |