Class: Google::Apis::OndemandscanningV1::AnalyzePackagesResponseV1
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1::AnalyzePackagesResponseV1
- 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
-
#scan ⇒ String
The name of the scan resource created by this successful scan.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnalyzePackagesResponseV1
constructor
A new instance of AnalyzePackagesResponseV1.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnalyzePackagesResponseV1
Returns a new instance of AnalyzePackagesResponseV1.
186 187 188 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 186 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scan ⇒ String
The name of the scan resource created by this successful scan.
Corresponds to the JSON property scan
184 185 186 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 184 def scan @scan end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
191 192 193 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 191 def update!(**args) @scan = args[:scan] if args.key?(:scan) end |