Class RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceFutureStub

    • Method Detail

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