Interface RecaptchaEnterpriseServiceGrpc.AsyncService

    • Method Detail

      • createAssessment

        default void createAssessment​(CreateAssessmentRequest request,
                                      io.grpc.stub.StreamObserver<Assessment> responseObserver)
         Creates an Assessment of the likelihood an event is legitimate.
         
      • annotateAssessment

        default void annotateAssessment​(AnnotateAssessmentRequest request,
                                        io.grpc.stub.StreamObserver<AnnotateAssessmentResponse> responseObserver)
         Annotates a previously created Assessment to provide additional information
         on whether the event turned out to be authentic or fraudulent.
         
      • createKey

        default void createKey​(CreateKeyRequest request,
                               io.grpc.stub.StreamObserver<Key> responseObserver)
         Creates a new reCAPTCHA Enterprise key.
         
      • listKeys

        default void listKeys​(ListKeysRequest request,
                              io.grpc.stub.StreamObserver<ListKeysResponse> responseObserver)
         Returns the list of all keys that belong to a project.
         
      • retrieveLegacySecretKey

        default void retrieveLegacySecretKey​(RetrieveLegacySecretKeyRequest request,
                                             io.grpc.stub.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.
         
      • getKey

        default void getKey​(GetKeyRequest request,
                            io.grpc.stub.StreamObserver<Key> responseObserver)
         Returns the specified key.
         
      • updateKey

        default void updateKey​(UpdateKeyRequest request,
                               io.grpc.stub.StreamObserver<Key> responseObserver)
         Updates the specified key.
         
      • deleteKey

        default void deleteKey​(DeleteKeyRequest request,
                               io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes the specified key.
         
      • migrateKey

        default void migrateKey​(MigrateKeyRequest request,
                                io.grpc.stub.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.
         
      • getMetrics

        default void getMetrics​(GetMetricsRequest request,
                                io.grpc.stub.StreamObserver<Metrics> responseObserver)
         Get some aggregated metrics for a Key. This data can be used to build
         dashboards.