Class: Google::Apis::ContaineranalysisV1alpha1::AnalysisCompleted

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

Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_typeArray<String>

type of analysis that were completed on a resource. Corresponds to the JSON property analysisType

Returns:

  • (Array<String>)


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