Class: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::MysqlExportOptions
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1::ExportContext::SqlExportOptions::MysqlExportOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/representations.rb
Overview
Options for exporting from MySQL.
Instance Attribute Summary collapse
-
#master_data ⇒ Fixnum
Option to include SQL statement required to set up replication.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MysqlExportOptions
constructor
A new instance of MysqlExportOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MysqlExportOptions
Returns a new instance of MysqlExportOptions.
1276 1277 1278 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1276 def initialize(**args) update!(**args) end |
Instance Attribute Details
#master_data ⇒ Fixnum
Option to include SQL statement required to set up replication. * If set to **
1*, the dump file includes a CHANGE MASTER TO statement with the binary log
coordinates, and --set-gtid-purged is set to ON. * If set to **2, the CHANGE
MASTER TO statement is written as a SQL comment and has no effect. * If set to
any value other than **1*, --set-gtid-purged is set to OFF.
Corresponds to the JSON property masterData
1274 1275 1276 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1274 def master_data @master_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1281 1282 1283 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1281 def update!(**args) @master_data = args[:master_data] if args.key?(:master_data) end |