Class: Google::Apis::DfareportingV5::ContentSourceMetaData
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV5::ContentSourceMetaData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/representations.rb
Overview
Contains the meta data of the content source. This is a read-only field.
Instance Attribute Summary collapse
-
#charset ⇒ String
Output only.
-
#field_names ⇒ Array<String>
Output only.
-
#row_number ⇒ Fixnum
Output only.
-
#separator ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContentSourceMetaData
constructor
A new instance of ContentSourceMetaData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContentSourceMetaData
Returns a new instance of ContentSourceMetaData.
2814 2815 2816 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2814 def initialize(**args) update!(**args) end |
Instance Attribute Details
#charset ⇒ String
Output only. The charset of the content source.
Corresponds to the JSON property charset
2797 2798 2799 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2797 def charset @charset end |
#field_names ⇒ Array<String>
Output only. The list of column names in the content source.
Corresponds to the JSON property fieldNames
2802 2803 2804 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2802 def field_names @field_names end |
#row_number ⇒ Fixnum
Output only. The number of rows in the content source.
Corresponds to the JSON property rowNumber
2807 2808 2809 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2807 def row_number @row_number end |
#separator ⇒ String
Output only. The separator of the content source.
Corresponds to the JSON property separator
2812 2813 2814 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2812 def separator @separator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2819 2820 2821 2822 2823 2824 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2819 def update!(**args) @charset = args[:charset] if args.key?(:charset) @field_names = args[:field_names] if args.key?(:field_names) @row_number = args[:row_number] if args.key?(:row_number) @separator = args[:separator] if args.key?(:separator) end |