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



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

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)


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

def select_query
  @select_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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