How to create new machine custom type in GCP?

Hello,
I see that GCP has needed command for creating new custom machine types:

but I can not find how to be done with terraform. Is it available?