public sealed class WebRiskServiceV1Beta1ClientImpl : WebRiskServiceV1Beta1Client
WebRiskServiceV1Beta1 client wrapper implementation, for convenient use.
Namespace
Google.Cloud.WebRisk.V1Beta1Assembly
Google.Cloud.WebRisk.V1Beta1.dll
Remarks
Web Risk v1beta1 API defines an interface to detect malicious URLs on your website and in client applications.
Constructors
WebRiskServiceV1Beta1ClientImpl(WebRiskServiceV1Beta1.WebRiskServiceV1Beta1Client, WebRiskServiceV1Beta1Settings)
public WebRiskServiceV1Beta1ClientImpl(WebRiskServiceV1Beta1.WebRiskServiceV1Beta1Client grpcClient, WebRiskServiceV1Beta1Settings settings)
Constructs a client wrapper for the WebRiskServiceV1Beta1 service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | WebRiskServiceV1Beta1.WebRiskServiceV1Beta1Client The underlying gRPC client. |
settings | WebRiskServiceV1Beta1Settings The base WebRiskServiceV1Beta1Settings used within this client. |
Properties
GrpcClient
public override WebRiskServiceV1Beta1.WebRiskServiceV1Beta1Client GrpcClient { get; }
The underlying gRPC WebRiskServiceV1Beta1 client
Property Value | |
---|---|
Type | Description |
WebRiskServiceV1Beta1.WebRiskServiceV1Beta1Client |
Methods
ComputeThreatListDiff(ComputeThreatListDiffRequest, CallSettings)
public override ComputeThreatListDiffResponse ComputeThreatListDiff(ComputeThreatListDiffRequest request, CallSettings callSettings = null)
Gets the most recent threat list diffs.
Parameters | |
---|---|
Name | Description |
request | ComputeThreatListDiffRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse | The RPC response. |
ComputeThreatListDiffAsync(ComputeThreatListDiffRequest, CallSettings)
public override Task<ComputeThreatListDiffResponse> ComputeThreatListDiffAsync(ComputeThreatListDiffRequest request, CallSettings callSettings = null)
Gets the most recent threat list diffs.
Parameters | |
---|---|
Name | Description |
request | ComputeThreatListDiffRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<ComputeThreatListDiffResponse> | A Task containing the RPC response. |
SearchHashes(SearchHashesRequest, CallSettings)
public override SearchHashesResponse SearchHashes(SearchHashesRequest request, CallSettings callSettings = null)
Gets the full hashes that match the requested hash prefix. This is used after a hash prefix is looked up in a threatList and there is a match. The client side threatList only holds partial hashes so the client must query this method to determine if there is a full hash match of a threat.
Parameters | |
---|---|
Name | Description |
request | SearchHashesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SearchHashesResponse | The RPC response. |
SearchHashesAsync(SearchHashesRequest, CallSettings)
public override Task<SearchHashesResponse> SearchHashesAsync(SearchHashesRequest request, CallSettings callSettings = null)
Gets the full hashes that match the requested hash prefix. This is used after a hash prefix is looked up in a threatList and there is a match. The client side threatList only holds partial hashes so the client must query this method to determine if there is a full hash match of a threat.
Parameters | |
---|---|
Name | Description |
request | SearchHashesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<SearchHashesResponse> | A Task containing the RPC response. |
SearchUris(SearchUrisRequest, CallSettings)
public override SearchUrisResponse SearchUris(SearchUrisRequest request, CallSettings callSettings = null)
This method is used to check whether a URI is on a given threatList.
Parameters | |
---|---|
Name | Description |
request | SearchUrisRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SearchUrisResponse | The RPC response. |
SearchUrisAsync(SearchUrisRequest, CallSettings)
public override Task<SearchUrisResponse> SearchUrisAsync(SearchUrisRequest request, CallSettings callSettings = null)
This method is used to check whether a URI is on a given threatList.
Parameters | |
---|---|
Name | Description |
request | SearchUrisRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<SearchUrisResponse> | A Task containing the RPC response. |