GoogleApi.AlloyDB.V1.Model.CsvImportOptions (google_api_alloy_db v0.16.0)

View Source

Options for importing data in CSV format.

Attributes

  • columns (type: list(String.t), default: nil) - Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
  • escapeCharacter (type: String.t, default: nil) - 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.
  • fieldDelimiter (type: String.t, default: nil) - 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.
  • quoteCharacter (type: String.t, default: nil) - 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 (type: String.t, default: nil) - Required. The database table to import CSV file into.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AlloyDB.V1.Model.CsvImportOptions{
  columns: [String.t()] | nil,
  escapeCharacter: String.t() | nil,
  fieldDelimiter: String.t() | nil,
  quoteCharacter: String.t() | nil,
  table: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.