Skip navigation links

@Generated(value="by gapic-generator")

Package com.google.cloud.webrisk.v1beta1

A client to Web Risk API.

See: Description

Package com.google.cloud.webrisk.v1beta1 Description

A client to Web Risk API.

The interfaces provided are listed below, along with usage samples.

=========================== WebRiskServiceV1Beta1Client ===========================

Service Description: Web Risk v1beta1 API defines an interface to detect malicious URLs on your website and in client applications.

Sample for WebRiskServiceV1Beta1Client:

 
 try (WebRiskServiceV1Beta1Client webRiskServiceV1Beta1Client = WebRiskServiceV1Beta1Client.create()) {
   ThreatType threatType = ThreatType.THREAT_TYPE_UNSPECIFIED;
   ByteString versionToken = ByteString.copyFromUtf8("");
   ComputeThreatListDiffRequest.Constraints constraints = ComputeThreatListDiffRequest.Constraints.newBuilder().build();
   ComputeThreatListDiffResponse response = webRiskServiceV1Beta1Client.computeThreatListDiff(threatType, versionToken, constraints);
 }
 
 
Skip navigation links

Copyright © 2019 Google LLC. All rights reserved.