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.
6924 6925 6926 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6924 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
6901 6902 6903 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6901 def field_id @field_id end |
#field_name ⇒ String
Output only. The name of the field.
Corresponds to the JSON property fieldName
6906 6907 6908 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6906 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
6911 6912 6913 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6911 def field_values @field_values end |
#ingestion_error ⇒ String
Output only. The ingestion error of the field.
Corresponds to the JSON property ingestionError
6916 6917 6918 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6916 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
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 |