class Google::Apis::ContentV2_1::DatafeedFormat

Attributes

column_delimiter[RW]

Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - “`pipe`” - “`tab`” - “`tilde`” Corresponds to the JSON property `columnDelimiter` @return [String]

file_encoding[RW]

Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected. Acceptable values are: - “`latin-1`” - “`utf-16be`” - “` utf-16le`” - “`utf-8`” - “`windows-1252`” Corresponds to the JSON property `fileEncoding` @return [String]

quoting_mode[RW]

Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - “` normal character`” - “`value quoting`” Corresponds to the JSON property `quotingMode` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 2433
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2_1/classes.rb, line 2438
def update!(**args)
  @column_delimiter = args[:column_delimiter] if args.key?(:column_delimiter)
  @file_encoding = args[:file_encoding] if args.key?(:file_encoding)
  @quoting_mode = args[:quoting_mode] if args.key?(:quoting_mode)
end