Without the service account having the Pub/sub admin role, mvn package throws the same 403 error as in #48 Running com.google.cloud.pubsub.client.demos.cli.PubsubIntegrationTest com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden { "code" : 403, "errors" : [ { "domain" : "global", "message" : "User not authorized to perform this action.", "reason" : "forbidden" } ], "message" : "User not authorized to perform this action.", "status" : "PERMISSION_DENIED" }
Without the service account having the Pub/sub admin role, mvn package throws the same 403 error as in #48
Running com.google.cloud.pubsub.client.demos.cli.PubsubIntegrationTest
com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
{
"code" : 403,
"errors" : [ {
"domain" : "global",
"message" : "User not authorized to perform this action.",
"reason" : "forbidden"
} ],
"message" : "User not authorized to perform this action.",
"status" : "PERMISSION_DENIED"
}