{// Union field field_type can be only one of the following:"type": string,"arrayType": {object (FieldType)},"structType": {object (StructType)}// End of list of possible types for union field field_type.}
Fields
Union field field_type. Field type. field_type can be only one of the following:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eDefines FieldType, which represents a BigQuery field type and can be a simple type, an array, or a struct.\u003c/p\u003e\n"],["\u003cp\u003eIncludes StructType for defining struct types with an ordered list of fields.\u003c/p\u003e\n"],["\u003cp\u003eUses StructField to represent a single field within a struct, containing a field name and type.\u003c/p\u003e\n"],["\u003cp\u003eProvides JSON representations for FieldType, StructType, and StructField to illustrate their structure and data.\u003c/p\u003e\n"]]],["This defines BigQuery field types using JSON representation. A field can be a simple type (`string`), an array (`arrayType`), or a struct (`structType`). Structs (`StructType`) are defined by an ordered list of fields, each represented as a `StructField`. Each `StructField` has a `fieldName` (string) and a `fieldType`. The `fieldType` is recursive, potentially being a simple type, array, or another struct. `field_type` can only be one of the listed options.\n"],null,["# FieldType\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [StructType](#StructType)\n - [JSON representation](#StructType.SCHEMA_REPRESENTATION)\n- [StructField](#StructField)\n - [JSON representation](#StructField.SCHEMA_REPRESENTATION)\n\nDefines a BigQuery field type.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `field_type` can be only one of the following: \"type\": string, \"arrayType\": { object (/ads-data-hub/marketers/reference/rest/v1/FieldType) }, \"structType\": { object (/ads-data-hub/marketers/reference/rest/v1/FieldType#StructType) } // End of list of possible types for union field `field_type`. } ``` |\n\n| Fields ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `field_type`. Field type. `field_type` can be only one of the following: ||\n| `type` | `string` BigQuery simple type, e.g. 'STRING' or 'INT64'. See \u003chttps://cloud.google.com/bigquery/docs/reference/standard-sql/data-types\u003e. |\n| `arrayType` | `object (`[FieldType](/ads-data-hub/marketers/reference/rest/v1/FieldType)`)` Type of the array's elements, if this is an 'ARRAY' type. |\n| `structType` | `object (`[StructType](/ads-data-hub/marketers/reference/rest/v1/FieldType#StructType)`)` Struct field type, if this is a 'STRUCT' type. |\n\nStructType\n----------\n\nDefines a struct type.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------|\n| ``` { \"fields\": [ { object (/ads-data-hub/marketers/reference/rest/v1/FieldType#StructField) } ] } ``` |\n\n| Fields ||\n|------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| `fields[]` | `object (`[StructField](/ads-data-hub/marketers/reference/rest/v1/FieldType#StructField)`)` An ordered list of fields for a given struct. |\n\nStructField\n-----------\n\nA key-value pair that defines a single struct field.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------|\n| ``` { \"fieldName\": string, \"fieldType\": { object (/ads-data-hub/marketers/reference/rest/v1/FieldType) } } ``` |\n\n| Fields ||\n|-------------|-------------------------------------------------------------------------------------------|\n| `fieldName` | `string` Field name. |\n| `fieldType` | `object (`[FieldType](/ads-data-hub/marketers/reference/rest/v1/FieldType)`)` Field type. |"]]