I\'m trying to automate the process of creating and managing my projects on Google Cloud Platform. I want to create new project and generate API keys for it and use them. >
From My little experience you can't . You have to use Google API Console
Google API Console