Class RecaptchaEnterpriseServiceV1Beta1Grpc.RecaptchaEnterpriseServiceV1Beta1Stub (2.3.1)

public static final class RecaptchaEnterpriseServiceV1Beta1Grpc.RecaptchaEnterpriseServiceV1Beta1Stub extends AbstractAsyncStub<RecaptchaEnterpriseServiceV1Beta1Grpc.RecaptchaEnterpriseServiceV1Beta1Stub>

Service to determine the likelihood an event is legitimate.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > RecaptchaEnterpriseServiceV1Beta1Grpc.RecaptchaEnterpriseServiceV1Beta1Stub

Methods

annotateAssessment(AnnotateAssessmentRequest request, StreamObserver<AnnotateAssessmentResponse> responseObserver)

public void annotateAssessment(AnnotateAssessmentRequest request, StreamObserver<AnnotateAssessmentResponse> responseObserver)

Annotates a previously created Assessment to provide additional information on whether the event turned out to be authentic or fradulent.

Parameters
NameDescription
requestAnnotateAssessmentRequest
responseObserverio.grpc.stub.StreamObserver<AnnotateAssessmentResponse>

build(Channel channel, CallOptions callOptions)

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

createAssessment(CreateAssessmentRequest request, StreamObserver<Assessment> responseObserver)

public void createAssessment(CreateAssessmentRequest request, StreamObserver<Assessment> responseObserver)

Creates an Assessment of the likelihood an event is legitimate.

Parameters
NameDescription
requestCreateAssessmentRequest
responseObserverio.grpc.stub.StreamObserver<Assessment>

createKey(CreateKeyRequest request, StreamObserver<Key> responseObserver)

public void createKey(CreateKeyRequest request, StreamObserver<Key> responseObserver)

Creates a new reCAPTCHA Enterprise key.

Parameters
NameDescription
requestCreateKeyRequest
responseObserverio.grpc.stub.StreamObserver<Key>

deleteKey(DeleteKeyRequest request, StreamObserver<Empty> responseObserver)

public void deleteKey(DeleteKeyRequest request, StreamObserver<Empty> responseObserver)

Deletes the specified key.

Parameters
NameDescription
requestDeleteKeyRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getKey(GetKeyRequest request, StreamObserver<Key> responseObserver)

public void getKey(GetKeyRequest request, StreamObserver<Key> responseObserver)

Returns the specified key.

Parameters
NameDescription
requestGetKeyRequest
responseObserverio.grpc.stub.StreamObserver<Key>

listKeys(ListKeysRequest request, StreamObserver<ListKeysResponse> responseObserver)

public void listKeys(ListKeysRequest request, StreamObserver<ListKeysResponse> responseObserver)

Returns the list of all keys that belong to a project.

Parameters
NameDescription
requestListKeysRequest
responseObserverio.grpc.stub.StreamObserver<ListKeysResponse>

updateKey(UpdateKeyRequest request, StreamObserver<Key> responseObserver)

public void updateKey(UpdateKeyRequest request, StreamObserver<Key> responseObserver)

Updates the specified key.

Parameters
NameDescription
requestUpdateKeyRequest
responseObserverio.grpc.stub.StreamObserver<Key>