public final SearchUrisResponse searchUris(String uri, List<ThreatType> threatTypes) {
    SearchUrisRequest request =
        SearchUrisRequest.newBuilder().setUri(uri).addAllThreatTypes(threatTypes).build();
    return searchUris(request);
  }
This method is used to check whether a URI is on a given threatList.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (WebRiskServiceV1Beta1Client webRiskServiceV1Beta1Client =
    WebRiskServiceV1Beta1Client.create()) {
  String uri = "uri116076";
  List<ThreatType> threatTypes = new ArrayList<>();
  SearchUrisResponse response = webRiskServiceV1Beta1Client.searchUris(uri, threatTypes);
}
}</pre>

@param uri Required. The URI to be checked for matches.
@param threatTypes Required. The ThreatLists to search in.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-webrisk/google-cloud-webrisk/src/main/java/com/google/cloud/webrisk/v1beta1/WebRiskServiceV1Beta1Client.java