Represents a WebRiskServiceV1Beta1
Inheritance
$protobuf.rpc.Service > protos.google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Package
@google-cloud/web-riskConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new WebRiskServiceV1Beta1 service.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
computeThreatListDiff(request, callback)
public computeThreatListDiff(request: google.cloud.webrisk.v1beta1.IComputeThreatListDiffRequest, callback: google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.ComputeThreatListDiffCallback): void;
Calls ComputeThreatListDiff.
Parameters | |
---|---|
Name | Description |
request |
IComputeThreatListDiffRequest
ComputeThreatListDiffRequest message or plain object |
callback |
ComputeThreatListDiffCallback
Node-style callback called with the error, if any, and ComputeThreatListDiffResponse |
Returns | |
---|---|
Type | Description |
void |
computeThreatListDiff(request)
public computeThreatListDiff(request: google.cloud.webrisk.v1beta1.IComputeThreatListDiffRequest): Promise<google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse>;
Calls ComputeThreatListDiff.
Parameter | |
---|---|
Name | Description |
request |
IComputeThreatListDiffRequest
ComputeThreatListDiffRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): WebRiskServiceV1Beta1;
Creates new WebRiskServiceV1Beta1 service using the specified rpc implementation.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
WebRiskServiceV1Beta1 | RPC service. Useful where requests and/or responses are streamed. |
searchHashes(request, callback)
public searchHashes(request: google.cloud.webrisk.v1beta1.ISearchHashesRequest, callback: google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.SearchHashesCallback): void;
Calls SearchHashes.
Parameters | |
---|---|
Name | Description |
request |
ISearchHashesRequest
SearchHashesRequest message or plain object |
callback |
SearchHashesCallback
Node-style callback called with the error, if any, and SearchHashesResponse |
Returns | |
---|---|
Type | Description |
void |
searchHashes(request)
public searchHashes(request: google.cloud.webrisk.v1beta1.ISearchHashesRequest): Promise<google.cloud.webrisk.v1beta1.SearchHashesResponse>;
Calls SearchHashes.
Parameter | |
---|---|
Name | Description |
request |
ISearchHashesRequest
SearchHashesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.webrisk.v1beta1.SearchHashesResponse> | Promise |
searchUris(request, callback)
public searchUris(request: google.cloud.webrisk.v1beta1.ISearchUrisRequest, callback: google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.SearchUrisCallback): void;
Calls SearchUris.
Parameters | |
---|---|
Name | Description |
request |
ISearchUrisRequest
SearchUrisRequest message or plain object |
callback |
SearchUrisCallback
Node-style callback called with the error, if any, and SearchUrisResponse |
Returns | |
---|---|
Type | Description |
void |
searchUris(request)
public searchUris(request: google.cloud.webrisk.v1beta1.ISearchUrisRequest): Promise<google.cloud.webrisk.v1beta1.SearchUrisResponse>;
Calls SearchUris.
Parameter | |
---|---|
Name | Description |
request |
ISearchUrisRequest
SearchUrisRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.webrisk.v1beta1.SearchUrisResponse> | Promise |