Class: Google::Apis::DfareportingV4::ContentSourceMetaData
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::ContentSourceMetaData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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.
2855 2856 2857 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2855 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
2838 2839 2840 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2838 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
2843 2844 2845 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2843 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
2848 2849 2850 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2848 def row_number @row_number end |
#separator ⇒ String
Output only. The separator of the content source.
Corresponds to the JSON property separator
2853 2854 2855 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2853 def separator @separator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2860 2861 2862 2863 2864 2865 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2860 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 |