Cannot enable API on GCP (User role=Owner && Billing account is linked) - google-cloud-platform

I am using the same process with GCP with several projects, and never had this issue.
The issue
Not able to enable APIs (Cloud Run etc..)
Missing Required Permission
You are missing the required permission: billing.accounts.list
Some info
I am logged in as an Owner
The project has a Billing account linked

The Cloud Console Engineering team is aware of this issue as it has been reported a few days ago. A workaround by the engineering team was to enable them with the gcloud command tool.
A fix for the issue has been rolled out which should take effect at some point today to enable your API's but sometimes it takes some time to see the changes.
But probably you will be able to enable your API tomorrow.

Related

My Cloud account seems to be hacked. How to remove extra projects?

I haven't used Google Cloud in years and today I've logged in and I've found that there are several projects in https://console.firebase.google.com/u/0/
and https://console.cloud.google.com/cloud-resource-manager?organizationId=0&authuser=0 that I didn't create.
I'm not the owner of those projects and I can't do anything with them.
What can I do to clean this up?
My GMail account is protected with 2FA, how did they managed to create these projects?
Any hint about where to look for help would be great as Google doesn't seem to care unless I pay for a support plan.
Most likely you do not have a problem.
You can be a member of a project thru Google Groups and other methods.
To double-check, go to your Google Cloud Billing Account. There you can see the projects that you are responsible for. If the project is not listed there, then you are not paying for the project.
If there is a project that you do not know about connected to your billing account, immediately contact Google Cloud Billing Support which is free.

Cloud Scheduler Page Access Issue - Shared project

The manager holds the account that provides billing to the said project, now I cannot go to Cloud Scheduler page due to my account not having a billing setup, therefore my workaround is to manually input the link directly to the page like this
https://console.cloud.google.com/cloudscheduler?project={PROJECT_ID}
but now it no longer work and throwing error page. Supposedly I am able to access "Cloud Scheduler" page regardless if the account I use does not have a billing setup since the billing was already made by other account on this shared the project right? Is anyone having the same issue as of this date? Any solution?
It seems the billing card that being used is no longer valid or having some issue.

FAILED_PRECONDITION: Google Cloud Platform service has been suspended. Please contact support to restore service

I'm just starting on GCP, i want to create a project but it just fails with generic error
cloud shell at least give some useless info to contact support:
ERROR: (gcloud.projects.create) FAILED_PRECONDITION: Google Cloud Platform service has been suspended. Please contact support to restore service.
- '#type': type.googleapis.com/google.rpc.PreconditionFailure
violations:
- description: Google Cloud Platform service has been suspended. Please contact
support to restore service.
type: SERVICE
Probably this was caused by some billing issue in the past (3+years ?), actually i have just 1 active billing account..
But i have no way to contact the support as i have no project to select... anyone know how to fix this loophole?
Unfortunately, Stack Overflow community can do nothing in such cases.
To solve your issue you should reach out to Billing and Payments Support team and they can definitely investigate your issue related to suspension and would be able to advise you way forward.
In addition, have a look at the documentation Project suspension guidelines section Google Cloud project suspension
Google Cloud projects may be suspended due to violations of the GCP
ToS, including the Google Cloud Acceptable Use Policy (GCP AUP). When
activities that violate the Google Cloud AUP or ToS are detected in a
project, the project owner has an obligation to fix the violation
immediately. If the violation is not fixed, Google may take action to
suspend the project. It is important that Google Cloud developers
check the project owner email account regularly. If Google suspends a
Google Cloud project then all the associated Google Cloud workloads
will be suspended as well. The owner of a suspended project will
receive a notification email from google-cloud-compliance#google.com
with resources to appeal.
also, at the section Billing account suspension:
Google Cloud billing accounts may be suspended due to violations of
Google Cloud ToS or for suspected fraud. If a billing account is
suspended then all Google Cloud resources attached to that billing
account are suspended as well.

Dataprep doesn't works - Cloud Dataflow Service Agent

I made a mistake deleting an user service-[project number]#dataflow-service-producer-prod.iam.gserviceaccount.com in Service accounts, I should have deleted another user.
After that, the Dataprep stopped running the jobs.
I've checked all guidelines about dataflow and dataprep: if the API is enable (yes, it is). If there is a proper service account (yes). But I don't know what rules to assign to these accounts.
I tried assigning the "Cloud Dataflow Service Agent" role for this account, but it doesn't appear for me >
I tried too assigning another roles, but didn't work.
It all started when I deleted this account erroneously.
Someone knows how solve this?
PS: I'm working progress with my English, sorry for some mistakes.
If you accidentally deleted the Dataflow service account, disable Dataflow API then re-enable it will create the service account again automatically.
Disabling/Enabling the API is not recommended as associated resources will be impacted. You should rather undelete the default service account in the following 30 days. You would need its ACCOUNT_UNIQUE_ID that can be found in the generated logs when it was deleted. Find details here.

Issue Enabling Billing

I have added a credit card and associated the billing account with my project. However, when I hit the Google Vision API with credentials associated with that project, I get the "Project XXXXX has billing disabled. Please enable it." Does anyone know if there are any tricks to get the project to recognize that billing has been added?
I had the same issue when running the iOS sample application. Make sure you have enabled the Google Cloud Vision API in the API Manager of the Google Cloud Platform console. Once I did this I still had the problem you described. I tried disabling/enabling, which did not help. However, after waiting roughly 24 hours the issue went away and the application is now working.