How to check quotas for Google Vision API? - google-app-engine

I need to check quotas for Google Vision API programmatically
OR
to set quota limits on API console site directly.
actually I need some way to limit API calls to 1000/month which are free.
Any ideas ?

You can check your project's quotas through the console in two ways:
A) APIs & Services / All APIs enabled will be shown.
B) IAM & admin / Quotas / In services filter: Cloud Vision API.
If you want to edit your quotas, you can do it up to their maximum values.
To request an increase above the maximum quota, edit your quota with your requested increase and justification and submit your update.
There isn't yet a way to change / access programmatically the quotas yet. "Working with Quotas" has the general information about this,how to manage and monitoring them.

Related

AppEngine blobstore.CreateUploadURL call failing due to quota for paid app

When I try to store an image into my AppEngine blobstore, I get the following error:
The API call blobstore.CreateUploadURL() required more quota than is available.
My app is a paid app. I checked my storage bucket where Google stores blobstore data and it is at 5GB -- the limit they set for free apps. I have tried to find the quota settings both in my app engine settings as well as in the general quota settings for my project, but I can't seem to find my blobstore quota anywhere.
I expect to be able to store more than 5GB of data, but it seems that I've hit some sort of limit. I don't want to migrate to Google Cloud Storage because that will take time.
You will need to enable billing on your project to uncap the 5GB limit.
If you have a daily budget for your application it could affect the quota, you could raise it to a non-zero value and see if that helps.

Google Cloud Compute Engine Warning/"Budget" Emails

I would like to receive a warning email if my Google Compute Engine's CPU performance exceeds a certain percentage. Something similar to how the billing budget emails work. Is there anything currently available or a similar solution?
You can use Stackdriver monitoring.
Alerting / Create a Policy / GCE instance as a condition.

How do I increase Search API quota on App Engine?

I keep receiving errors in my app like
OverQuotaError: The API call search.DeleteDocument() required more quota than is available.
I can't find anywhere in my dashboard to adjust these quotas - only see what they are. How can this be done?

How can you check Search API Quota usage in GAE?

For a few days in a row I have a Search API error:
OverQuotaError: The API call search.IndexDocument()
required more quota than is available.
I almost sure that I have not reached [quota limits] but I cannot find a way to make sure.
How can I check current quota usage, if not in admin them maybe by code.
You can't check Search quota usage right now. It'll be viewable in admin console soon.
You can now check your Search API Quota from within the Quota Admin Console. It is located below the Storage section, of the Quote Details page. This feature was added yesterday (5-23-2012) and was blogged about on the official Google App Engine Blog.
You can check quotas for all Google services which provides API here. I don't find Custom Search API there although.
I found quotas on appengine search api for java
which says that there is a rate limiting at about 100 to 120 API calls per minute.
If you need additional quota for the App Engine search API, you can request it here.

Bandwidth usage in Google App Engine

How can I find out how my bandwidth is used in Google App Engine? I want to extract the top bandwidth hogs so I can cut down on my outgoing bandwidth usage.
App engine logs all requests. This includes information about the request (path, query string, wall/cpu/api time, and approximate data transfer out in kb) and the requester (IP address and (if the user is logged in) google account name). You should be able to compute a reasonable estimate based on this information.
You can periodically download your app's logs with appcfg. How often you need to do this will be based on how much traffic your site handles.
Also it may be helpful for you to review the usage from the admin console (all up and via the logs) as shown below - the link to the admin console is at https://appengine.google.com/

Resources