Reference documentation and code samples for the BigQuery Data Transfer V1 Client class ImportedDataInfo.
Describes data which should be imported.
Generated from protobuf message google.cloud.bigquery.datatransfer.v1.ImportedDataInfo
Namespace
Google \ Cloud \ BigQuery \ DataTransfer \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ sql
string
SQL query to run. When empty, API checks that there is only one table_def specified and loads this table. Only Standard SQL queries are accepted. Legacy SQL is not allowed.
↳ destination_table_id
string
Table where results should be written.
↳ destination_table_description
string
The description of a destination table. This can be several sentences or paragraphs describing the table contents in detail.
↳ table_defs
array< Google\Cloud\BigQuery\DataTransfer\V1\ImportedDataInfo\TableDefinition
>
When used WITHOUT the "sql" parameter, describes the schema of the destination table. When used WITH the "sql" parameter, describes tables with data stored outside of BigQuery.
↳ user_defined_functions
string[]
Inline code for User-defined function resources. Ignored when "sql" parameter is empty.
↳ write_disposition
int
Specifies the action if the destination table already exists.
getSql
SQL query to run. When empty, API checks that there is only one table_def specified and loads this table. Only Standard SQL queries are accepted. Legacy SQL is not allowed.
string
setSql
SQL query to run. When empty, API checks that there is only one table_def specified and loads this table. Only Standard SQL queries are accepted. Legacy SQL is not allowed.
var
string
$this
getDestinationTableId
Table where results should be written.
string
setDestinationTableId
Table where results should be written.
var
string
$this
getDestinationTableDescription
The description of a destination table. This can be several sentences or paragraphs describing the table contents in detail.
string
setDestinationTableDescription
The description of a destination table. This can be several sentences or paragraphs describing the table contents in detail.
var
string
$this
getTableDefs
When used WITHOUT the "sql" parameter, describes the schema of the destination table.
When used WITH the "sql" parameter, describes tables with data stored outside of BigQuery.
setTableDefs
When used WITHOUT the "sql" parameter, describes the schema of the destination table.
When used WITH the "sql" parameter, describes tables with data stored outside of BigQuery.
$this
getUserDefinedFunctions
Inline code for User-defined function resources.
Ignored when "sql" parameter is empty.
setUserDefinedFunctions
Inline code for User-defined function resources.
Ignored when "sql" parameter is empty.
var
string[]
$this
getWriteDisposition
Specifies the action if the destination table already exists.
int
setWriteDisposition
Specifies the action if the destination table already exists.
var
int
$this