lib/google/apis/datastream_v1/classes.rb in google-apis-datastream_v1-0.26.0 vs lib/google/apis/datastream_v1/classes.rb in google-apis-datastream_v1-0.27.0

- old
+ new

@@ -978,16 +978,26 @@ # The ordinal position of the column in the table. # Corresponds to the JSON property `ordinalPosition` # @return [Fixnum] attr_accessor :ordinal_position + # Column precision. + # Corresponds to the JSON property `precision` + # @return [Fixnum] + attr_accessor :precision + # Whether or not the column represents a primary key. # Corresponds to the JSON property `primaryKey` # @return [Boolean] attr_accessor :primary_key alias_method :primary_key?, :primary_key + # Column scale. + # Corresponds to the JSON property `scale` + # @return [Fixnum] + attr_accessor :scale + def initialize(**args) update!(**args) end # Update properties of this object @@ -996,10 +1006,12 @@ @column = args[:column] if args.key?(:column) @data_type = args[:data_type] if args.key?(:data_type) @length = args[:length] if args.key?(:length) @nullable = args[:nullable] if args.key?(:nullable) @ordinal_position = args[:ordinal_position] if args.key?(:ordinal_position) + @precision = args[:precision] if args.key?(:precision) @primary_key = args[:primary_key] if args.key?(:primary_key) + @scale = args[:scale] if args.key?(:scale) end end # MySQL database. class MysqlDatabase