class Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions
Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
Attributes
Specifies the character that should appear before a data character that needs to be escaped. Corresponds to the JSON property `escapeCharacter` @return [String]
Specifies the character that separates columns within each row (line) of the file. Corresponds to the JSON property `fieldsTerminatedBy` @return [String]
This is used to separate lines. If a line does not contain all fields, the rest of the columns are set to their default values. Corresponds to the JSON property `linesTerminatedBy` @return [String]
Specifies the quoting character to be used when a data value is quoted. Corresponds to the JSON property `quoteCharacter` @return [String]
The select query used to extract the data. Corresponds to the JSON property `selectQuery` @return [String]
Public Class Methods
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 1283 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 1288 def update!(**args) @escape_character = args[:escape_character] if args.key?(:escape_character) @fields_terminated_by = args[:fields_terminated_by] if args.key?(:fields_terminated_by) @lines_terminated_by = args[:lines_terminated_by] if args.key?(:lines_terminated_by) @quote_character = args[:quote_character] if args.key?(:quote_character) @select_query = args[:select_query] if args.key?(:select_query) end