Class PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub>
-
- com.google.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub
-
- Enclosing class:
- PhishingProtectionServiceV1Beta1Grpc
public static final class PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub extends io.grpc.stub.AbstractFutureStub<PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service PhishingProtectionServiceV1Beta1.Service to report phishing URIs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<ReportPhishingResponse>
reportPhishing(ReportPhishingRequest request)
Reports a URI suspected of containing phishing content to be reviewed.
-
-
-
Method Detail
-
build
protected PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub>
-
reportPhishing
public com.google.common.util.concurrent.ListenableFuture<ReportPhishingResponse> reportPhishing(ReportPhishingRequest request)
Reports a URI suspected of containing phishing content to be reviewed. Once the report review is complete, its result can be found in the Cloud Security Command Center findings dashboard for Phishing Protection. If the result verifies the existence of malicious phishing content, the site will be added the to [Google's Social Engineering lists](https://support.google.com/webmasters/answer/6350487/) in order to protect users that could get exposed to this threat in the future.
-
-