Class: Google::Apis::OndemandscanningV1beta1::AnalysisCompleted

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

Corresponds to the JSON property analysisType

Returns:

  • (Array<String>)


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