Class: Google::Apis::ContentV2::DatafeedFormat
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContentV2::DatafeedFormat
 
- Defined in:
- generated/google/apis/content_v2/classes.rb,
 generated/google/apis/content_v2/representations.rb,
 generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #column_delimiter  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Delimiter for the separation of values in a delimiter-separated values feed. 
- 
  
    
      #file_encoding  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Character encoding scheme of the data feed. 
- 
  
    
      #quoting_mode  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specifies how double quotes are interpreted. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DatafeedFormat 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DatafeedFormat. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ DatafeedFormat
Returns a new instance of DatafeedFormat
| 1374 1375 1376 | # File 'generated/google/apis/content_v2/classes.rb', line 1374 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#column_delimiter ⇒ String
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.
Corresponds to the JSON property columnDelimiter
| 1360 1361 1362 | # File 'generated/google/apis/content_v2/classes.rb', line 1360 def column_delimiter @column_delimiter end | 
#file_encoding ⇒ String
Character encoding scheme of the data feed. If not specified, the encoding
will be auto-detected.
Corresponds to the JSON property fileEncoding
| 1366 1367 1368 | # File 'generated/google/apis/content_v2/classes.rb', line 1366 def file_encoding @file_encoding end | 
#quoting_mode ⇒ String
Specifies how double quotes are interpreted. If not specified, the mode will
be auto-detected. Ignored for non-DSV data feeds.
Corresponds to the JSON property quotingMode
| 1372 1373 1374 | # File 'generated/google/apis/content_v2/classes.rb', line 1372 def quoting_mode @quoting_mode end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1379 1380 1381 1382 1383 | # File 'generated/google/apis/content_v2/classes.rb', line 1379 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 |