The BlockedQuery datatype includes various settings.

Table: BlockedQuery

ParameterTypeRequired[a]DefaultDescription
idstringyes The unique identifier of the blocked query.
expiresAtdatetime  The date and time in which any matching queries will cease to be blocked.
expiresInMillisecondsinteger  The amount of milliseconds from now in which any matching queries will cease to be blocked.
patternstringyes The exact or regular expression pattern used to match queries to be blocked.
typeBlockedQueryMatcherTypeyes Whether the pattern should be matched exactly or interpreted as a regular express: EXACT, or REGEX.
viewView  The related view, if any (see View Table).
organizationOrganization  The organization associated with the view, if any (see Organization Table).

[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.