struct
Google::Cloud::BigQuery::TableFieldSchema
- Google::Cloud::BigQuery::TableFieldSchema
- Struct
- Value
- Object
Included Modules
- Google::Resource
- JSON::Serializable
- MessagePack::Serializable
Extended Modules
- JSON::Schema
Defined in:
cloud/big_query.crConstructors
- .new(pull : JSON::PullParser)
- .new(pull : MessagePack::Unpacker)
- .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)
Instance Method Summary
- #coerce(field : JSON::Any)
- #collation : String | Nil
- #default_value_expression : String | Nil
- #description : String | Nil
- #fields : Array(self) | Nil
- #max_length : String | Nil
- #mode : Mode
- #name : String
- #policy_tags : PolicyTags | Nil
- #precision : String | Nil
- #range_element_type : FieldElementType | Nil
- #rounding_mode : RoundingMode | Nil
- #scale : String | Nil
- #type : Type
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(*, 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)
#