Class protos.google.cloud.websecurityscanner.v1.WebSecurityScanner (1.0.7)

Represents a WebSecurityScanner

Inheritance

$protobuf.rpc.Service > protos.google.cloud.websecurityscanner.v1.WebSecurityScanner

Package

@google-cloud/web-security-scanner!

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new WebSecurityScanner service.

Parameters
NameDescription
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.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
WebSecurityScanner

RPC service. Useful where requests and/or responses are streamed.

createScanConfig(request, callback)

public createScanConfig(request: google.cloud.websecurityscanner.v1.ICreateScanConfigRequest, callback: google.cloud.websecurityscanner.v1.WebSecurityScanner.CreateScanConfigCallback): void;

Calls CreateScanConfig.

Parameters
NameDescription
request ICreateScanConfigRequest

CreateScanConfigRequest message or plain object

callback google.cloud.websecurityscanner.v1.WebSecurityScanner.CreateScanConfigCallback

Node-style callback called with the error, if any, and ScanConfig

Returns
TypeDescription
void

createScanConfig(request)

public createScanConfig(request: google.cloud.websecurityscanner.v1.ICreateScanConfigRequest): Promise<google.cloud.websecurityscanner.v1.ScanConfig>;

Calls CreateScanConfig.

Parameter
NameDescription
request ICreateScanConfigRequest

CreateScanConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.websecurityscanner.v1.ScanConfig>

Promise

deleteScanConfig(request, callback)

public deleteScanConfig(request: google.cloud.websecurityscanner.v1.IDeleteScanConfigRequest, callback: google.cloud.websecurityscanner.v1.WebSecurityScanner.DeleteScanConfigCallback): void;

Calls DeleteScanConfig.

Parameters
NameDescription
request IDeleteScanConfigRequest

DeleteScanConfigRequest message or plain object

callback google.cloud.websecurityscanner.v1.WebSecurityScanner.DeleteScanConfigCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteScanConfig(request)

public deleteScanConfig(request: google.cloud.websecurityscanner.v1.IDeleteScanConfigRequest): Promise<google.protobuf.Empty>;

Calls DeleteScanConfig.

Parameter
NameDescription
request IDeleteScanConfigRequest

DeleteScanConfigRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getFinding(request, callback)

public getFinding(request: google.cloud.websecurityscanner.v1.IGetFindingRequest, callback: google.cloud.websecurityscanner.v1.WebSecurityScanner.GetFindingCallback): void;

Calls GetFinding.

Parameters
NameDescription
request IGetFindingRequest

GetFindingRequest message or plain object

callback google.cloud.websecurityscanner.v1.WebSecurityScanner.GetFindingCallback

Node-style callback called with the error, if any, and Finding

Returns
TypeDescription
void

getFinding(request)

public getFinding(request: google.cloud.websecurityscanner.v1.IGetFindingRequest): Promise<google.cloud.websecurityscanner.v1.Finding>;

Calls GetFinding.

Parameter
NameDescription
request IGetFindingRequest

GetFindingRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.websecurityscanner.v1.Finding>

Promise

getScanConfig(request, callback)

public getScanConfig(request: google.cloud.websecurityscanner.v1.IGetScanConfigRequest, callback: google.cloud.websecurityscanner.v1.WebSecurityScanner.GetScanConfigCallback): void;

Calls GetScanConfig.

Parameters
NameDescription
request IGetScanConfigRequest

GetScanConfigRequest message or plain object

callback google.cloud.websecurityscanner.v1.WebSecurityScanner.GetScanConfigCallback

Node-style callback called with the error, if any, and ScanConfig

Returns
TypeDescription
void

getScanConfig(request)

public getScanConfig(request: google.cloud.websecurityscanner.v1.IGetScanConfigRequest): Promise<google.cloud.websecurityscanner.v1.ScanConfig>;

Calls GetScanConfig.

Parameter
NameDescription
request IGetScanConfigRequest

GetScanConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.websecurityscanner.v1.ScanConfig>

Promise

getScanRun(request, callback)

public getScanRun(request: google.cloud.websecurityscanner.v1.IGetScanRunRequest, callback: google.cloud.websecurityscanner.v1.WebSecurityScanner.GetScanRunCallback): void;

Calls GetScanRun.

Parameters
NameDescription
request IGetScanRunRequest

GetScanRunRequest message or plain object

callback google.cloud.websecurityscanner.v1.WebSecurityScanner.GetScanRunCallback

Node-style callback called with the error, if any, and ScanRun

Returns
TypeDescription
void

getScanRun(request)

public getScanRun(request: google.cloud.websecurityscanner.v1.IGetScanRunRequest): Promise<google.cloud.websecurityscanner.v1.ScanRun>;

Calls GetScanRun.

Parameter
NameDescription
request IGetScanRunRequest

GetScanRunRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.websecurityscanner.v1.ScanRun>

Promise

listCrawledUrls(request, callback)

public listCrawledUrls(request: google.cloud.websecurityscanner.v1.IListCrawledUrlsRequest, callback: google.cloud.websecurityscanner.v1.WebSecurityScanner.ListCrawledUrlsCallback): void;

Calls ListCrawledUrls.

Parameters
NameDescription
request IListCrawledUrlsRequest

ListCrawledUrlsRequest message or plain object

callback google.cloud.websecurityscanner.v1.WebSecurityScanner.ListCrawledUrlsCallback

Node-style callback called with the error, if any, and ListCrawledUrlsResponse

Returns
TypeDescription
void

listCrawledUrls(request)

public listCrawledUrls(request: google.cloud.websecurityscanner.v1.IListCrawledUrlsRequest): Promise<google.cloud.websecurityscanner.v1.ListCrawledUrlsResponse>;

Calls ListCrawledUrls.

Parameter
NameDescription
request IListCrawledUrlsRequest

ListCrawledUrlsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.websecurityscanner.v1.ListCrawledUrlsResponse>

Promise

listFindings(request, callback)

public listFindings(request: google.cloud.websecurityscanner.v1.IListFindingsRequest, callback: google.cloud.websecurityscanner.v1.WebSecurityScanner.ListFindingsCallback): void;

Calls ListFindings.

Parameters
NameDescription
request IListFindingsRequest

ListFindingsRequest message or plain object

callback google.cloud.websecurityscanner.v1.WebSecurityScanner.ListFindingsCallback

Node-style callback called with the error, if any, and ListFindingsResponse

Returns
TypeDescription
void

listFindings(request)

public listFindings(request: google.cloud.websecurityscanner.v1.IListFindingsRequest): Promise<google.cloud.websecurityscanner.v1.ListFindingsResponse>;

Calls ListFindings.

Parameter
NameDescription
request IListFindingsRequest

ListFindingsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.websecurityscanner.v1.ListFindingsResponse>

Promise

listFindingTypeStats(request, callback)

public listFindingTypeStats(request: google.cloud.websecurityscanner.v1.IListFindingTypeStatsRequest, callback: google.cloud.websecurityscanner.v1.WebSecurityScanner.ListFindingTypeStatsCallback): void;

Calls ListFindingTypeStats.

Parameters
NameDescription
request IListFindingTypeStatsRequest

ListFindingTypeStatsRequest message or plain object

callback google.cloud.websecurityscanner.v1.WebSecurityScanner.ListFindingTypeStatsCallback

Node-style callback called with the error, if any, and ListFindingTypeStatsResponse

Returns
TypeDescription
void

listFindingTypeStats(request)

public listFindingTypeStats(request: google.cloud.websecurityscanner.v1.IListFindingTypeStatsRequest): Promise<google.cloud.websecurityscanner.v1.ListFindingTypeStatsResponse>;

Calls ListFindingTypeStats.

Parameter
NameDescription
request IListFindingTypeStatsRequest

ListFindingTypeStatsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.websecurityscanner.v1.ListFindingTypeStatsResponse>

Promise

listScanConfigs(request, callback)

public listScanConfigs(request: google.cloud.websecurityscanner.v1.IListScanConfigsRequest, callback: google.cloud.websecurityscanner.v1.WebSecurityScanner.ListScanConfigsCallback): void;

Calls ListScanConfigs.

Parameters
NameDescription
request IListScanConfigsRequest

ListScanConfigsRequest message or plain object

callback google.cloud.websecurityscanner.v1.WebSecurityScanner.ListScanConfigsCallback

Node-style callback called with the error, if any, and ListScanConfigsResponse

Returns
TypeDescription
void

listScanConfigs(request)

public listScanConfigs(request: google.cloud.websecurityscanner.v1.IListScanConfigsRequest): Promise<google.cloud.websecurityscanner.v1.ListScanConfigsResponse>;

Calls ListScanConfigs.

Parameter
NameDescription
request IListScanConfigsRequest

ListScanConfigsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.websecurityscanner.v1.ListScanConfigsResponse>

Promise

listScanRuns(request, callback)

public listScanRuns(request: google.cloud.websecurityscanner.v1.IListScanRunsRequest, callback: google.cloud.websecurityscanner.v1.WebSecurityScanner.ListScanRunsCallback): void;

Calls ListScanRuns.

Parameters
NameDescription
request IListScanRunsRequest

ListScanRunsRequest message or plain object

callback google.cloud.websecurityscanner.v1.WebSecurityScanner.ListScanRunsCallback

Node-style callback called with the error, if any, and ListScanRunsResponse

Returns
TypeDescription
void

listScanRuns(request)

public listScanRuns(request: google.cloud.websecurityscanner.v1.IListScanRunsRequest): Promise<google.cloud.websecurityscanner.v1.ListScanRunsResponse>;

Calls ListScanRuns.

Parameter
NameDescription
request IListScanRunsRequest

ListScanRunsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.websecurityscanner.v1.ListScanRunsResponse>

Promise

startScanRun(request, callback)

public startScanRun(request: google.cloud.websecurityscanner.v1.IStartScanRunRequest, callback: google.cloud.websecurityscanner.v1.WebSecurityScanner.StartScanRunCallback): void;

Calls StartScanRun.

Parameters
NameDescription
request IStartScanRunRequest

StartScanRunRequest message or plain object

callback google.cloud.websecurityscanner.v1.WebSecurityScanner.StartScanRunCallback

Node-style callback called with the error, if any, and ScanRun

Returns
TypeDescription
void

startScanRun(request)

public startScanRun(request: google.cloud.websecurityscanner.v1.IStartScanRunRequest): Promise<google.cloud.websecurityscanner.v1.ScanRun>;

Calls StartScanRun.

Parameter
NameDescription
request IStartScanRunRequest

StartScanRunRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.websecurityscanner.v1.ScanRun>

Promise

stopScanRun(request, callback)

public stopScanRun(request: google.cloud.websecurityscanner.v1.IStopScanRunRequest, callback: google.cloud.websecurityscanner.v1.WebSecurityScanner.StopScanRunCallback): void;

Calls StopScanRun.

Parameters
NameDescription
request IStopScanRunRequest

StopScanRunRequest message or plain object

callback google.cloud.websecurityscanner.v1.WebSecurityScanner.StopScanRunCallback

Node-style callback called with the error, if any, and ScanRun

Returns
TypeDescription
void

stopScanRun(request)

public stopScanRun(request: google.cloud.websecurityscanner.v1.IStopScanRunRequest): Promise<google.cloud.websecurityscanner.v1.ScanRun>;

Calls StopScanRun.

Parameter
NameDescription
request IStopScanRunRequest

StopScanRunRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.websecurityscanner.v1.ScanRun>

Promise

updateScanConfig(request, callback)

public updateScanConfig(request: google.cloud.websecurityscanner.v1.IUpdateScanConfigRequest, callback: google.cloud.websecurityscanner.v1.WebSecurityScanner.UpdateScanConfigCallback): void;

Calls UpdateScanConfig.

Parameters
NameDescription
request IUpdateScanConfigRequest

UpdateScanConfigRequest message or plain object

callback google.cloud.websecurityscanner.v1.WebSecurityScanner.UpdateScanConfigCallback

Node-style callback called with the error, if any, and ScanConfig

Returns
TypeDescription
void

updateScanConfig(request)

public updateScanConfig(request: google.cloud.websecurityscanner.v1.IUpdateScanConfigRequest): Promise<google.cloud.websecurityscanner.v1.ScanConfig>;

Calls UpdateScanConfig.

Parameter
NameDescription
request IUpdateScanConfigRequest

UpdateScanConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.websecurityscanner.v1.ScanConfig>

Promise