Represents a WebSecurityScanner
Inheritance
$protobuf.rpc.Service > protos.google.cloud.websecurityscanner.v1beta.WebSecurityScannerPackage
@google-cloud/web-security-scannerConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new WebSecurityScanner service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): WebSecurityScanner;
Creates new WebSecurityScanner service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
WebSecurityScanner | RPC service. Useful where requests and/or responses are streamed. |
createScanConfig(request, callback)
public createScanConfig(request: google.cloud.websecurityscanner.v1beta.ICreateScanConfigRequest, callback: google.cloud.websecurityscanner.v1beta.WebSecurityScanner.CreateScanConfigCallback): void;
Calls CreateScanConfig.
Name | Description |
request |
ICreateScanConfigRequest
CreateScanConfigRequest message or plain object |
callback |
google.cloud.websecurityscanner.v1beta.WebSecurityScanner.CreateScanConfigCallback
Node-style callback called with the error, if any, and ScanConfig |
Type | Description |
void |
createScanConfig(request)
public createScanConfig(request: google.cloud.websecurityscanner.v1beta.ICreateScanConfigRequest): Promise<google.cloud.websecurityscanner.v1beta.ScanConfig>;
Calls CreateScanConfig.
Name | Description |
request |
ICreateScanConfigRequest
CreateScanConfigRequest message or plain object |
Type | Description |
Promise<google.cloud.websecurityscanner.v1beta.ScanConfig> | Promise |
deleteScanConfig(request, callback)
public deleteScanConfig(request: google.cloud.websecurityscanner.v1beta.IDeleteScanConfigRequest, callback: google.cloud.websecurityscanner.v1beta.WebSecurityScanner.DeleteScanConfigCallback): void;
Calls DeleteScanConfig.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IDeleteScanConfigRequest
DeleteScanConfigRequest message or plain object |
callback |
google.cloud.websecurityscanner.v1beta.WebSecurityScanner.DeleteScanConfigCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteScanConfig(request)
public deleteScanConfig(request: google.cloud.websecurityscanner.v1beta.IDeleteScanConfigRequest): Promise<google.protobuf.Empty>;
Calls DeleteScanConfig.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IDeleteScanConfigRequest
DeleteScanConfigRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getFinding(request, callback)
public getFinding(request: google.cloud.websecurityscanner.v1beta.IGetFindingRequest, callback: google.cloud.websecurityscanner.v1beta.WebSecurityScanner.GetFindingCallback): void;
Calls GetFinding.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IGetFindingRequest
GetFindingRequest message or plain object |
callback |
google.cloud.websecurityscanner.v1beta.WebSecurityScanner.GetFindingCallback
Node-style callback called with the error, if any, and Finding |
Type | Description |
void |
getFinding(request)
public getFinding(request: google.cloud.websecurityscanner.v1beta.IGetFindingRequest): Promise<google.cloud.websecurityscanner.v1beta.Finding>;
Calls GetFinding.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IGetFindingRequest
GetFindingRequest message or plain object |
Type | Description |
Promise<google.cloud.websecurityscanner.v1beta.Finding> | Promise |
getScanConfig(request, callback)
public getScanConfig(request: google.cloud.websecurityscanner.v1beta.IGetScanConfigRequest, callback: google.cloud.websecurityscanner.v1beta.WebSecurityScanner.GetScanConfigCallback): void;
Calls GetScanConfig.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IGetScanConfigRequest
GetScanConfigRequest message or plain object |
callback |
google.cloud.websecurityscanner.v1beta.WebSecurityScanner.GetScanConfigCallback
Node-style callback called with the error, if any, and ScanConfig |
Type | Description |
void |
getScanConfig(request)
public getScanConfig(request: google.cloud.websecurityscanner.v1beta.IGetScanConfigRequest): Promise<google.cloud.websecurityscanner.v1beta.ScanConfig>;
Calls GetScanConfig.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IGetScanConfigRequest
GetScanConfigRequest message or plain object |
Type | Description |
Promise<google.cloud.websecurityscanner.v1beta.ScanConfig> | Promise |
getScanRun(request, callback)
public getScanRun(request: google.cloud.websecurityscanner.v1beta.IGetScanRunRequest, callback: google.cloud.websecurityscanner.v1beta.WebSecurityScanner.GetScanRunCallback): void;
Calls GetScanRun.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IGetScanRunRequest
GetScanRunRequest message or plain object |
callback |
google.cloud.websecurityscanner.v1beta.WebSecurityScanner.GetScanRunCallback
Node-style callback called with the error, if any, and ScanRun |
Type | Description |
void |
getScanRun(request)
public getScanRun(request: google.cloud.websecurityscanner.v1beta.IGetScanRunRequest): Promise<google.cloud.websecurityscanner.v1beta.ScanRun>;
Calls GetScanRun.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IGetScanRunRequest
GetScanRunRequest message or plain object |
Type | Description |
Promise<google.cloud.websecurityscanner.v1beta.ScanRun> | Promise |
listCrawledUrls(request, callback)
public listCrawledUrls(request: google.cloud.websecurityscanner.v1beta.IListCrawledUrlsRequest, callback: google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListCrawledUrlsCallback): void;
Calls ListCrawledUrls.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IListCrawledUrlsRequest
ListCrawledUrlsRequest message or plain object |
callback |
google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListCrawledUrlsCallback
Node-style callback called with the error, if any, and ListCrawledUrlsResponse |
Type | Description |
void |
listCrawledUrls(request)
public listCrawledUrls(request: google.cloud.websecurityscanner.v1beta.IListCrawledUrlsRequest): Promise<google.cloud.websecurityscanner.v1beta.ListCrawledUrlsResponse>;
Calls ListCrawledUrls.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IListCrawledUrlsRequest
ListCrawledUrlsRequest message or plain object |
Type | Description |
Promise<google.cloud.websecurityscanner.v1beta.ListCrawledUrlsResponse> | Promise |
listFindings(request, callback)
public listFindings(request: google.cloud.websecurityscanner.v1beta.IListFindingsRequest, callback: google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListFindingsCallback): void;
Calls ListFindings.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IListFindingsRequest
ListFindingsRequest message or plain object |
callback |
google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListFindingsCallback
Node-style callback called with the error, if any, and ListFindingsResponse |
Type | Description |
void |
listFindings(request)
public listFindings(request: google.cloud.websecurityscanner.v1beta.IListFindingsRequest): Promise<google.cloud.websecurityscanner.v1beta.ListFindingsResponse>;
Calls ListFindings.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IListFindingsRequest
ListFindingsRequest message or plain object |
Type | Description |
Promise<google.cloud.websecurityscanner.v1beta.ListFindingsResponse> | Promise |
listFindingTypeStats(request, callback)
public listFindingTypeStats(request: google.cloud.websecurityscanner.v1beta.IListFindingTypeStatsRequest, callback: google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListFindingTypeStatsCallback): void;
Calls ListFindingTypeStats.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IListFindingTypeStatsRequest
ListFindingTypeStatsRequest message or plain object |
callback |
google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListFindingTypeStatsCallback
Node-style callback called with the error, if any, and ListFindingTypeStatsResponse |
Type | Description |
void |
listFindingTypeStats(request)
public listFindingTypeStats(request: google.cloud.websecurityscanner.v1beta.IListFindingTypeStatsRequest): Promise<google.cloud.websecurityscanner.v1beta.ListFindingTypeStatsResponse>;
Calls ListFindingTypeStats.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IListFindingTypeStatsRequest
ListFindingTypeStatsRequest message or plain object |
Type | Description |
Promise<google.cloud.websecurityscanner.v1beta.ListFindingTypeStatsResponse> | Promise |
listScanConfigs(request, callback)
public listScanConfigs(request: google.cloud.websecurityscanner.v1beta.IListScanConfigsRequest, callback: google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListScanConfigsCallback): void;
Calls ListScanConfigs.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IListScanConfigsRequest
ListScanConfigsRequest message or plain object |
callback |
google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListScanConfigsCallback
Node-style callback called with the error, if any, and ListScanConfigsResponse |
Type | Description |
void |
listScanConfigs(request)
public listScanConfigs(request: google.cloud.websecurityscanner.v1beta.IListScanConfigsRequest): Promise<google.cloud.websecurityscanner.v1beta.ListScanConfigsResponse>;
Calls ListScanConfigs.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IListScanConfigsRequest
ListScanConfigsRequest message or plain object |
Type | Description |
Promise<google.cloud.websecurityscanner.v1beta.ListScanConfigsResponse> | Promise |
listScanRuns(request, callback)
public listScanRuns(request: google.cloud.websecurityscanner.v1beta.IListScanRunsRequest, callback: google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListScanRunsCallback): void;
Calls ListScanRuns.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IListScanRunsRequest
ListScanRunsRequest message or plain object |
callback |
google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListScanRunsCallback
Node-style callback called with the error, if any, and ListScanRunsResponse |
Type | Description |
void |
listScanRuns(request)
public listScanRuns(request: google.cloud.websecurityscanner.v1beta.IListScanRunsRequest): Promise<google.cloud.websecurityscanner.v1beta.ListScanRunsResponse>;
Calls ListScanRuns.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IListScanRunsRequest
ListScanRunsRequest message or plain object |
Type | Description |
Promise<google.cloud.websecurityscanner.v1beta.ListScanRunsResponse> | Promise |
startScanRun(request, callback)
public startScanRun(request: google.cloud.websecurityscanner.v1beta.IStartScanRunRequest, callback: google.cloud.websecurityscanner.v1beta.WebSecurityScanner.StartScanRunCallback): void;
Calls StartScanRun.
Name | Description |
request |
IStartScanRunRequest
StartScanRunRequest message or plain object |
callback |
google.cloud.websecurityscanner.v1beta.WebSecurityScanner.StartScanRunCallback
Node-style callback called with the error, if any, and ScanRun |
Type | Description |
void |
startScanRun(request)
public startScanRun(request: google.cloud.websecurityscanner.v1beta.IStartScanRunRequest): Promise<google.cloud.websecurityscanner.v1beta.ScanRun>;
Calls StartScanRun.
Name | Description |
request |
IStartScanRunRequest
StartScanRunRequest message or plain object |
Type | Description |
Promise<google.cloud.websecurityscanner.v1beta.ScanRun> | Promise |
stopScanRun(request, callback)
public stopScanRun(request: google.cloud.websecurityscanner.v1beta.IStopScanRunRequest, callback: google.cloud.websecurityscanner.v1beta.WebSecurityScanner.StopScanRunCallback): void;
Calls StopScanRun.
Name | Description |
request |
IStopScanRunRequest
StopScanRunRequest message or plain object |
callback |
google.cloud.websecurityscanner.v1beta.WebSecurityScanner.StopScanRunCallback
Node-style callback called with the error, if any, and ScanRun |
Type | Description |
void |
stopScanRun(request)
public stopScanRun(request: google.cloud.websecurityscanner.v1beta.IStopScanRunRequest): Promise<google.cloud.websecurityscanner.v1beta.ScanRun>;
Calls StopScanRun.
Name | Description |
request |
IStopScanRunRequest
StopScanRunRequest message or plain object |
Type | Description |
Promise<google.cloud.websecurityscanner.v1beta.ScanRun> | Promise |
updateScanConfig(request, callback)
public updateScanConfig(request: google.cloud.websecurityscanner.v1beta.IUpdateScanConfigRequest, callback: google.cloud.websecurityscanner.v1beta.WebSecurityScanner.UpdateScanConfigCallback): void;
Calls UpdateScanConfig.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IUpdateScanConfigRequest
UpdateScanConfigRequest message or plain object |
callback |
google.cloud.websecurityscanner.v1beta.WebSecurityScanner.UpdateScanConfigCallback
Node-style callback called with the error, if any, and ScanConfig |
Type | Description |
void |
updateScanConfig(request)
public updateScanConfig(request: google.cloud.websecurityscanner.v1beta.IUpdateScanConfigRequest): Promise<google.cloud.websecurityscanner.v1beta.ScanConfig>;
Calls UpdateScanConfig.
Name | Description |
request |
google.cloud.websecurityscanner.v1beta.IUpdateScanConfigRequest
UpdateScanConfigRequest message or plain object |
Type | Description |
Promise<google.cloud.websecurityscanner.v1beta.ScanConfig> | Promise |