Class: Google::Apis::DfareportingV5::FieldError

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 field error of the dynamic feed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FieldError

Returns a new instance of FieldError.



6924
6925
6926
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6924

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#field_idFixnum

Output only. The ID of the field. Corresponds to the JSON property fieldId

Returns:

  • (Fixnum)


6901
6902
6903
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6901

def field_id
  @field_id
end

#field_nameString

Output only. The name of the field. Corresponds to the JSON property fieldName

Returns:

  • (String)


6906
6907
6908
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6906

def field_name
  @field_name
end

#field_valuesArray<String>

Output only. The list of values of the field. Corresponds to the JSON property fieldValues

Returns:

  • (Array<String>)


6911
6912
6913
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6911

def field_values
  @field_values
end

#ingestion_errorString

Output only. The ingestion error of the field. Corresponds to the JSON property ingestionError

Returns:

  • (String)


6916
6917
6918
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6916

def ingestion_error
  @ingestion_error
end

#is_errorBoolean Also known as: is_error?

Output only. Incidcates whether the field has error or warning. Corresponds to the JSON property isError

Returns:

  • (Boolean)


6921
6922
6923
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6921

def is_error
  @is_error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6929
6930
6931
6932
6933
6934
6935
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6929

def update!(**args)
  @field_id = args[:field_id] if args.key?(:field_id)
  @field_name = args[:field_name] if args.key?(:field_name)
  @field_values = args[:field_values] if args.key?(:field_values)
  @ingestion_error = args[:ingestion_error] if args.key?(:ingestion_error)
  @is_error = args[:is_error] if args.key?(:is_error)
end