Class: Google::Apis::SqlV1beta4::ExportContext::CsvExportOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sql_v1beta4/classes.rb,
generated/google/apis/sql_v1beta4/representations.rb,
generated/google/apis/sql_v1beta4/representations.rb

Overview

Options for exporting data as CSV.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CsvExportOptions

Returns a new instance of CsvExportOptions.



997
998
999
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 997

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#select_queryString

The select query used to extract the data. Corresponds to the JSON property selectQuery

Returns:

  • (String)


995
996
997
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 995

def select_query
  @select_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1002
1003
1004
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 1002

def update!(**args)
  @select_query = args[:select_query] if args.key?(:select_query)
end