Class: Google::Apis::DfareportingV4::ContentSourceMetaData

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#charsetString

Output only. The charset of the content source. Corresponds to the JSON property charset

Returns:

  • (String)


2838
2839
2840
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2838

def charset
  @charset
end

#field_namesArray<String>

Output only. The list of column names in the content source. Corresponds to the JSON property fieldNames

Returns:

  • (Array<String>)


2843
2844
2845
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2843

def field_names
  @field_names
end

#row_numberFixnum

Output only. The number of rows in the content source. Corresponds to the JSON property rowNumber

Returns:

  • (Fixnum)


2848
2849
2850
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2848

def row_number
  @row_number
end

#separatorString

Output only. The separator of the content source. Corresponds to the JSON property separator

Returns:

  • (String)


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