Troubleshooting

Permission Denied

Make sure that you have the necessary Identity and Access Management (IAM) permissions on your project. The API Keys Admin role (roles/serviceusage.apiKeysAdmin) includes permissions to call all of the methods in the API Keys API.