Class RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceStub

    • Method Detail

      • createAssessment

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

        public 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

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

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

        public 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

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

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

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

        public 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

        public 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.