Class RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceFutureStub>
-
- com.google.recaptchaenterprise.v1.RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceFutureStub
-
- Enclosing class:
- RecaptchaEnterpriseServiceGrpc
public static final class RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceFutureStub extends io.grpc.stub.AbstractFutureStub<RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service RecaptchaEnterpriseService.Service to determine the likelihood an event is legitimate.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<AnnotateAssessmentResponse>
annotateAssessment(AnnotateAssessmentRequest request)
Annotates a previously created Assessment to provide additional information on whether the event turned out to be authentic or fraudulent.protected RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<Assessment>
createAssessment(CreateAssessmentRequest request)
Creates an Assessment of the likelihood an event is legitimate.com.google.common.util.concurrent.ListenableFuture<Key>
createKey(CreateKeyRequest request)
Creates a new reCAPTCHA Enterprise key.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteKey(DeleteKeyRequest request)
Deletes the specified key.com.google.common.util.concurrent.ListenableFuture<Key>
getKey(GetKeyRequest request)
Returns the specified key.com.google.common.util.concurrent.ListenableFuture<Metrics>
getMetrics(GetMetricsRequest request)
Get some aggregated metrics for a Key.com.google.common.util.concurrent.ListenableFuture<ListKeysResponse>
listKeys(ListKeysRequest request)
Returns the list of all keys that belong to a project.com.google.common.util.concurrent.ListenableFuture<ListRelatedAccountGroupMembershipsResponse>
listRelatedAccountGroupMemberships(ListRelatedAccountGroupMembershipsRequest request)
Get memberships in a group of related accounts.com.google.common.util.concurrent.ListenableFuture<ListRelatedAccountGroupsResponse>
listRelatedAccountGroups(ListRelatedAccountGroupsRequest request)
List groups of related accounts.com.google.common.util.concurrent.ListenableFuture<Key>
migrateKey(MigrateKeyRequest request)
Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise.com.google.common.util.concurrent.ListenableFuture<RetrieveLegacySecretKeyResponse>
retrieveLegacySecretKey(RetrieveLegacySecretKeyRequest request)
Returns the secret key related to the specified public key.com.google.common.util.concurrent.ListenableFuture<SearchRelatedAccountGroupMembershipsResponse>
searchRelatedAccountGroupMemberships(SearchRelatedAccountGroupMembershipsRequest request)
Search group memberships related to a given account.com.google.common.util.concurrent.ListenableFuture<Key>
updateKey(UpdateKeyRequest request)
Updates the specified key.
-
-
-
Method Detail
-
build
protected RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceFutureStub>
-
createAssessment
public com.google.common.util.concurrent.ListenableFuture<Assessment> createAssessment(CreateAssessmentRequest request)
Creates an Assessment of the likelihood an event is legitimate.
-
annotateAssessment
public com.google.common.util.concurrent.ListenableFuture<AnnotateAssessmentResponse> annotateAssessment(AnnotateAssessmentRequest request)
Annotates a previously created Assessment to provide additional information on whether the event turned out to be authentic or fraudulent.
-
createKey
public com.google.common.util.concurrent.ListenableFuture<Key> createKey(CreateKeyRequest request)
Creates a new reCAPTCHA Enterprise key.
-
listKeys
public com.google.common.util.concurrent.ListenableFuture<ListKeysResponse> listKeys(ListKeysRequest request)
Returns the list of all keys that belong to a project.
-
retrieveLegacySecretKey
public com.google.common.util.concurrent.ListenableFuture<RetrieveLegacySecretKeyResponse> retrieveLegacySecretKey(RetrieveLegacySecretKeyRequest request)
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.
-
getKey
public com.google.common.util.concurrent.ListenableFuture<Key> getKey(GetKeyRequest request)
Returns the specified key.
-
updateKey
public com.google.common.util.concurrent.ListenableFuture<Key> updateKey(UpdateKeyRequest request)
Updates the specified key.
-
deleteKey
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteKey(DeleteKeyRequest request)
Deletes the specified key.
-
migrateKey
public com.google.common.util.concurrent.ListenableFuture<Key> migrateKey(MigrateKeyRequest request)
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.
-
getMetrics
public com.google.common.util.concurrent.ListenableFuture<Metrics> getMetrics(GetMetricsRequest request)
Get some aggregated metrics for a Key. This data can be used to build dashboards.
-
listRelatedAccountGroups
public com.google.common.util.concurrent.ListenableFuture<ListRelatedAccountGroupsResponse> listRelatedAccountGroups(ListRelatedAccountGroupsRequest request)
List groups of related accounts.
-
listRelatedAccountGroupMemberships
public com.google.common.util.concurrent.ListenableFuture<ListRelatedAccountGroupMembershipsResponse> listRelatedAccountGroupMemberships(ListRelatedAccountGroupMembershipsRequest request)
Get memberships in a group of related accounts.
-
searchRelatedAccountGroupMemberships
public com.google.common.util.concurrent.ListenableFuture<SearchRelatedAccountGroupMembershipsResponse> searchRelatedAccountGroupMemberships(SearchRelatedAccountGroupMembershipsRequest request)
Search group memberships related to a given account.
-
-