Class PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub (0.47.0)

public static final class PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub extends AbstractFutureStub<PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service PhishingProtectionServiceV1Beta1.

Service to report phishing URIs.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

reportPhishing(ReportPhishingRequest request)

public 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 in order to protect users that could get exposed to this threat in the future.

Parameter
NameDescription
requestReportPhishingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ReportPhishingResponse>