Struct googapis::google::cloud::recaptchaenterprise::v1::recaptcha_enterprise_service_client::RecaptchaEnterpriseServiceClient [−][src]
pub struct RecaptchaEnterpriseServiceClient<T> { /* fields omitted */ }
Expand description
Service to determine the likelihood an event is legitimate.
Implementations
impl<T> RecaptchaEnterpriseServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> RecaptchaEnterpriseServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
pub fn with_interceptor<F>(
inner: T,
interceptor: F
) -> RecaptchaEnterpriseServiceClient<InterceptedService<T, F>> where
F: Interceptor,
T: Service<Request<BoxBody>, Response = Response<<T as GrpcService<BoxBody>>::ResponseBody>>,
<T as Service<Request<BoxBody>>>::Error: Into<StdError> + Send + Sync,
Compress requests with gzip
.
This requires the server to support it otherwise it might respond with an error.
Enable decompressing responses with gzip
.
pub async fn create_assessment(
&mut self,
request: impl IntoRequest<CreateAssessmentRequest>
) -> Result<Response<Assessment>, Status>
pub async fn create_assessment(
&mut self,
request: impl IntoRequest<CreateAssessmentRequest>
) -> Result<Response<Assessment>, Status>
Creates an Assessment of the likelihood an event is legitimate.
pub async fn annotate_assessment(
&mut self,
request: impl IntoRequest<AnnotateAssessmentRequest>
) -> Result<Response<AnnotateAssessmentResponse>, Status>
pub async fn annotate_assessment(
&mut self,
request: impl IntoRequest<AnnotateAssessmentRequest>
) -> Result<Response<AnnotateAssessmentResponse>, Status>
Annotates a previously created Assessment to provide additional information on whether the event turned out to be authentic or fraudulent.
pub async fn create_key(
&mut self,
request: impl IntoRequest<CreateKeyRequest>
) -> Result<Response<Key>, Status>
pub async fn create_key(
&mut self,
request: impl IntoRequest<CreateKeyRequest>
) -> Result<Response<Key>, Status>
Creates a new reCAPTCHA Enterprise key.
pub async fn list_keys(
&mut self,
request: impl IntoRequest<ListKeysRequest>
) -> Result<Response<ListKeysResponse>, Status>
pub async fn list_keys(
&mut self,
request: impl IntoRequest<ListKeysRequest>
) -> Result<Response<ListKeysResponse>, Status>
Returns the list of all keys that belong to a project.
pub async fn get_key(
&mut self,
request: impl IntoRequest<GetKeyRequest>
) -> Result<Response<Key>, Status>
pub async fn get_key(
&mut self,
request: impl IntoRequest<GetKeyRequest>
) -> Result<Response<Key>, Status>
Returns the specified key.
pub async fn update_key(
&mut self,
request: impl IntoRequest<UpdateKeyRequest>
) -> Result<Response<Key>, Status>
pub async fn update_key(
&mut self,
request: impl IntoRequest<UpdateKeyRequest>
) -> Result<Response<Key>, Status>
Updates the specified key.
pub async fn delete_key(
&mut self,
request: impl IntoRequest<DeleteKeyRequest>
) -> Result<Response<()>, Status>
pub async fn delete_key(
&mut self,
request: impl IntoRequest<DeleteKeyRequest>
) -> Result<Response<()>, Status>
Deletes the specified key.
pub async fn migrate_key(
&mut self,
request: impl IntoRequest<MigrateKeyRequest>
) -> Result<Response<Key>, Status>
pub async fn migrate_key(
&mut self,
request: impl IntoRequest<MigrateKeyRequest>
) -> Result<Response<Key>, Status>
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 get_metrics(
&mut self,
request: impl IntoRequest<GetMetricsRequest>
) -> Result<Response<Metrics>, Status>
pub async fn get_metrics(
&mut self,
request: impl IntoRequest<GetMetricsRequest>
) -> Result<Response<Metrics>, Status>
Get some aggregated metrics for a Key. This data can be used to build dashboards.
List groups of related accounts.
Get the memberships in a group of related accounts.
Search group memberships related to a given account.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for RecaptchaEnterpriseServiceClient<T> where
T: RefUnwindSafe,
impl<T> Send for RecaptchaEnterpriseServiceClient<T> where
T: Send,
impl<T> Sync for RecaptchaEnterpriseServiceClient<T> where
T: Sync,
impl<T> Unpin for RecaptchaEnterpriseServiceClient<T> where
T: Unpin,
impl<T> UnwindSafe for RecaptchaEnterpriseServiceClient<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more