I can create OAuth2.0 Client IDs and Client Secret with Authorized redirect URIs using the GUI in GCP.. The Console URL is given below for reference
https://console.cloud.google.com/apis/credentials
How do we do this in cloud shell or with the GCloud SDK