Class: Google::Apis::ContaineranalysisV1alpha1::AnalysisCompleted
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::AnalysisCompleted
- 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
Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.
Instance Attribute Summary collapse
-
#analysis_type ⇒ Array<String>
type of analysis that were completed on a resource.
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.
35 36 37 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 35 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analysis_type ⇒ Array<String>
type of analysis that were completed on a resource.
Corresponds to the JSON property analysisType
33 34 35 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 33 def analysis_type @analysis_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40 41 42 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 40 def update!(**args) @analysis_type = args[:analysis_type] if args.key?(:analysis_type) end |