Google BigQuery · Schema

QueryRequest

AnalyticsBig DataCloudData WarehouseServerlessSQL

Properties

Name Type Description
query string A query string to execute using GoogleSQL or legacy SQL
maxResults integer The maximum number of rows of data to return per page
defaultDataset object
useLegacySql boolean Whether to use legacy SQL dialect
timeoutMs integer Timeout in milliseconds for the query to complete
dryRun boolean If true, the query is not executed
View JSON Schema on GitHub

JSON Schema

google-bigquery-queryrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/QueryRequest",
  "title": "QueryRequest",
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "A query string to execute using GoogleSQL or legacy SQL"
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of rows of data to return per page"
    },
    "defaultDataset": {
      "$ref": "#/components/schemas/DatasetReference"
    },
    "useLegacySql": {
      "type": "boolean",
      "description": "Whether to use legacy SQL dialect"
    },
    "timeoutMs": {
      "type": "integer",
      "description": "Timeout in milliseconds for the query to complete"
    },
    "dryRun": {
      "type": "boolean",
      "description": "If true, the query is not executed"
    }
  }
}