name: The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 300 characters.
type: The field data type. Possible values include: "STRING", "BYTES", "INTEGER", "FLOAT", "BOOLEAN", "TIMESTAMP", "DATE", "TIME", "DATETIME", "GEOGRAPHY", "NUMERIC", "BIGNUMERIC", "JSON", "RECORD".
mode: The field mode. Possible values include: "NULLABLE", "REQUIRED", and "REPEATED".
fields: For a field of type "record", a list of sub-fields.
description: The field description. The maximum length is 1,024 characters.
x: A list of bg_fields
Examples
bq_field("name","string")as_bq_fields(list( list(name ="name", type ="string"), bq_field("age","integer")))# as_bq_fields() can also take a data frameas_bq_fields(mtcars)