Class: Google::Apis::DfareportingV4::FieldError

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



6998
6999
7000
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6998

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)


6975
6976
6977
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6975

def field_id
  @field_id
end

#field_nameString

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

Returns:

  • (String)


6980
6981
6982
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6980

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


6985
6986
6987
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6985

def field_values
  @field_values
end

#ingestion_errorString

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

Returns:

  • (String)


6990
6991
6992
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6990

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)


6995
6996
6997
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6995

def is_error
  @is_error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7003
7004
7005
7006
7007
7008
7009
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7003

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