GoogleApi.OnDemandScanning.V1.Model.AnalyzePackagesRequestV1 (google_api_on_demand_scanning v0.7.0)

View Source

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

Attributes

  • includeOsvData (type: boolean(), default: nil) - [DEPRECATED] Whether to include OSV data in the scan. For backwards compatibility reasons, this field can be neither removed nor renamed.
  • packages (type: list(GoogleApi.OnDemandScanning.V1.Model.PackageData.t), default: nil) - The packages to analyze.
  • resourceUri (type: String.t, default: nil) - Required. The resource URI of the container image being scanned.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.OnDemandScanning.V1.Model.AnalyzePackagesRequestV1{
  includeOsvData: boolean() | nil,
  packages: [GoogleApi.OnDemandScanning.V1.Model.PackageData.t()] | nil,
  resourceUri: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.