Constructor
new WebRiskServiceV1Beta1(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new WebRiskServiceV1Beta1 service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
computeThreatListDiff(request, callback) → {undefined}
Calls ComputeThreatListDiff.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.webrisk.v1beta1.IComputeThreatListDiffRequest |
ComputeThreatListDiffRequest message or plain object |
callback |
google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.ComputeThreatListDiffCallback |
Node-style callback called with the error, if any, and ComputeThreatListDiffResponse |
Returns:
Type | Description |
---|---|
undefined |
computeThreatListDiff(request) → {Promise.<google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse>}
Calls ComputeThreatListDiff.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.webrisk.v1beta1.IComputeThreatListDiffRequest |
ComputeThreatListDiffRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse> |
Promise |
searchHashes(request, callback) → {undefined}
Calls SearchHashes.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.webrisk.v1beta1.ISearchHashesRequest |
SearchHashesRequest message or plain object |
callback |
google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.SearchHashesCallback |
Node-style callback called with the error, if any, and SearchHashesResponse |
Returns:
Type | Description |
---|---|
undefined |
searchHashes(request) → {Promise.<google.cloud.webrisk.v1beta1.SearchHashesResponse>}
Calls SearchHashes.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.webrisk.v1beta1.ISearchHashesRequest |
SearchHashesRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.webrisk.v1beta1.SearchHashesResponse> |
Promise |
searchUris(request, callback) → {undefined}
Calls SearchUris.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.webrisk.v1beta1.ISearchUrisRequest |
SearchUrisRequest message or plain object |
callback |
google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.SearchUrisCallback |
Node-style callback called with the error, if any, and SearchUrisResponse |
Returns:
Type | Description |
---|---|
undefined |
searchUris(request) → {Promise.<google.cloud.webrisk.v1beta1.SearchUrisResponse>}
Calls SearchUris.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.webrisk.v1beta1.ISearchUrisRequest |
SearchUrisRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.webrisk.v1beta1.SearchUrisResponse> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {WebRiskServiceV1Beta1}
Creates new WebRiskServiceV1Beta1 service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
WebRiskServiceV1Beta1 |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
ComputeThreatListDiffCallback(error, responseopt)
Callback as used by computeThreatListDiff.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse |
<optional> |
ComputeThreatListDiffResponse |
SearchHashesCallback(error, responseopt)
Callback as used by searchHashes.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.webrisk.v1beta1.SearchHashesResponse |
<optional> |
SearchHashesResponse |
SearchUrisCallback(error, responseopt)
Callback as used by searchUris.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.webrisk.v1beta1.SearchUrisResponse |
<optional> |
SearchUrisResponse |