class Google::Apis::BigqueryV2::StandardSqlDataType
The type of a variable, e.g., a function argument. Examples: INT64: `type_kind= “INT64”` ARRAY: `type_kind=“ARRAY”, array_element_type
=“STRING”` STRUCT>: ` type_kind
=“STRUCT”, struct_type
=`fields=[ `name=“x”, type=`type_kind=“STRING”“ , `name=“y”, type=`type_kind=“ARRAY”, array_element_type
=“DATE”“ ]“
Attributes
The type of a variable, e.g., a function argument. Examples: INT64: `type_kind= “INT64”` ARRAY: `type_kind=“ARRAY”, array_element_type
=“STRING”` STRUCT>: ` type_kind
=“STRUCT”, struct_type
=`fields=[ `name=“x”, type=`type_kind=“STRING”“ , `name=“y”, type=`type_kind=“ARRAY”, array_element_type
=“DATE”“ ]“ Corresponds to the JSON property `arrayElementType` @return [Google::Apis::BigqueryV2::StandardSqlDataType]
The fields of this struct, in order, if type_kind
= “STRUCT”. Corresponds to the JSON property `structType` @return [Google::Apis::BigqueryV2::StandardSqlStructType]
Required. The top level type of this field. Can be any standard SQL data type ( e.g., “INT64”, “DATE”, “ARRAY”). Corresponds to the JSON property `typeKind` @return [String]
Public Class Methods
# File lib/google/apis/bigquery_v2/classes.rb, line 6055 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/bigquery_v2/classes.rb, line 6060 def update!(**args) @array_element_type = args[:array_element_type] if args.key?(:array_element_type) @struct_type = args[:struct_type] if args.key?(:struct_type) @type_kind = args[:type_kind] if args.key?(:type_kind) end