Class: Google::Apis::DatastreamV1::MysqlTable

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

MySQL table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MysqlTable

Returns a new instance of MysqlTable.



1077
1078
1079
# File 'lib/google/apis/datastream_v1/classes.rb', line 1077

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

Instance Attribute Details

#mysql_columnsArray<Google::Apis::DatastreamV1::MysqlColumn>

MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything. Corresponds to the JSON property mysqlColumns



1070
1071
1072
# File 'lib/google/apis/datastream_v1/classes.rb', line 1070

def mysql_columns
  @mysql_columns
end

#tableString

Table name. Corresponds to the JSON property table

Returns:

  • (String)


1075
1076
1077
# File 'lib/google/apis/datastream_v1/classes.rb', line 1075

def table
  @table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1082
1083
1084
1085
# File 'lib/google/apis/datastream_v1/classes.rb', line 1082

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