Class: Google::Apis::DatastreamV1::SqlServerTable
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::SqlServerTable
- 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
-
#columns ⇒ Array<Google::Apis::DatastreamV1::SqlServerColumn>
SQLServer columns in the schema.
-
#table ⇒ String
Table name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlServerTable
constructor
A new instance of SqlServerTable.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlServerTable
Returns a new instance of SqlServerTable.
2853 2854 2855 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2853 def initialize(**args) update!(**args) end |
Instance Attribute Details
#columns ⇒ Array<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
2846 2847 2848 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2846 def columns @columns end |
#table ⇒ String
Table name.
Corresponds to the JSON property table
2851 2852 2853 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2851 def table @table end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2858 2859 2860 2861 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2858 def update!(**args) @columns = args[:columns] if args.key?(:columns) @table = args[:table] if args.key?(:table) end |