Class PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1Stub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1Stub>
-
- com.google.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1Stub
-
- Enclosing class:
- PhishingProtectionServiceV1Beta1Grpc
public static final class PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1Stub extends io.grpc.stub.AbstractAsyncStub<PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1Stub>
A stub to allow clients to do asynchronous 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.PhishingProtectionServiceV1Beta1Stub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
reportPhishing(ReportPhishingRequest request, io.grpc.stub.StreamObserver<ReportPhishingResponse> responseObserver)
Reports a URI suspected of containing phishing content to be reviewed.
-
-
-
Method Detail
-
build
protected PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1Stub>
-
reportPhishing
public void reportPhishing(ReportPhishingRequest request, io.grpc.stub.StreamObserver<ReportPhishingResponse> responseObserver)
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.
-
-