Class: Google::Apis::DatastreamV1::SqlServerTable

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/representations.rb

Overview

SQLServer table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlServerTable

Returns a new instance of SqlServerTable.



4867
4868
4869
# File 'lib/google/apis/datastream_v1/classes.rb', line 4867

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#columnsArray<Google::Apis::DatastreamV1::SqlServerColumn>

SQLServer columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything. Corresponds to the JSON property columns



4860
4861
4862
# File 'lib/google/apis/datastream_v1/classes.rb', line 4860

def columns
  @columns
end

#tableString

The table name. Corresponds to the JSON property table

Returns:

  • (String)


4865
4866
4867
# File 'lib/google/apis/datastream_v1/classes.rb', line 4865

def table
  @table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4872
4873
4874
4875
# File 'lib/google/apis/datastream_v1/classes.rb', line 4872

def update!(**args)
  @columns = args[:columns] if args.key?(:columns)
  @table = args[:table] if args.key?(:table)
end