Class: Google::Apis::DatastreamV1::MysqlSourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::MysqlSourceConfig
- 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 source configuration
Instance Attribute Summary collapse
-
#exclude_objects ⇒ Google::Apis::DatastreamV1::MysqlRdbms
MySQL database structure Corresponds to the JSON property
excludeObjects. -
#include_objects ⇒ Google::Apis::DatastreamV1::MysqlRdbms
MySQL database structure Corresponds to the JSON property
includeObjects.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MysqlSourceConfig
constructor
A new instance of MysqlSourceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MysqlSourceConfig
Returns a new instance of MysqlSourceConfig.
1006 1007 1008 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1006 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclude_objects ⇒ Google::Apis::DatastreamV1::MysqlRdbms
MySQL database structure
Corresponds to the JSON property excludeObjects
999 1000 1001 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 999 def exclude_objects @exclude_objects end |
#include_objects ⇒ Google::Apis::DatastreamV1::MysqlRdbms
MySQL database structure
Corresponds to the JSON property includeObjects
1004 1005 1006 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1004 def include_objects @include_objects end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1011 1012 1013 1014 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1011 def update!(**args) @exclude_objects = args[:exclude_objects] if args.key?(:exclude_objects) @include_objects = args[:include_objects] if args.key?(:include_objects) end |