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.



6890
6891
6892
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6890

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)


6867
6868
6869
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6867

def field_id
  @field_id
end

#field_nameString

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

Returns:

  • (String)


6872
6873
6874
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6872

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


6877
6878
6879
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6877

def field_values
  @field_values
end

#ingestion_errorString

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

Returns:

  • (String)


6882
6883
6884
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6882

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)


6887
6888
6889
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6887

def is_error
  @is_error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6895
6896
6897
6898
6899
6900
6901
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6895

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