Class: Google::Apis::DfareportingV5::ContentSourceMetaData

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

Instance Method Summary collapse

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

#charsetString

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

Returns:

  • (String)


2772
2773
2774
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2772

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>)


2777
2778
2779
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2777

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)


2782
2783
2784
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2782

def row_number
  @row_number
end

#separatorString

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

Returns:

  • (String)


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