public static final class RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceStub extends AbstractAsyncStub<RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceStub>
Service to determine the likelihood an event is legitimate.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceStub
Inherited Members
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.withWaitForReady()
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 fraudulent.
build(Channel channel, CallOptions callOptions)
protected RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceStub 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)
createAssessment(CreateAssessmentRequest request, StreamObserver<Assessment> responseObserver)
public void createAssessment(CreateAssessmentRequest request, StreamObserver<Assessment> responseObserver)
Creates an Assessment of the likelihood an event is legitimate.
createKey(CreateKeyRequest request, StreamObserver<Key> responseObserver)
public void createKey(CreateKeyRequest request, StreamObserver<Key> responseObserver)
Creates a new reCAPTCHA Enterprise key.
Parameters |
---|
Name | Description |
request | CreateKeyRequest
|
responseObserver | io.grpc.stub.StreamObserver<Key>
|
deleteKey(DeleteKeyRequest request, StreamObserver<Empty> responseObserver)
public void deleteKey(DeleteKeyRequest request, StreamObserver<Empty> responseObserver)
Deletes the specified key.
getKey(GetKeyRequest request, StreamObserver<Key> responseObserver)
public void getKey(GetKeyRequest request, StreamObserver<Key> responseObserver)
Returns the specified key.
Parameters |
---|
Name | Description |
request | GetKeyRequest
|
responseObserver | io.grpc.stub.StreamObserver<Key>
|
getMetrics(GetMetricsRequest request, StreamObserver<Metrics> responseObserver)
public void getMetrics(GetMetricsRequest request, StreamObserver<Metrics> responseObserver)
Get some aggregated metrics for a Key. This data can be used to build
dashboards.
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.
public void listRelatedAccountGroupMemberships(ListRelatedAccountGroupMembershipsRequest request, StreamObserver<ListRelatedAccountGroupMembershipsResponse> responseObserver)
Get memberships in a group of related accounts.
public void listRelatedAccountGroups(ListRelatedAccountGroupsRequest request, StreamObserver<ListRelatedAccountGroupsResponse> responseObserver)
List groups of related accounts.
migrateKey(MigrateKeyRequest request, StreamObserver<Key> responseObserver)
public void migrateKey(MigrateKeyRequest request, StreamObserver<Key> responseObserver)
Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise.
Once a key is migrated, it can be used from either product. SiteVerify
requests are billed as CreateAssessment calls. You must be
authenticated as one of the current owners of the reCAPTCHA Site Key, and
your user must have the reCAPTCHA Enterprise Admin IAM role in the
destination project.
retrieveLegacySecretKey(RetrieveLegacySecretKeyRequest request, StreamObserver<RetrieveLegacySecretKeyResponse> responseObserver)
public void retrieveLegacySecretKey(RetrieveLegacySecretKeyRequest request, StreamObserver<RetrieveLegacySecretKeyResponse> responseObserver)
Returns the secret key related to the specified public key.
You must use the legacy secret key only in a 3rd party integration with
legacy reCAPTCHA.
public void searchRelatedAccountGroupMemberships(SearchRelatedAccountGroupMembershipsRequest request, StreamObserver<SearchRelatedAccountGroupMembershipsResponse> responseObserver)
Search group memberships related to a given account.
updateKey(UpdateKeyRequest request, StreamObserver<Key> responseObserver)
public void updateKey(UpdateKeyRequest request, StreamObserver<Key> responseObserver)
Updates the specified key.
Parameters |
---|
Name | Description |
request | UpdateKeyRequest
|
responseObserver | io.grpc.stub.StreamObserver<Key>
|