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



863
864
865
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 863

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)


861
862
863
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 861

def select_query
  @select_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



868
869
870
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 868

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