Class PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1Stub (0.85.0)

See more code actions.
public static final class PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1Stub extends AbstractAsyncStub<PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1Stub>

A stub to allow clients to do asynchronous rpc calls to service PhishingProtectionServiceV1Beta1.

Service to report phishing URIs.

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1Stub
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protected PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1Stub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

reportPhishing(ReportPhishingRequest request, StreamObserver<ReportPhishingResponse> responseObserver)

public void reportPhishing(ReportPhishingRequest request, 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 in order to protect users that could get exposed to this threat in the future.

Parameters
Name Description
request ReportPhishingRequest
responseObserver io.grpc.stub.StreamObserver<ReportPhishingResponse>