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 v3 siteSecret (legacy reCAPTCHA v3 has its own google_firebase_app_check_recaptcha_v3_config resource).

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

Inheritance

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_id attribute.
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 (google for google_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 id attribute. Same as name for this resource.
no setter
kind → ResourceKind
Always ResourceKind.resource. Overridden by Data.
no setterinherited
lifecycle → LifecycleOptions?
Optional lifecycle { ... } block.
finalinherited
localName → String
User-supplied local name within a Stack.
finalinherited
name → TfRef<String>
Reference to name attribute (the relative resource name of the reCAPTCHA Enterprise configuration object, in the shape projects/{project}/apps/{app_id}/recaptchaEnterpriseConfig).
no setter
project → TfRef<String>
Reference to project attribute.
no setter
provider → StackProvider?
Optional Terraform provider meta-argument: the provider configuration this block uses, e.g. a GoogleProvider with an alias the Stack registered with addProvider.
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 @Sensitive per the IR-derived per-resource constant. Curated factories override with a baked-in static const Set<String> (file-private in v0.5+).
no setteroverride
siteKey → TfRef<String>
Reference to site_key attribute.
no setter
supportsDeletionProtection → bool
Capability flag: true when this resource's underlying Terraform schema has a deletion_protection boolean attribute that the synth-time devMode flow can flip to false. Defaults to false; the codegen emitter overrides this to true for 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, and terraform validate decides whether this resource's schema declares the operations set here.
finalinherited
tokenTtl → TfRef<String>
Reference to token_ttl attribute.
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

Constants

tfType → const String