[BindServiceMethod(typeof(WebSecurityScanner), "BindService")]
public abstract class WebSecurityScannerBaseBase class for server-side implementations of WebSecurityScanner
Namespace
Google.Cloud.WebSecurityScanner.V1Assembly
Google.Cloud.WebSecurityScanner.V1.dll
Methods
CreateScanConfig(CreateScanConfigRequest, ServerCallContext)
public virtual Task<ScanConfig> CreateScanConfig(CreateScanConfigRequest request, ServerCallContext context)Creates a new ScanConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateScanConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ScanConfig> |
The response to send back to the client (wrapped by a task). |
DeleteScanConfig(DeleteScanConfigRequest, ServerCallContext)
public virtual Task<Empty> DeleteScanConfig(DeleteScanConfigRequest request, ServerCallContext context)Deletes an existing ScanConfig and its child resources.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteScanConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Empty> |
The response to send back to the client (wrapped by a task). |
GetFinding(GetFindingRequest, ServerCallContext)
public virtual Task<Finding> GetFinding(GetFindingRequest request, ServerCallContext context)Gets a Finding.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFindingRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Finding> |
The response to send back to the client (wrapped by a task). |
GetScanConfig(GetScanConfigRequest, ServerCallContext)
public virtual Task<ScanConfig> GetScanConfig(GetScanConfigRequest request, ServerCallContext context)Gets a ScanConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
GetScanConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ScanConfig> |
The response to send back to the client (wrapped by a task). |
GetScanRun(GetScanRunRequest, ServerCallContext)
public virtual Task<ScanRun> GetScanRun(GetScanRunRequest request, ServerCallContext context)Gets a ScanRun.
| Parameters | |
|---|---|
| Name | Description |
request |
GetScanRunRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ScanRun> |
The response to send back to the client (wrapped by a task). |
ListCrawledUrls(ListCrawledUrlsRequest, ServerCallContext)
public virtual Task<ListCrawledUrlsResponse> ListCrawledUrls(ListCrawledUrlsRequest request, ServerCallContext context)List CrawledUrls under a given ScanRun.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCrawledUrlsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ListCrawledUrlsResponse> |
The response to send back to the client (wrapped by a task). |
ListFindings(ListFindingsRequest, ServerCallContext)
public virtual Task<ListFindingsResponse> ListFindings(ListFindingsRequest request, ServerCallContext context)List Findings under a given ScanRun.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFindingsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ListFindingsResponse> |
The response to send back to the client (wrapped by a task). |
ListFindingTypeStats(ListFindingTypeStatsRequest, ServerCallContext)
public virtual Task<ListFindingTypeStatsResponse> ListFindingTypeStats(ListFindingTypeStatsRequest request, ServerCallContext context)List all FindingTypeStats under a given ScanRun.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFindingTypeStatsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ListFindingTypeStatsResponse> |
The response to send back to the client (wrapped by a task). |
ListScanConfigs(ListScanConfigsRequest, ServerCallContext)
public virtual Task<ListScanConfigsResponse> ListScanConfigs(ListScanConfigsRequest request, ServerCallContext context)Lists ScanConfigs under a given project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListScanConfigsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ListScanConfigsResponse> |
The response to send back to the client (wrapped by a task). |
ListScanRuns(ListScanRunsRequest, ServerCallContext)
public virtual Task<ListScanRunsResponse> ListScanRuns(ListScanRunsRequest request, ServerCallContext context)Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
| Parameters | |
|---|---|
| Name | Description |
request |
ListScanRunsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ListScanRunsResponse> |
The response to send back to the client (wrapped by a task). |
StartScanRun(StartScanRunRequest, ServerCallContext)
public virtual Task<ScanRun> StartScanRun(StartScanRunRequest request, ServerCallContext context)Start a ScanRun according to the given ScanConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
StartScanRunRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ScanRun> |
The response to send back to the client (wrapped by a task). |
StopScanRun(StopScanRunRequest, ServerCallContext)
public virtual Task<ScanRun> StopScanRun(StopScanRunRequest request, ServerCallContext context)Stops a ScanRun. The stopped ScanRun is returned.
| Parameters | |
|---|---|
| Name | Description |
request |
StopScanRunRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ScanRun> |
The response to send back to the client (wrapped by a task). |
UpdateScanConfig(UpdateScanConfigRequest, ServerCallContext)
public virtual Task<ScanConfig> UpdateScanConfig(UpdateScanConfigRequest request, ServerCallContext context)Updates a ScanConfig. This method support partial update of a ScanConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateScanConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ScanConfig> |
The response to send back to the client (wrapped by a task). |