addOrUpdateQueryQuotaDefaultSettings( )

Attention

Under Development

Our GraphQL pages are currently under development. The content, links, tables, and structure of this material may change without notice.

The addorupdatequeryquotadefaultsettings GraphQL mutation field is used to add or update default query quota settings.

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

Syntax

Below is the syntax for the addorupdatequeryquotadefaultsettings mutation field:

addOrUpdateQueryQuotaDefaultSettings(input: QueryQuotaDefaultSettingsInput!): QueryQuotaDefaultSettings!
Given Datatypes

For the input (i.e., QueryQuotaDefaultSettingsInput), there are several parameters that may be given. Below is a list of them along with their datatype and a description of each:

Table: QueryQuotaDefaultSettingsInput

ParameterTypeRequired[a]DefaultDescription
settingsQueryQuotaIntervalSettingInputyes input queryquotadefaultsettingsinput The default query quota settings. See the QueryQuotaIntervalSettingInput Table.

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


The given datatype has its own special datatype. You can click on the link below for more information on its parameters:

Returned Datatypes

As indicated by the syntax above, this mutation will return data using the input type, QueryQuotaDefaultSettings. Below is a list of the parameters of that datatype:

Table: QueryQuotaDefaultSettings

ParameterTypeRequired[a]DefaultDescription
settingsQueryQuotaIntervalSettingyes datatype queryquotadefaultsettings List of the default rules that apply to users. See QueryQuotaIntervalSetting Table.

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


The returned datatype has its own special datatypes. Click on the links below for more information on their parameters:

There are a few other simple datatypes that are short enumerated lists. Their values are provided below:

  • QueryQuotaInterval: PerDay; PerHour; PerTenMinutes; or PerMinute.

  • QueryQuotaMeasurementKind: StaticCost; LiveCost; or QueryCount.

  • QueryQuotaIntervalSettingKind: Limitless; or Limited.

  • QueryQuotaIntervalSettingSource: Default; or UserSpecified.