How to deploy flexible app-engine with python version >3.8 in terraform

I dont see constructs in terraform resource “google_app_engine_flexible_app_version” to specify the below config as suggested in The Python runtime  |  Google App Engine flexible environment docs  |  Google Cloud. Please help me to deploy flexible appengine using terraform with python version 3.8 and above.

operating_system: “ubuntu22”
runtime_version: “3.12”