{
  "service": "google_bigquery",
  "displayName": "Google BigQuery",
  "categories": [
    "Data",
    "Developer Tools"
  ],
  "authTypes": [
    "oauth2"
  ],
  "auth": [
    {
      "type": "oauth2",
      "authorizationUrl": "https://accounts.google.com/o/oauth2/v2/auth",
      "tokenUrl": "https://oauth2.googleapis.com/token",
      "scopes": [
        "https://www.googleapis.com/auth/bigquery",
        "https://www.googleapis.com/auth/bigquery.readonly",
        "https://www.googleapis.com/auth/bigquery.insertdata",
        "https://www.googleapis.com/auth/devstorage.read_only",
        "https://www.googleapis.com/auth/devstorage.read_write"
      ],
      "tokenEndpointAuthMethod": "client_secret_post",
      "authorizationParams": {
        "access_type": "offline",
        "prompt": "consent"
      }
    }
  ],
  "homepageUrl": "https://cloud.google.com/bigquery",
  "actions": [
    {
      "id": "google_bigquery.cancel_job",
      "service": "google_bigquery",
      "name": "cancel_job",
      "description": "Cancel a BigQuery job.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "jobId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job ID."
          },
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job location, such as US or europe-west1."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "jobId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "job": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "job"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.create_dataset",
      "service": "google_bigquery",
      "name": "create_dataset",
      "description": "Create a BigQuery dataset.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job location, such as US or europe-west1."
          },
          "friendlyName": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "labels": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "A BigQuery label value."
            },
            "description": "A BigQuery labels map."
          },
          "defaultTableExpirationMs": {
            "type": "string",
            "minLength": 1
          },
          "defaultPartitionExpirationMs": {
            "type": "string",
            "minLength": 1
          },
          "updateMode": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "dataset": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "dataset"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.create_routine",
      "service": "google_bigquery",
      "name": "create_routine",
      "description": "Create a BigQuery routine.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "routineId": {
            "type": "string",
            "minLength": 1
          },
          "routineType": {
            "type": "string",
            "minLength": 1
          },
          "language": {
            "type": "string",
            "minLength": 1
          },
          "definitionBody": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "arguments": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "The raw BigQuery object returned by the API."
            },
            "minItems": 1
          },
          "returnType": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "importedLibraries": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "minItems": 1
          },
          "determinismLevel": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId",
          "routineId",
          "routineType",
          "definitionBody"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "routine": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "routine"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.create_table",
      "service": "google_bigquery",
      "name": "create_table",
      "description": "Create a BigQuery table.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "tableId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery table ID."
          },
          "schema": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "friendlyName": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "labels": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "A BigQuery label value."
            },
            "description": "A BigQuery labels map."
          },
          "timePartitioning": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "rangePartitioning": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "clustering": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "view": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "materializedView": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "externalDataConfiguration": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "encryptionConfiguration": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId",
          "tableId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "table": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "table"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.delete_dataset",
      "service": "google_bigquery",
      "name": "delete_dataset",
      "description": "Delete a BigQuery dataset.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "deleteContents": {
            "type": "boolean",
            "description": "Whether to delete all tables in the dataset."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether BigQuery accepted the delete request."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "success",
          "raw"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.delete_model",
      "service": "google_bigquery",
      "name": "delete_model",
      "description": "Delete a BigQuery model.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "modelId": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId",
          "modelId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether BigQuery accepted the delete request."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "success",
          "raw"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.delete_routine",
      "service": "google_bigquery",
      "name": "delete_routine",
      "description": "Delete a BigQuery routine.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "routineId": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId",
          "routineId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether BigQuery accepted the delete request."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "success",
          "raw"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.delete_table",
      "service": "google_bigquery",
      "name": "delete_table",
      "description": "Delete a BigQuery table.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "tableId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery table ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId",
          "tableId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether BigQuery accepted the delete request."
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "success",
          "raw"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.get_dataset",
      "service": "google_bigquery",
      "name": "get_dataset",
      "description": "Retrieve BigQuery dataset metadata.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "selectedFields": {
            "type": "string",
            "minLength": 1,
            "description": "A subset of fields to return, formatted as a comma-separated list."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "dataset": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "dataset"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.get_job",
      "service": "google_bigquery",
      "name": "get_job",
      "description": "Retrieve BigQuery job metadata.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "jobId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job ID."
          },
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job location, such as US or europe-west1."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "jobId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "job": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "job"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.get_model",
      "service": "google_bigquery",
      "name": "get_model",
      "description": "Retrieve a BigQuery model.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "modelId": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId",
          "modelId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "model": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "model"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.get_query_results",
      "service": "google_bigquery",
      "name": "get_query_results",
      "description": "Poll BigQuery query job results.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "jobId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job ID."
          },
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job location, such as US or europe-west1."
          },
          "maxResults": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of results to return."
          },
          "pageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The opaque page token returned by a previous BigQuery response."
          },
          "startIndex": {
            "type": "string",
            "minLength": 1,
            "description": "The zero-based row offset to start reading from."
          },
          "timeoutMs": {
            "type": "integer",
            "minimum": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "jobId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "jobComplete": {
            "type": "boolean"
          },
          "jobReference": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true,
                "description": "The raw BigQuery object returned by the API."
              },
              {
                "type": "null"
              }
            ]
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "values": {
                  "type": "array",
                  "items": {
                    "description": "A raw BigQuery value."
                  },
                  "description": "The row values in schema order."
                },
                "raw": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "The raw BigQuery object returned by the API."
                }
              },
              "additionalProperties": true,
              "required": [
                "values",
                "raw"
              ],
              "description": "A normalized BigQuery row."
            }
          },
          "schema": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The raw BigQuery object returned by the API."
                    },
                    "description": "The fields in the BigQuery table schema."
                  },
                  "raw": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "The raw BigQuery object returned by the API."
                  }
                },
                "additionalProperties": true,
                "required": [
                  "fields",
                  "raw"
                ],
                "description": "A normalized BigQuery table schema."
              },
              {
                "type": "null"
              }
            ]
          },
          "totalRows": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "totalBytesProcessed": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "cacheHit": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "pageToken": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "jobComplete",
          "jobReference",
          "rows",
          "schema",
          "totalRows",
          "totalBytesProcessed",
          "cacheHit",
          "pageToken",
          "raw"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.get_routine",
      "service": "google_bigquery",
      "name": "get_routine",
      "description": "Retrieve a BigQuery routine.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "routineId": {
            "type": "string",
            "minLength": 1
          },
          "readMask": {
            "type": "string",
            "minLength": 1,
            "description": "A subset of fields to return, formatted as a comma-separated list."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId",
          "routineId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "routine": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "routine"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.get_table",
      "service": "google_bigquery",
      "name": "get_table",
      "description": "Retrieve BigQuery table metadata, including schema when available.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "tableId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery table ID."
          },
          "selectedFields": {
            "type": "string",
            "minLength": 1,
            "description": "A subset of fields to return, formatted as a comma-separated list."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId",
          "tableId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "table": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "table"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.insert_all",
      "service": "google_bigquery",
      "name": "insert_all",
      "description": "Insert a small batch of rows into a BigQuery table.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.insertdata"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.insertdata"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "tableId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery table ID."
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "insertId": {
                  "type": "string",
                  "minLength": 1
                },
                "json": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "The raw BigQuery object returned by the API."
                }
              },
              "additionalProperties": true,
              "required": [
                "json"
              ]
            },
            "minItems": 1
          },
          "skipInvalidRows": {
            "type": "boolean"
          },
          "ignoreUnknownValues": {
            "type": "boolean"
          },
          "templateSuffix": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId",
          "tableId",
          "rows"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "insertErrors": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "The raw BigQuery object returned by the API."
            }
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "insertErrors",
          "raw"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.list_datasets",
      "service": "google_bigquery",
      "name": "list_datasets",
      "description": "List BigQuery datasets in a Google Cloud project.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "all": {
            "type": "boolean",
            "description": "Whether to list all datasets, including hidden datasets."
          },
          "filter": {
            "type": "string",
            "minLength": 1,
            "description": "An expression for filtering datasets by label."
          },
          "maxResults": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of results to return."
          },
          "pageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The opaque page token returned by a previous BigQuery response."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "datasets": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "The raw BigQuery object returned by the API."
            }
          },
          "nextPageToken": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "datasets",
          "nextPageToken",
          "raw"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.list_jobs",
      "service": "google_bigquery",
      "name": "list_jobs",
      "description": "List BigQuery jobs in a project.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "allUsers": {
            "type": "boolean",
            "description": "Whether to list jobs owned by all users in the project."
          },
          "maxResults": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of results to return."
          },
          "pageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The opaque page token returned by a previous BigQuery response."
          },
          "projection": {
            "type": "string",
            "enum": [
              "MINIMAL",
              "FULL"
            ],
            "description": "The amount of job information to return."
          },
          "stateFilter": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "DONE",
                "PENDING",
                "RUNNING"
              ]
            },
            "description": "The BigQuery job states to include.",
            "minItems": 1
          },
          "minCreationTime": {
            "type": "string",
            "minLength": 1,
            "description": "The minimum job creation time in milliseconds since epoch."
          },
          "maxCreationTime": {
            "type": "string",
            "minLength": 1,
            "description": "The maximum job creation time in milliseconds since epoch."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "jobs": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "The raw BigQuery object returned by the API."
            }
          },
          "nextPageToken": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "jobs",
          "nextPageToken",
          "raw"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.list_models",
      "service": "google_bigquery",
      "name": "list_models",
      "description": "List BigQuery models in a dataset.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "maxResults": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of results to return."
          },
          "pageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The opaque page token returned by a previous BigQuery response."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "models": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "The raw BigQuery object returned by the API."
            }
          },
          "nextPageToken": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "models",
          "nextPageToken",
          "raw"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.list_projects",
      "service": "google_bigquery",
      "name": "list_projects",
      "description": "List Google Cloud projects accessible to BigQuery.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "maxResults": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of results to return."
          },
          "pageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The opaque page token returned by a previous BigQuery response."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "projects": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "The raw BigQuery object returned by the API."
            }
          },
          "nextPageToken": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "projects",
          "nextPageToken",
          "raw"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.list_routines",
      "service": "google_bigquery",
      "name": "list_routines",
      "description": "List BigQuery routines in a dataset.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "maxResults": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of results to return."
          },
          "pageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The opaque page token returned by a previous BigQuery response."
          },
          "readMask": {
            "type": "string",
            "minLength": 1,
            "description": "A subset of fields to return, formatted as a comma-separated list."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "routines": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "The raw BigQuery object returned by the API."
            }
          },
          "nextPageToken": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "routines",
          "nextPageToken",
          "raw"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.list_table_data",
      "service": "google_bigquery",
      "name": "list_table_data",
      "description": "List rows from a BigQuery table.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "tableId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery table ID."
          },
          "maxResults": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of results to return."
          },
          "pageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The opaque page token returned by a previous BigQuery response."
          },
          "startIndex": {
            "type": "string",
            "minLength": 1,
            "description": "The zero-based row offset to start reading from."
          },
          "selectedFields": {
            "type": "string",
            "minLength": 1,
            "description": "A subset of fields to return, formatted as a comma-separated list."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId",
          "tableId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "rows": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "values": {
                  "type": "array",
                  "items": {
                    "description": "A raw BigQuery value."
                  },
                  "description": "The row values in schema order."
                },
                "raw": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "The raw BigQuery object returned by the API."
                }
              },
              "additionalProperties": true,
              "required": [
                "values",
                "raw"
              ],
              "description": "A normalized BigQuery row."
            }
          },
          "schema": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The raw BigQuery object returned by the API."
                    },
                    "description": "The fields in the BigQuery table schema."
                  },
                  "raw": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "The raw BigQuery object returned by the API."
                  }
                },
                "additionalProperties": true,
                "required": [
                  "fields",
                  "raw"
                ],
                "description": "A normalized BigQuery table schema."
              },
              {
                "type": "null"
              }
            ]
          },
          "totalRows": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "pageToken": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "rows",
          "schema",
          "totalRows",
          "pageToken",
          "raw"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.list_tables",
      "service": "google_bigquery",
      "name": "list_tables",
      "description": "List BigQuery tables in a dataset.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "maxResults": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of results to return."
          },
          "pageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The opaque page token returned by a previous BigQuery response."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "tables": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "The raw BigQuery object returned by the API."
            }
          },
          "nextPageToken": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "tables",
          "nextPageToken",
          "raw"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.patch_dataset",
      "service": "google_bigquery",
      "name": "patch_dataset",
      "description": "Patch BigQuery dataset metadata.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job location, such as US or europe-west1."
          },
          "friendlyName": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "labels": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "A BigQuery label value."
            },
            "description": "A BigQuery labels map."
          },
          "defaultTableExpirationMs": {
            "type": "string",
            "minLength": 1
          },
          "defaultPartitionExpirationMs": {
            "type": "string",
            "minLength": 1
          },
          "updateMode": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "dataset": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "dataset"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.patch_model",
      "service": "google_bigquery",
      "name": "patch_model",
      "description": "Patch BigQuery model metadata.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "modelId": {
            "type": "string",
            "minLength": 1
          },
          "friendlyName": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "labels": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "A BigQuery label value."
            },
            "description": "A BigQuery labels map."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId",
          "modelId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "model": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "model"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.patch_table",
      "service": "google_bigquery",
      "name": "patch_table",
      "description": "Patch BigQuery table metadata.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "tableId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery table ID."
          },
          "schema": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "friendlyName": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "labels": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "A BigQuery label value."
            },
            "description": "A BigQuery labels map."
          },
          "timePartitioning": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "rangePartitioning": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "clustering": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "view": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "materializedView": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "externalDataConfiguration": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "encryptionConfiguration": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId",
          "tableId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "table": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "table"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.query",
      "service": "google_bigquery",
      "name": "query",
      "description": "Run a BigQuery SQL query synchronously.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery.readonly"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "The GoogleSQL query text to execute."
          },
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job location, such as US or europe-west1."
          },
          "maxResults": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of results to return."
          },
          "dryRun": {
            "type": "boolean",
            "description": "Whether BigQuery should validate the query without running it."
          },
          "useLegacySql": {
            "type": "boolean",
            "description": "Whether to use legacy SQL instead of GoogleSQL."
          },
          "timeoutMs": {
            "type": "integer",
            "minimum": 1,
            "description": "How long BigQuery should wait for the query to complete, in milliseconds."
          },
          "parameterMode": {
            "type": "string",
            "enum": [
              "NAMED",
              "POSITIONAL"
            ],
            "description": "The BigQuery parameter mode."
          },
          "queryParameters": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "The raw BigQuery object returned by the API."
            },
            "description": "The query parameters for parameterized SQL.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "query"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "jobComplete": {
            "type": "boolean"
          },
          "jobReference": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true,
                "description": "The raw BigQuery object returned by the API."
              },
              {
                "type": "null"
              }
            ]
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "values": {
                  "type": "array",
                  "items": {
                    "description": "A raw BigQuery value."
                  },
                  "description": "The row values in schema order."
                },
                "raw": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "The raw BigQuery object returned by the API."
                }
              },
              "additionalProperties": true,
              "required": [
                "values",
                "raw"
              ],
              "description": "A normalized BigQuery row."
            }
          },
          "schema": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The raw BigQuery object returned by the API."
                    },
                    "description": "The fields in the BigQuery table schema."
                  },
                  "raw": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "The raw BigQuery object returned by the API."
                  }
                },
                "additionalProperties": true,
                "required": [
                  "fields",
                  "raw"
                ],
                "description": "A normalized BigQuery table schema."
              },
              {
                "type": "null"
              }
            ]
          },
          "totalRows": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "totalBytesProcessed": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "cacheHit": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "pageToken": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "jobComplete",
          "jobReference",
          "rows",
          "schema",
          "totalRows",
          "totalBytesProcessed",
          "cacheHit",
          "pageToken",
          "raw"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.start_extract_job_to_gcs",
      "service": "google_bigquery",
      "name": "start_extract_job_to_gcs",
      "description": "Start a BigQuery extract job to Cloud Storage.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery",
        "https://www.googleapis.com/auth/devstorage.read_write"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery",
        "https://www.googleapis.com/auth/devstorage.read_write"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "sourceTable": {
            "type": "object",
            "properties": {
              "projectId": {
                "type": "string",
                "minLength": 1,
                "description": "The Google Cloud project ID that owns the BigQuery resource."
              },
              "datasetId": {
                "type": "string",
                "minLength": 1,
                "description": "The BigQuery dataset ID."
              },
              "tableId": {
                "type": "string",
                "minLength": 1,
                "description": "The BigQuery table ID."
              }
            },
            "additionalProperties": false,
            "required": [
              "projectId",
              "datasetId",
              "tableId"
            ],
            "description": "A BigQuery table reference."
          },
          "destinationUris": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A Cloud Storage destination URI."
            },
            "minItems": 1
          },
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job location, such as US or europe-west1."
          },
          "jobId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job ID."
          },
          "destinationFormat": {
            "type": "string",
            "minLength": 1
          },
          "compression": {
            "type": "string",
            "minLength": 1
          },
          "fieldDelimiter": {
            "type": "string",
            "minLength": 1
          },
          "printHeader": {
            "type": "boolean"
          },
          "useAvroLogicalTypes": {
            "type": "boolean"
          },
          "labels": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "A BigQuery label value."
            },
            "description": "A BigQuery labels map."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "sourceTable",
          "destinationUris"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "job": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "job"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.start_load_job_from_gcs",
      "service": "google_bigquery",
      "name": "start_load_job_from_gcs",
      "description": "Start a BigQuery load job from Cloud Storage.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery",
        "https://www.googleapis.com/auth/devstorage.read_only"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery",
        "https://www.googleapis.com/auth/devstorage.read_only"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "sourceUris": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "A Cloud Storage URI to load into BigQuery."
            },
            "minItems": 1
          },
          "destinationTable": {
            "type": "object",
            "properties": {
              "projectId": {
                "type": "string",
                "minLength": 1,
                "description": "The Google Cloud project ID that owns the BigQuery resource."
              },
              "datasetId": {
                "type": "string",
                "minLength": 1,
                "description": "The BigQuery dataset ID."
              },
              "tableId": {
                "type": "string",
                "minLength": 1,
                "description": "The BigQuery table ID."
              }
            },
            "additionalProperties": false,
            "required": [
              "projectId",
              "datasetId",
              "tableId"
            ],
            "description": "A BigQuery table reference."
          },
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job location, such as US or europe-west1."
          },
          "jobId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job ID."
          },
          "sourceFormat": {
            "type": "string",
            "minLength": 1
          },
          "schema": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "writeDisposition": {
            "type": "string",
            "minLength": 1
          },
          "createDisposition": {
            "type": "string",
            "minLength": 1
          },
          "skipLeadingRows": {
            "type": "integer",
            "minimum": 0
          },
          "fieldDelimiter": {
            "type": "string",
            "minLength": 1
          },
          "allowQuotedNewlines": {
            "type": "boolean"
          },
          "allowJaggedRows": {
            "type": "boolean"
          },
          "ignoreUnknownValues": {
            "type": "boolean"
          },
          "maxBadRecords": {
            "type": "integer",
            "minimum": 0
          },
          "autodetect": {
            "type": "boolean"
          },
          "nullMarker": {
            "type": "string",
            "minLength": 1
          },
          "encoding": {
            "type": "string",
            "minLength": 1
          },
          "timePartitioning": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "rangePartitioning": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "clustering": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "labels": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "A BigQuery label value."
            },
            "description": "A BigQuery labels map."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "sourceUris",
          "destinationTable"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "job": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "job"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.start_query_job",
      "service": "google_bigquery",
      "name": "start_query_job",
      "description": "Start an asynchronous BigQuery query job.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "The GoogleSQL query text to execute."
          },
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job location, such as US or europe-west1."
          },
          "jobId": {
            "type": "string",
            "minLength": 1,
            "description": "The optional client-provided BigQuery job ID."
          },
          "dryRun": {
            "type": "boolean",
            "description": "Whether BigQuery should validate the query without running it."
          },
          "useLegacySql": {
            "type": "boolean",
            "description": "Whether to use legacy SQL instead of GoogleSQL."
          },
          "destinationTable": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "defaultDataset": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "writeDisposition": {
            "type": "string",
            "minLength": 1
          },
          "createDisposition": {
            "type": "string",
            "minLength": 1
          },
          "priority": {
            "type": "string",
            "minLength": 1
          },
          "maximumBytesBilled": {
            "type": "string",
            "minLength": 1
          },
          "parameterMode": {
            "type": "string",
            "enum": [
              "NAMED",
              "POSITIONAL"
            ]
          },
          "queryParameters": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "The raw BigQuery object returned by the API."
            },
            "minItems": 1
          },
          "labels": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "A BigQuery label value."
            },
            "description": "A BigQuery labels map."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "query"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "job": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "job"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.update_dataset",
      "service": "google_bigquery",
      "name": "update_dataset",
      "description": "Replace BigQuery dataset metadata.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "location": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery job location, such as US or europe-west1."
          },
          "friendlyName": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "labels": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "A BigQuery label value."
            },
            "description": "A BigQuery labels map."
          },
          "defaultTableExpirationMs": {
            "type": "string",
            "minLength": 1
          },
          "defaultPartitionExpirationMs": {
            "type": "string",
            "minLength": 1
          },
          "updateMode": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "dataset": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "dataset"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.update_routine",
      "service": "google_bigquery",
      "name": "update_routine",
      "description": "Replace BigQuery routine metadata.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "routineId": {
            "type": "string",
            "minLength": 1
          },
          "routineType": {
            "type": "string",
            "minLength": 1
          },
          "language": {
            "type": "string",
            "minLength": 1
          },
          "definitionBody": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "arguments": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "description": "The raw BigQuery object returned by the API."
            },
            "minItems": 1
          },
          "returnType": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "importedLibraries": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "minItems": 1
          },
          "determinismLevel": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId",
          "routineId",
          "routineType",
          "definitionBody"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "routine": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "routine"
        ],
        "description": "Google BigQuery action output."
      }
    },
    {
      "id": "google_bigquery.update_table",
      "service": "google_bigquery",
      "name": "update_table",
      "description": "Replace BigQuery table metadata.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "providerPermissions": [
        "https://www.googleapis.com/auth/bigquery"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Cloud project ID that owns the BigQuery resource."
          },
          "datasetId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery dataset ID."
          },
          "tableId": {
            "type": "string",
            "minLength": 1,
            "description": "The BigQuery table ID."
          },
          "schema": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "friendlyName": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "labels": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "A BigQuery label value."
            },
            "description": "A BigQuery labels map."
          },
          "timePartitioning": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "rangePartitioning": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "clustering": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "view": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "materializedView": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "externalDataConfiguration": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          },
          "encryptionConfiguration": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "datasetId",
          "tableId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "table": {
            "type": "object",
            "additionalProperties": true,
            "description": "The raw BigQuery object returned by the API."
          }
        },
        "additionalProperties": true,
        "required": [
          "table"
        ],
        "description": "Google BigQuery action output."
      }
    }
  ]
}
