target.apidocs.com.google.api.services.ondemandscanning.v1.OnDemandScanning.Projects.Locations.Scans.html Maven / Gradle / Ivy
The newest version!
OnDemandScanning.Projects.Locations.Scans (On-Demand Scanning API v1-rev20241209-2.0.0)
com.google.api.services.ondemandscanning.v1
Class OnDemandScanning.Projects.Locations.Scans
- java.lang.Object
-
- com.google.api.services.ondemandscanning.v1.OnDemandScanning.Projects.Locations.Scans
-
- Enclosing class:
- OnDemandScanning.Projects.Locations
public class OnDemandScanning.Projects.Locations.Scans
extends Object
The "scans" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
OnDemandScanning.Projects.Locations.Scans.AnalyzePackages
class
OnDemandScanning.Projects.Locations.Scans.Vulnerabilities
The "vulnerabilities" collection of methods.
-
Constructor Summary
Constructors
Constructor and Description
Scans()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
OnDemandScanning.Projects.Locations.Scans.AnalyzePackages
analyzePackages(String parent,
AnalyzePackagesRequestV1 content)
Initiates an analysis of the provided packages.
OnDemandScanning.Projects.Locations.Scans.Vulnerabilities
vulnerabilities()
An accessor for creating requests from the Vulnerabilities collection.
-
-
Method Detail
-
analyzePackages
public OnDemandScanning.Projects.Locations.Scans.AnalyzePackages analyzePackages(String parent,
AnalyzePackagesRequestV1 content)
throws IOException
Initiates an analysis of the provided packages.
Create a request for the method "scans.analyzePackages".
This request holds the parameters needed by the ondemandscanning server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
parent
- Required. The parent of the resource for which analysis is requested. Format:
projects/[project_name]/locations/[location]
content
- the AnalyzePackagesRequestV1
- Returns:
- the request
- Throws:
IOException
-
vulnerabilities
public OnDemandScanning.Projects.Locations.Scans.Vulnerabilities vulnerabilities()
An accessor for creating requests from the Vulnerabilities collection.
The typical use is:
OnDemandScanning ondemandscanning = new OnDemandScanning(...);
OnDemandScanning.Vulnerabilities.List request = ondemandscanning.vulnerabilities().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy