Class: Google::Apis::DatastreamV1alpha1::MysqlTable
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1alpha1::MysqlTable
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1alpha1/classes.rb,
lib/google/apis/datastream_v1alpha1/representations.rb,
lib/google/apis/datastream_v1alpha1/representations.rb
Overview
MySQL table.
Instance Attribute Summary collapse
-
#mysql_columns ⇒ Array<Google::Apis::DatastreamV1alpha1::MysqlColumn>
MySQL columns in the database.
-
#table_name ⇒ String
Table name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MysqlTable
constructor
A new instance of MysqlTable.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MysqlTable
Returns a new instance of MysqlTable.
1007 1008 1009 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1007 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mysql_columns ⇒ Array<Google::Apis::DatastreamV1alpha1::MysqlColumn>
MySQL columns in the database. When unspecified as part of include/exclude
lists, includes/excludes everything.
Corresponds to the JSON property mysqlColumns
1000 1001 1002 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1000 def mysql_columns @mysql_columns end |
#table_name ⇒ String
Table name.
Corresponds to the JSON property tableName
1005 1006 1007 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1005 def table_name @table_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1012 1013 1014 1015 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1012 def update!(**args) @mysql_columns = args[:mysql_columns] if args.key?(:mysql_columns) @table_name = args[:table_name] if args.key?(:table_name) end |