Usage Limits

This document contains current API restrictions and usage limits when using the Cloud Data Loss Prevention (DLP) API. For billing information, see the pricing page.

These limits apply to each Google Cloud Platform Console project and are shared across all applications and IP addresses using that project.

Lower quotas can be set in the Google Cloud Platform Console.

Request quotas

The current API usage quotas for the DLP API are as follows (and are subject to change):

Request Quota Value
Requests per minute 600

Content limits

The DLP API enforces the following usage limits:

Content Limit Limit
Requests to projects.image.redact 4 MB
Default Request Size Limit .5 MB

Larger files should be hosted on Cloud Storage to be inspected.

Resource Limits

The DLP API enforces the following limits on stored resources per project.

Resource Limit
Maximum number of templates 1000
Maximum number of job triggers 100
Maximum number of running jobs 100

Content inspection / redaction limits

The DLP API enforces the following usage limits for inspecting and redacting content sent directly to the API as text or images:

Type of Limit Usage Limit
Maximum number of custom dictionaries per request 10
Maximum size of word list per custom dictionary 128 KB
Maximum number of detection rules per custom info type 5
Maximum number of custom info types per request 20
Maximum size of each quote 4 KB

Storage inspection limits

The DLP API enforces the following usage limits for inspecting Google Cloud Platform storage repositories:

Type of Limit Usage Limit
Maximum number of storage blocks per request 1
Maximum total scan size 2 TB
Maximum size of individual text items .5 MB
Maximum number of custom dictionaries per request 10
Maximum size of word list per custom dictionary 128 KB
Maximum number of detection rules per custom info type 5
Maximum number of custom info types per request 20
Maximum size of each quote 4 KB

Quota increases

You can edit your quotas up to their maximum values by selecting Edit Quotas from the Quotas page of the Google Cloud Platform Dashboard. To request an increase above the maximum quota, edit your quota with your requested increase and justification and submit your update. You will be notified when your request has been received. You might be contacted for more information regarding your request. After your request has been reviewed, you will be notified whether it has been approved or denied.

Rounding the size of items

Items that are inspected and redacted by the DLP API have their sizes rounded for billing purposes. For more information, see Cloud Data Loss Prevention (DLP) API Pricing.

Learn about service disruptions

The DLP API has a number of features that depend upon other GCP services. Because of these dependencies you can expect DLP API to have comparable reliability as those products.

We make a best effort to retry until any recurring errors have subsided, but degraded experiences may occur if those services experience disruptions.

Check the Google Cloud Status Dashboard for all known service disruptions. You can also subscribe to the Google Cloud Status Dashboard Updates JSON Feed or RSS Feed for push updates.

Was this page helpful? Let us know how we did:

Send feedback about...

Data Loss Prevention API