Class: Google::Apis::OndemandscanningV1::AnalyzePackagesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/ondemandscanning_v1/classes.rb,
lib/google/apis/ondemandscanning_v1/representations.rb,
lib/google/apis/ondemandscanning_v1/representations.rb

Overview

AnalyzePackagesResponse contains the information necessary to find results for the given scan.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AnalyzePackagesResponse

Returns a new instance of AnalyzePackagesResponse.



146
147
148
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 146

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

Instance Attribute Details

#scanString

The name of the scan resource created by this successful scan. Corresponds to the JSON property scan

Returns:

  • (String)


144
145
146
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 144

def scan
  @scan
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



151
152
153
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 151

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