Class RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceBlockingStub>
-
- com.google.recaptchaenterprise.v1.RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceBlockingStub
-
- Enclosing class:
- RecaptchaEnterpriseServiceGrpc
public static final class RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceBlockingStub>
A stub to allow clients to do synchronous 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 AnnotateAssessmentResponseannotateAssessment(AnnotateAssessmentRequest request)Annotates a previously created Assessment to provide additional information on whether the event turned out to be authentic or fraudulent.protected RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)AssessmentcreateAssessment(CreateAssessmentRequest request)Creates an Assessment of the likelihood an event is legitimate.KeycreateKey(CreateKeyRequest request)Creates a new reCAPTCHA Enterprise key.com.google.protobuf.EmptydeleteKey(DeleteKeyRequest request)Deletes the specified key.KeygetKey(GetKeyRequest request)Returns the specified key.MetricsgetMetrics(GetMetricsRequest request)Get some aggregated metrics for a Key.ListKeysResponselistKeys(ListKeysRequest request)Returns the list of all keys that belong to a project.ListRelatedAccountGroupMembershipsResponselistRelatedAccountGroupMemberships(ListRelatedAccountGroupMembershipsRequest request)Get memberships in a group of related accounts.ListRelatedAccountGroupsResponselistRelatedAccountGroups(ListRelatedAccountGroupsRequest request)List groups of related accounts.KeymigrateKey(MigrateKeyRequest request)Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise.RetrieveLegacySecretKeyResponseretrieveLegacySecretKey(RetrieveLegacySecretKeyRequest request)Returns the secret key related to the specified public key.SearchRelatedAccountGroupMembershipsResponsesearchRelatedAccountGroupMemberships(SearchRelatedAccountGroupMembershipsRequest request)Search group memberships related to a given account.KeyupdateKey(UpdateKeyRequest request)Updates the specified key.
-
-
-
Method Detail
-
build
protected RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceBlockingStub>
-
createAssessment
public Assessment createAssessment(CreateAssessmentRequest request)
Creates an Assessment of the likelihood an event is legitimate.
-
annotateAssessment
public 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 Key createKey(CreateKeyRequest request)
Creates a new reCAPTCHA Enterprise key.
-
listKeys
public ListKeysResponse listKeys(ListKeysRequest request)
Returns the list of all keys that belong to a project.
-
retrieveLegacySecretKey
public 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 Key getKey(GetKeyRequest request)
Returns the specified key.
-
updateKey
public Key updateKey(UpdateKeyRequest request)
Updates the specified key.
-
deleteKey
public com.google.protobuf.Empty deleteKey(DeleteKeyRequest request)
Deletes the specified key.
-
migrateKey
public 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 Metrics getMetrics(GetMetricsRequest request)
Get some aggregated metrics for a Key. This data can be used to build dashboards.
-
listRelatedAccountGroups
public ListRelatedAccountGroupsResponse listRelatedAccountGroups(ListRelatedAccountGroupsRequest request)
List groups of related accounts.
-
listRelatedAccountGroupMemberships
public ListRelatedAccountGroupMembershipsResponse listRelatedAccountGroupMemberships(ListRelatedAccountGroupMembershipsRequest request)
Get memberships in a group of related accounts.
-
searchRelatedAccountGroupMemberships
public SearchRelatedAccountGroupMembershipsResponse searchRelatedAccountGroupMemberships(SearchRelatedAccountGroupMembershipsRequest request)
Search group memberships related to a given account.
-
-