Class: Google::Apis::AlloydbV1::CsvExportOptions

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

Overview

Options for exporting data in CSV format. For now, we only support a query to get the data that needs to be exported.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CsvExportOptions

Returns a new instance of CsvExportOptions.



850
851
852
# File 'lib/google/apis/alloydb_v1/classes.rb', line 850

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

Instance Attribute Details

#select_queryString

Required. The select_query used to extract the data. Corresponds to the JSON property selectQuery

Returns:

  • (String)


848
849
850
# File 'lib/google/apis/alloydb_v1/classes.rb', line 848

def select_query
  @select_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



855
856
857
# File 'lib/google/apis/alloydb_v1/classes.rb', line 855

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