target.apidocs.com.google.api.services.checks.v1alpha.ChecksService.Accounts.Repos.Scans.html Maven / Gradle / Ivy
ChecksService.Accounts.Repos.Scans (Checks API v1alpha-rev20241203-2.0.0)
com.google.api.services.checks.v1alpha
Class ChecksService.Accounts.Repos.Scans
- java.lang.Object
-
- com.google.api.services.checks.v1alpha.ChecksService.Accounts.Repos.Scans
-
- Enclosing class:
- ChecksService.Accounts.Repos
public class ChecksService.Accounts.Repos.Scans
extends Object
The "scans" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
ChecksService.Accounts.Repos.Scans.Generate
class
ChecksService.Accounts.Repos.Scans.Get
class
ChecksService.Accounts.Repos.Scans.List
-
Constructor Summary
Constructors
Constructor and Description
Scans()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ChecksService.Accounts.Repos.Scans.Generate
generate(String parent,
GoogleChecksRepoScanV1alphaGenerateScanRequest content)
Uploads the results of local Code Compliance analysis and generates a scan of privacy issues.
ChecksService.Accounts.Repos.Scans.Get
get(String name)
Gets a repo scan.
ChecksService.Accounts.Repos.Scans.List
list(String parent)
Lists repo scans for the specified repo.
-
-
Method Detail
-
generate
public ChecksService.Accounts.Repos.Scans.Generate generate(String parent,
GoogleChecksRepoScanV1alphaGenerateScanRequest content)
throws IOException
Uploads the results of local Code Compliance analysis and generates a scan of privacy issues.
Returns a google.longrunning.Operation containing analysis and findings.
Create a request for the method "scans.generate".
This request holds the parameters needed by the checks server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Resource name of the repo. Example: `accounts/123/repos/456`
content
- the GoogleChecksRepoScanV1alphaGenerateScanRequest
- Returns:
- the request
- Throws:
IOException
-
get
public ChecksService.Accounts.Repos.Scans.Get get(String name)
throws IOException
Gets a repo scan. By default, only the name and results_uri fields are returned. You can include
other fields by listing them in the `fields` URL query parameter. For example,
`?fields=name,sources` will return the name and sources fields.
Create a request for the method "scans.get".
This request holds the parameters needed by the checks server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Resource name of the repo scan. Example: `accounts/123/repos/456/scans/789`
- Returns:
- the request
- Throws:
IOException
-
list
public ChecksService.Accounts.Repos.Scans.List list(String parent)
throws IOException
Lists repo scans for the specified repo.
Create a request for the method "scans.list".
This request holds the parameters needed by the checks server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Resource name of the repo. Example: `accounts/123/repos/456`
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy