Class: Google::Apis::AlloydbV1::CsvExportOptions
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1::CsvExportOptions
- 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
-
#select_query ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CsvExportOptions
constructor
A new instance of CsvExportOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_query ⇒ String
Required. The select_query used to extract the data.
Corresponds to the JSON property selectQuery
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 |