GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigResponse.fromMap constructor
GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigResponse.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigResponse.fromMap(Map<String, dynamic> map) {
return GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigResponse(
emailPasswordEnforcementState: pulumi.Input.fromValue(map['emailPasswordEnforcementState'] as String),
managedRules: pulumi.Input.fromValue(pulumi.Input.decodeList<GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponse>(map['managedRules']!, (value) => GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponse.fromMap((value as Map).cast<String, dynamic>()))),
recaptchaKeys: pulumi.Input.fromValue(pulumi.Input.decodeList<GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponse>(map['recaptchaKeys']!, (value) => GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponse.fromMap((value as Map).cast<String, dynamic>()))),
useAccountDefender: pulumi.Input.fromValue(map['useAccountDefender'] as bool),
);
}