class Google::Apis::OndemandscanningV1beta1::AnalyzePackagesRequest

AnalyzePackagesRequest is the request to analyze a list of packages and create Vulnerability Occurrences for it.

Attributes

packages[RW]

The packages to analyze. Corresponds to the JSON property `packages` @return [Array<Google::Apis::OndemandscanningV1beta1::PackageData>]

resource_uri[RW]

Required. The resource URI of the container image being scanned. Corresponds to the JSON property `resourceUri` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/ondemandscanning_v1beta1/classes.rb, line 117
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/ondemandscanning_v1beta1/classes.rb, line 122
def update!(**args)
  @packages = args[:packages] if args.key?(:packages)
  @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
end