BlockedQuery is used for data to a block query. It involves a regex pattern to filter queries before they're executed.

Table: BlockedQuery

ParameterTypeRequired[a]DefaultDescription
expiresAtdatetime  The date and time in which any matching queries will cease to be blocked.
expiresInMillisecondsinteger  The amount of milliseconds until any matching queries won't be blocked.
idstringyes The unique identifier of the blocked query.
limitedToOrganizationbooleanyes Whether the blocked query should be limited to the organization.
organizationOrganization  The organization associated with the view, if any. See Organization.
patternstringyes The exact or regular expression pattern used to match queries to block.
typeBlockedQueryMatcherTypeyes How the pattern should be matched (e.g., as a regular expression). See BlockedQueryMatcherType.
unblockAllowedbooleanyes Whether the current user is allowed to unblock the query.
viewView  The related view, if any. See View.

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