Google Vision AI set monthly quotas - google-cloud-platform

Is there any way to set a monthly quota for Google Vision AI?
Right now I'm able to find quotas only for:
requests per minute;
requests per user per minute.
I just want to be sure that I won't spend more than a predefined number of dollars for this API.

You can set up billing alerts so that you are notified. You can break it down by Product, including Vision API.
There's no way to have Vision API automatically block all requests once reaching a certain dollar amount. However you could listen for budget alerts and have your app react accordingly.

Related

Getting Quota Exceeded on calling the Google Photos API. What are the actual quotas?

I am uploading photos to Google Photos and placing them in Albums via the Photos Library API.
Every now and then, I get an error "Quota exceeded for quota metric 'Write requests' and limit 'Write requests per minute per user' of service 'photoslibrary.googleapis.com' for consumer 'project_number:XXXXXXX'.
The documentation states 10,000 requests per project per day. But then it says In addition to these limits there are other quotas that exist to protect the reliability and integrity of our systems. I am assuming it's referring to the "per minute per user" that I am receiving.
So what is the actual limit? How many times can I call the API per minute?
P.S. There is a API quote page for Google Sheets API, which states that the limit is 60 requests per minute. Does that limit also apply to other Google APIs?
P.P.S. There is a similar question from 2018, but the issue was too much bandwidth - doesn't apply to my situation.

Pricing on google calendar API quota increase

My google calendar usage already exceeded the "Queries per minute" quota, which is 10,000. And my application hits 20,000 requests per minute for the moment, so I'm expecting to increase the quota to 200,000. When I tried to do it I was asked to create a billing account, which I'm going to do, but I need to know the pricing before that.
Despite my effort I was unable to find the exact information on pricing. Please help me understand the pricing involved with increasing the quotas of google calendar API.
To give more information about the application, this is a backup application where we backup all the Google workspace data including the calendar events using service accounts. So all the payment for calendar service will be done by my company.
Thank you.

Is it normal to have a lot of Compute Engine API requests?

I was looking at my API & Services dashboard and I see a lot of requests to the Compute Engine API. I created a VM a few days ago but have stopped it. However I am still seeing ~50 requests in the last hour. and overall from creating the instance and adding stuff there has been ~18,000 requests in total.
Is this normal behavior? Can I be billed for this amount of requests? Is there a limit?
There are two types of API requests. Those that your code (Cloud SDK) create or service to service requests and those made by Google Cloud to manage/monitor your services.
Is this normal behavior?
For Google Cloud management, yes. My account has millions of API requests.
Can I be billed for this amount of requests?
Yes. If you click on the "Compute Engine API" from "APIs & Services". However, I am not sure how the breakdown in pricing is calculated. Some services such as Stackdriver show "no billing information".
Is there a limit?
For Google Management and Monitoring API calls, I am not sure but I believe that Google does not limit itself but I might be wrong to prevent errant services (bugs).
For API calls that you or your services generate, yes for both a quota and request per second. Rate limits are enforced every 100 seconds and are refreshed. This limit is per project: details. Once you exceed these limits (quota/rate) your API calls will receive 403 (rateLimitExceeded) until the quota is refreshed.

Signed up for Google Compute Engine without knowing

Hello Community Support
I signed up for the Google Compute Engine and did not realise that I would be charged $1000. The payment did not go through as there is not enough money on my credit card and I cannot pay the balance.
I didnt want to phone Google Support as they may hassle me for payment
Can you make any suggestions for a way to resolve this?
Thanks
sas
Google provides free support for Google Cloud billing questions - contact them.
Google Cloud Billing Support
I signed up for the Google Compute Engine and did not realise that I
would be charged $1000.
Google Cloud will automatically charge your card when you reach thresholds. The default for new accounts is $100.00 USD. Were you charged $100.00?
Additionally Google implements quotas for Compute resources. What type of resouce did you create that incurred $1,000.00 in charges? This would have exceeded your new account quota limit, so I wonder how you accomplished this ...
There is something odd about your first credit card charge being $1,000 USD as you should have received a number of charges for $100.00 each. After a credit card payment fails, you will receive billing payment notices. None of this would have happened mysteriously unless you do not read your email or SPAM filters blocked the notices.
Always take the time to learn what cloud resources cost. Understand that pricing, billing, resources and usage are important items not to be overlooked. Google, like most companies, is in the business to provide services and products that customers want and to make a profit while doing so.

Will an alert created on Google Cloud Platform (on section Budget & Alerts) restrict my spending if it goes over the specified amount?

About Google Cloud Platform, section Budget & Alerts.
If I go over the configured Budget on 'Budgets & alerts' session, will the service stop working? It is not clear to me if this section is just about alerts or if it will limit the services provided by Google.
Thank you
Exceeding your budget does not impact your running resources, or your ability to use more.
Setting a budget lets you track how your expenditure is growing relative to your budget. You can also create alerts to notify you when spending exceeds a percentage of your budget.