/// 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.
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.
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 .
pub async fn migrate_key(
            &mut self,
            request: impl tonic::IntoRequest<super::MigrateKeyRequest>,
        ) -> Result<tonic::Response<super::Key>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService/MigrateKey",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn migrate_key ( & mut self , request : impl tonic :: IntoRequest < super :: MigrateKeyRequest > , ) -> Result < tonic :: Response < super :: Key > , tonic :: Status > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise.
Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise .
&mut self
request
impl tonic::IntoRequest<super::MigrateKeyRequest>