Build-types attributes (debuggable, optimized)

Looking at the native-platform BuildType, it has boolean attributes for debuggable and optimized. I am trying to set them, but it seems they are not currently exposed in the model. Am I missing anything?

Also, what behavior is hooked to these attributes? I.e. do Gradle’s toolchains provide default optimization/debug options?