google-cloud-phishingprotection overview (0.54.0)

com.google.cloud.phishingprotection.v1beta1

A client to Phishing Protection API

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

PhishingProtectionServiceV1Beta1Client

Service Description: Service to report phishing URIs.

Sample for PhishingProtectionServiceV1Beta1Client:


 // 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 (PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client =
     PhishingProtectionServiceV1Beta1Client.create()) {
   ProjectName parent = ProjectName.of("[PROJECT]");
   String uri = "uri116076";
   ReportPhishingResponse response =
       phishingProtectionServiceV1Beta1Client.reportPhishing(parent, uri);
 }
 

com.google.cloud.phishingprotection.v1beta1.stub

com.google.phishingprotection.v1beta1