Class: Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions

Inherits:
Object
  • Object
show all
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 data as CSV. Exporting in CSV format using the Cloud SQL Admin API is not supported for PostgreSQL instances.

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



838
839
840
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 838

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)


836
837
838
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 836

def select_query
  @select_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



843
844
845
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 843

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