Class: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sqladmin_v1beta4/classes.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb,
generated/google/apis/sqladmin_v1beta4/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MysqlExportOptions
Returns a new instance of MysqlExportOptions
918 919 920 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 918 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. If set to 2, the CHANGE MASTER TO statement is written as a SQL
comment, and has no effect. All other values are ignored.
Corresponds to the JSON property masterData
916 917 918 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 916 def master_data @master_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
923 924 925 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 923 def update!(**args) @master_data = args[:master_data] if args.key?(:master_data) end |