class Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions

Options for exporting data as CSV. MySQL and PostgreSQL instances only.

Attributes

escape_character[RW]

Specifies the character that should appear before a data character that needs to be escaped. Corresponds to the JSON property `escapeCharacter` @return [String]

fields_terminated_by[RW]

Specifies the character that separates columns within each row (line) of the file. Corresponds to the JSON property `fieldsTerminatedBy` @return [String]

lines_terminated_by[RW]

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]

quote_character[RW]

Specifies the quoting character to be used when a data value is quoted. Corresponds to the JSON property `quoteCharacter` @return [String]

select_query[RW]

The select query used to extract the data. Corresponds to the JSON property `selectQuery` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 1214
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 1219
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