{"projectId": string,"datasetId": string,"tableId": string,"gcsStagingDir": string,"dataSchema": string,// Union field partition can be only one of the following:"partitionDate": {object (Date)}// End of list of possible types for union field partition.}
Fields
projectId
string
The project ID or the project number that contains the BigQuery source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
datasetId
string
Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
tableId
string
Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.
gcsStagingDir
string
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.
dataSchema
string
The schema to use when parsing the data from the source.
custom: One custom data per row in arbitrary format that conforms to the defined Schema of the data store. This can only be used by the GENERIC Data Store vertical.
Union field partition. BigQuery table partition info. Leave this empty if the BigQuery table is not partitioned. partition can be only one of the following:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThe BigQuery source import requires specifying the \u003ccode\u003eprojectId\u003c/code\u003e, \u003ccode\u003edatasetId\u003c/code\u003e, and \u003ccode\u003etableId\u003c/code\u003e as strings, with length limits of 128 and 1,024 characters respectively for the latter two.\u003c/p\u003e\n"],["\u003cp\u003eAn intermediate Cloud Storage directory, \u003ccode\u003egcsStagingDir\u003c/code\u003e, can be specified for the BigQuery export, with a length limit of 2,000 characters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edataSchema\u003c/code\u003e field defines the schema used when parsing the data, supporting \u003ccode\u003euser_event\u003c/code\u003e and \u003ccode\u003edocument\u003c/code\u003e for specific imports or \u003ccode\u003ecustom\u003c/code\u003e for arbitrary formats with a defined schema.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epartitionDate\u003c/code\u003e object is used to define the time partition of a BigQuery table and is in \u003ccode\u003eYYYY-MM-DD\u003c/code\u003e format, but can be left empty if the table isn't partitioned.\u003c/p\u003e\n"]]],[],null,["# BigQuerySource\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nBigQuery source import data from."]]