GoogleFirebaseAppCheckRecaptchaEnterpriseConfig class final
Factory wrapper for google_firebase_app_check_recaptcha_enterprise_config.
An app's reCAPTCHA Enterprise configuration object.
Required identity:
- localName: Terraform local name (the address segment after
google_firebase_app_check_recaptcha_enterprise_config.). app_id: the ID of the Firebase Web App this config binds to. See https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id. Forces replacement when changed.site_key: the score-based reCAPTCHA Enterprise site key registered in your reCAPTCHA Enterprise project. Important: this is the score-based reCAPTCHA Enterprise site key, NOT the reCAPTCHA v3siteSecret(legacy reCAPTCHA v3 has its owngoogle_firebase_app_check_recaptcha_v3_configresource).
Example:
final recaptchaEnterprise = GoogleFirebaseAppCheckRecaptchaEnterpriseConfig(
'web',
appId: TfArg.literal('1:1234567890:web:abcdef'),
siteKey: TfArg.literal('6LdXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'),
tokenTtl: TfArg.literal('3600s'),
);
Registers a reCAPTCHA Enterprise provider configuration for the given
Firebase Web App so App Check can exchange reCAPTCHA Enterprise tokens
for App Check tokens. This is the Web-side counterpart to
GoogleFirebaseAppCheckPlayIntegrityConfig (Android) and
GoogleFirebaseAppCheckAppAttestConfig / GoogleFirebaseAppCheckDeviceCheckConfig
(iOS). There are no nested blocks aside from the meta-arg timeouts,
which is intentionally not surfaced (a Terraform meta-arg).
Constructors
-
GoogleFirebaseAppCheckRecaptchaEnterpriseConfig(String localName, {required TfArg<
String> appId, required TfArg<String> siteKey, TfArg<String> ? tokenTtl, TfArg<String> ? project, LifecycleOptions? lifecycle, List<TfAddressed> ? dependsOn, StackProvider? provider, TfTimeouts? timeouts})
Properties
-
appId
→ TfRef<
String> -
Reference to
app_idattribute.no setter -
argMap
→ Map<
String, TfArg?> -
Argument-name → TfArg map. Keys are snake_case (Terraform JSON name).
Synth emits these keys directly; the factory is responsible for the
camelCase → snake_case translation at construction time.
finalinherited
- defaultProvider → String
-
The provider name a block without provider uses: by default the
prefix of terraformType (
googleforgoogle_pubsub_topic).no setterinherited -
dependsOn
→ List<
TfAddressed> ? -
Optional
depends_on = [...]: the resources, data sources and module calls this block waits for, e.g.[api, ...apiDeps]. Terraform takes whole blocks only, so an entry is never an attribute.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
-
id
→ TfRef<
String> -
Reference to
idattribute. Same asnamefor this resource.no setter - kind → ResourceKind
-
Always
ResourceKind.resource. Overridden byData.no setterinherited - lifecycle → LifecycleOptions?
-
Optional
lifecycle { ... }block.finalinherited - localName → String
-
User-supplied local name within a Stack.
finalinherited
-
name
→ TfRef<
String> -
Reference to
nameattribute (the relative resource name of the reCAPTCHA Enterprise configuration object, in the shapeprojects/{project}/apps/{app_id}/recaptchaEnterpriseConfig).no setter -
project
→ TfRef<
String> -
Reference to
projectattribute.no setter - provider → StackProvider?
-
Optional Terraform
providermeta-argument: the provider configuration this block uses, e.g. aGoogleProviderwith analiasthe Stack registered withaddProvider.finalinherited -
ref
→ RefTo<
GoogleFirebaseAppCheckRecaptchaEnterpriseConfig> -
A reference to this resource, for arguments typed
RefTo<GoogleFirebaseAppCheckRecaptchaEnterpriseConfig>.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sensitiveFields
→ Set<
String> -
Field names that are
@Sensitiveper the IR-derived per-resource constant. Curated factories override with a baked-instatic const Set<String>(file-private in v0.5+).no setteroverride -
siteKey
→ TfRef<
String> -
Reference to
site_keyattribute.no setter - supportsDeletionProtection → bool
-
Capability flag: true when this resource's underlying Terraform
schema has a
deletion_protectionboolean attribute that the synth-time devMode flow can flip tofalse. Defaults to false; the codegen emitter overrides this totruefor wrappers whose schema includes the attribute.no setterinherited - terraformType → String
-
Terraform resource type, e.g.
google_pubsub_topic.finalinherited - tfAddress → String
-
Terraform address
<terraformType>.<localName>, e.g.google_pubsub_topic.orders.no setterinherited - timeouts → TfTimeouts?
-
Optional
timeouts { ... }block: how long Terraform waits for each operation. Provider-neutral like lifecycle — synth copies the duration strings verbatim, andterraform validatedecides whether this resource's schema declares the operations set here.finalinherited -
tokenTtl
→ TfRef<
String> -
Reference to
token_ttlattribute.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited