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.
2789 2790 2791 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2789 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
2772 2773 2774 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2772 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
2777 2778 2779 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2777 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
2782 2783 2784 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2782 def row_number @row_number end |
#separator ⇒ String
Output only. The separator of the content source.
Corresponds to the JSON property separator
2787 2788 2789 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2787 def separator @separator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2794 2795 2796 2797 2798 2799 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2794 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 |