Class: Google::Apis::DfareportingV5::FieldError
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV5::FieldError
- 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
-
#field_id ⇒ Fixnum
Output only.
-
#field_name ⇒ String
Output only.
-
#field_values ⇒ Array<String>
Output only.
-
#ingestion_error ⇒ String
Output only.
-
#is_error ⇒ Boolean
(also: #is_error?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FieldError
constructor
A new instance of FieldError.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ Fixnum
Output only. The ID of the field.
Corresponds to the JSON property fieldId
6867 6868 6869 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6867 def field_id @field_id end |
#field_name ⇒ String
Output only. The name of the field.
Corresponds to the JSON property fieldName
6872 6873 6874 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6872 def field_name @field_name end |
#field_values ⇒ Array<String>
Output only. The list of values of the field.
Corresponds to the JSON property fieldValues
6877 6878 6879 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6877 def field_values @field_values end |
#ingestion_error ⇒ String
Output only. The ingestion error of the field.
Corresponds to the JSON property ingestionError
6882 6883 6884 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6882 def ingestion_error @ingestion_error end |
#is_error ⇒ Boolean Also known as: is_error?
Output only. Incidcates whether the field has error or warning.
Corresponds to the JSON property isError
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 |