Class: Google::Apis::DatastreamV1::MysqlTable
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::MysqlTable
- 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
MySQL table.
Instance Attribute Summary collapse
-
#mysql_columns ⇒ Array<Google::Apis::DatastreamV1::MysqlColumn>
MySQL columns in the database.
-
#table ⇒ 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.
1096 1097 1098 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1096 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mysql_columns ⇒ Array<Google::Apis::DatastreamV1::MysqlColumn>
MySQL columns in the database. When unspecified as part of include/exclude
objects, includes/excludes everything.
Corresponds to the JSON property mysqlColumns
1089 1090 1091 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1089 def mysql_columns @mysql_columns end |
#table ⇒ String
Table name.
Corresponds to the JSON property table
1094 1095 1096 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1094 def table @table end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1101 1102 1103 1104 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1101 def update!(**args) @mysql_columns = args[:mysql_columns] if args.key?(:mysql_columns) @table = args[:table] if args.key?(:table) end |