Class protos.google.cloud.websecurityscanner.v1beta.WebSecurityScanner (1.1.1)

Represents a WebSecurityScanner

Inheritance

$protobuf.rpc.Service > protos.google.cloud.websecurityscanner.v1beta.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.v1beta.ICreateScanConfigRequest, callback: google.cloud.websecurityscanner.v1beta.WebSecurityScanner.CreateScanConfigCallback): void;

Calls CreateScanConfig.

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

Returns
TypeDescription
void

createScanConfig(request)

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

Calls CreateScanConfig.

Parameter
NameDescription
request ICreateScanConfigRequest

CreateScanConfigRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

deleteScanConfig(request)

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

Calls DeleteScanConfig.

Parameter
NameDescription
request google.cloud.websecurityscanner.v1beta.IDeleteScanConfigRequest

DeleteScanConfigRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

getFinding(request)

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

Calls GetFinding.

Parameter
NameDescription
request google.cloud.websecurityscanner.v1beta.IGetFindingRequest

GetFindingRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

getScanConfig(request)

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

Calls GetScanConfig.

Parameter
NameDescription
request google.cloud.websecurityscanner.v1beta.IGetScanConfigRequest

GetScanConfigRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

getScanRun(request)

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

Calls GetScanRun.

Parameter
NameDescription
request google.cloud.websecurityscanner.v1beta.IGetScanRunRequest

GetScanRunRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

listCrawledUrls(request)

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

Calls ListCrawledUrls.

Parameter
NameDescription
request google.cloud.websecurityscanner.v1beta.IListCrawledUrlsRequest

ListCrawledUrlsRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

listFindings(request)

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

Calls ListFindings.

Parameter
NameDescription
request google.cloud.websecurityscanner.v1beta.IListFindingsRequest

ListFindingsRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

listFindingTypeStats(request)

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

Calls ListFindingTypeStats.

Parameter
NameDescription
request google.cloud.websecurityscanner.v1beta.IListFindingTypeStatsRequest

ListFindingTypeStatsRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

listScanConfigs(request)

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

Calls ListScanConfigs.

Parameter
NameDescription
request google.cloud.websecurityscanner.v1beta.IListScanConfigsRequest

ListScanConfigsRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

listScanRuns(request)

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

Calls ListScanRuns.

Parameter
NameDescription
request google.cloud.websecurityscanner.v1beta.IListScanRunsRequest

ListScanRunsRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

startScanRun(request)

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

Calls StartScanRun.

Parameter
NameDescription
request IStartScanRunRequest

StartScanRunRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

stopScanRun(request)

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

Calls StopScanRun.

Parameter
NameDescription
request IStopScanRunRequest

StopScanRunRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

updateScanConfig(request)

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

Calls UpdateScanConfig.

Parameter
NameDescription
request google.cloud.websecurityscanner.v1beta.IUpdateScanConfigRequest

UpdateScanConfigRequest message or plain object

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

Promise