Reference documentation and code samples for the AlloyDB V1BETA API class Google::Cloud::AlloyDB::V1beta::ImportClusterRequest::CsvImportOptions.
Options for importing data in CSV format.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#columns
def columns() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
#columns=
def columns=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
Returns
- (::Array<::String>) — Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
#escape_character
def escape_character() -> ::String
Returns
- (::String) — Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.
#escape_character=
def escape_character=(value) -> ::String
Parameter
- value (::String) — Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.
Returns
- (::String) — Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.
#field_delimiter
def field_delimiter() -> ::String
Returns
- (::String) — Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
#field_delimiter=
def field_delimiter=(value) -> ::String
Parameter
- value (::String) — Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
Returns
- (::String) — Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
#quote_character
def quote_character() -> ::String
Returns
- (::String) — Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
#quote_character=
def quote_character=(value) -> ::String
Parameter
- value (::String) — Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
Returns
- (::String) — Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
#table
def table() -> ::String
Returns
- (::String) — Required. The database table to import CSV file into.
#table=
def table=(value) -> ::String
Parameter
- value (::String) — Required. The database table to import CSV file into.
Returns
- (::String) — Required. The database table to import CSV file into.