class Google::Apis::BigqueryV2::StandardSqlField
A field or a column.
Attributes
name[RW]
Optional. The name of this field. Can be absent for struct fields. Corresponds to the JSON property `name` @return [String]
type[RW]
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 `type` @return [Google::Apis::BigqueryV2::StandardSqlDataType]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/bigquery_v2/classes.rb, line 6084 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/bigquery_v2/classes.rb, line 6089 def update!(**args) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end