Class: Google::Apis::ContaineranalysisV1beta1::AnalysisCompleted

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/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.



98
99
100
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 98

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

Instance Attribute Details

#analysis_typeArray<String>

Corresponds to the JSON property analysisType

Returns:

  • (Array<String>)


96
97
98
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 96

def analysis_type
  @analysis_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



103
104
105
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 103

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