Class ProjectsResource.ScanConfigsResource.ScanRunsResource
The "scanRuns" collection of methods.
Inherited Members
Namespace: Google.Apis.WebSecurityScanner.v1
Assembly: Google.Apis.WebSecurityScanner.v1.dll
Syntax
public class ProjectsResource.ScanConfigsResource.ScanRunsResource
Constructors
ScanRunsResource(IClientService)
Constructs a new resource.
Declaration
public ScanRunsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
CrawledUrls
Gets the CrawledUrls resource.
Declaration
public virtual ProjectsResource.ScanConfigsResource.ScanRunsResource.CrawledUrlsResource CrawledUrls { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.ScanConfigsResource.ScanRunsResource.CrawledUrlsResource |
FindingTypeStats
Gets the FindingTypeStats resource.
Declaration
public virtual ProjectsResource.ScanConfigsResource.ScanRunsResource.FindingTypeStatsResource FindingTypeStats { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.ScanConfigsResource.ScanRunsResource.FindingTypeStatsResource |
Findings
Gets the Findings resource.
Declaration
public virtual ProjectsResource.ScanConfigsResource.ScanRunsResource.FindingsResource Findings { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.ScanConfigsResource.ScanRunsResource.FindingsResource |
Methods
Get(string)
Gets a ScanRun.
Declaration
public virtual ProjectsResource.ScanConfigsResource.ScanRunsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. |
Returns
Type | Description |
---|---|
ProjectsResource.ScanConfigsResource.ScanRunsResource.GetRequest |
List(string)
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
Declaration
public virtual ProjectsResource.ScanConfigsResource.ScanRunsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource name, which should be a scan resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}'. |
Returns
Type | Description |
---|---|
ProjectsResource.ScanConfigsResource.ScanRunsResource.ListRequest |
Stop(StopScanRunRequest, string)
Stops a ScanRun. The stopped ScanRun is returned.
Declaration
public virtual ProjectsResource.ScanConfigsResource.ScanRunsResource.StopRequest Stop(StopScanRunRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
StopScanRunRequest | body | The body of the request. |
string | name | Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. |
Returns
Type | Description |
---|---|
ProjectsResource.ScanConfigsResource.ScanRunsResource.StopRequest |