Defines a BigQuery field type.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field field_type. Field type. field_type can be only one of the following: |
|
type |
BigQuery simple type, e.g. 'STRING' or 'INT64'. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types. |
arrayType |
Type of the array's elements, if this is an 'ARRAY' type. |
structType |
Struct field type, if this is a 'STRUCT' type. |
StructType
Defines a struct type.
| JSON representation |
|---|
{
"fields": [
{
object ( |
| Fields | |
|---|---|
fields[] |
An ordered list of fields for a given struct. |
StructField
A key-value pair that defines a single struct field.
| JSON representation |
|---|
{
"fieldName": string,
"fieldType": {
object ( |
| Fields | |
|---|---|
fieldName |
Field name. |
fieldType |
Field type. |