The queryQuotaDefaultSettings() GraphQL query retrieves query quota default settings.

For more information on query quotas, see the Query Quotas documentation page.

Syntax

Below is the syntax for the queryQuotaDefaultSettings() query field:

queryQuotaDefaultSettings: [QueryQuotaIntervalSetting!]!

Given Datatypes

For the given datatype, QueryQuotaIntervalSetting, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: QueryQuotaIntervalSetting

ParameterTypeRequired[a]DefaultDescription
intervalQueryQuotaIntervalyes The interval for setting the query quota: PerDay, PerHour, PerTenMinutes, or PerMinute.
measurementKindQueryQuotaMeasurementKindyes The kind of measurement: StaticCost, LiveCost, or QueryCount.
valuelong  The query quota value.
valueKindQueryQuotaIntervalSettingKindyes The kind of value: Limitless or Limited.
sourceQueryQuotaIntervalSettingSourceyes The source of the query quota: Default or UserSpecified.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.