pub struct GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig {
pub name: Option<String>,
pub risk_analysis: Option<GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfigRiskAnalysis>,
pub site_key: Option<String>,
pub token_ttl: Option<Duration>,
}Expand description
An app’s reCAPTCHA Enterprise configuration object. This configuration is used by ExchangeRecaptchaEnterpriseToken to validate reCAPTCHA tokens issued to apps by reCAPTCHA Enterprise. It also controls certain properties of the returned AppCheckToken, such as its ttl.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- apps recaptcha enterprise config get projects (response)
- apps recaptcha enterprise config patch projects (request|response)
Fields§
§name: Option<String>Required. The relative resource name of the reCAPTCHA Enterprise configuration object, in the format: projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig
risk_analysis: Option<GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfigRiskAnalysis>Specifies risk tolerance and requirements for your application. These settings correspond to requirements on the riskAnalysis tuple in the assessment obtained from reCAPTCHA Enterprise. The default values for these settings work for most apps, and are recommended.
site_key: Option<String>The score-based site key created in reCAPTCHA Enterprise used to invoke reCAPTCHA and generate the reCAPTCHA tokens for your application. Important: This is not the site_secret (as it is in reCAPTCHA v3), but rather your score-based reCAPTCHA Enterprise site key.
token_ttl: Option<Duration>Specifies the duration for which App Check tokens exchanged from reCAPTCHA Enterprise tokens will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
Trait Implementations§
Source§impl Clone for GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig
impl Clone for GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig
Source§fn clone(&self) -> GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig
fn clone(&self) -> GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more