struct Google::Cloud::BigQuery::TableFieldSchema

Included Modules

Extended Modules

Defined in:

cloud/big_query.cr

Constructors

Instance Method Summary

Macros inherited from module Google::Resource

define(name, *fields) define, field(var, key = nil, **options, &block) field, field!(var, key = nil, **options, &block) field!, field?(var, key = nil, **options, &block) field?

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(pull : MessagePack::Unpacker) #

def self.new(*, name : String, type : Google::Cloud::BigQuery::TableFieldSchema::Type, mode : Google::Cloud::BigQuery::TableFieldSchema::Mode, fields : Nil | Array(Google::Cloud::BigQuery::TableFieldSchema) = nil, description : Nil | String = nil, policy_tags : Google::Cloud::BigQuery::TableFieldSchema::PolicyTags | Nil = nil, max_length : Nil | String = nil, precision : Nil | String = nil, scale : Nil | String = nil, rounding_mode : Google::Cloud::BigQuery::RoundingMode | Nil = nil, collation : Nil | String = nil, default_value_expression : Nil | String = nil, range_element_type : Google::Cloud::BigQuery::FieldElementType | Nil = nil) #

[View source]

Instance Method Detail

def coerce(field : JSON::Any) #

[View source]
def collation : String | Nil #

def default_value_expression : String | Nil #

def description : String | Nil #

def fields : Array(self) | Nil #

def max_length : String | Nil #

def mode : Mode #

def name : String #

def policy_tags : PolicyTags | Nil #

def precision : String | Nil #

def range_element_type : FieldElementType | Nil #

def rounding_mode : RoundingMode | Nil #

def scale : String | Nil #

def type : Type #