Class PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1BlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1BlockingStub>
com.google.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1BlockingStub
- Enclosing class:
- PhishingProtectionServiceV1Beta1Grpc
public static final class PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1BlockingStub
extends io.grpc.stub.AbstractBlockingStub<PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1BlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service
PhishingProtectionServiceV1Beta1.
Service to report phishing URIs.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) reportPhishing(ReportPhishingRequest request) Reports a URI suspected of containing phishing content to be reviewed.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1BlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1BlockingStub>
-
reportPhishing
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.
-