I am trying to manually write a log entry using Google Cloud Logging API.
Before doing this via code, I am first trying to do it using the Google APIs Explorer. Here is a screen shot of the request I've built using this tool:

- In
projectsIdI have the Google Project Id that I've copied from the Google Developer Console. - Likewise for
metadata.projectId. - In
metadata.userIdI have the Client Id of the same Service account that I'm using to authenticate (OAuth2) against the Google Logging API. - Google Logging API is enabled for the project.
- The Service account belong to the project and has the "Can edit" permission.
- I'm 99% sure that I've setup OAuth2 correctly for the request.
When I execute this request, I get the following response:
{
"error":
{
"code": 400,
"message": "Unsupported service specified",
"status": "INVALID_ARGUMENT"
}
}
Why? and how can I fix this?