class Google::Apis::ContentV2::DatafeedStatusError

An error occurring in the feed, like “invalid price”.

Attributes

code[RW]

The code of the error, e.g., “validation/invalid_value”. Corresponds to the JSON property `code` @return [String]

count[RW]

The number of occurrences of the error in the feed. Corresponds to the JSON property `count` @return [String]

examples[RW]

A list of example occurrences of the error, grouped by product. Corresponds to the JSON property `examples` @return [Array<Google::Apis::ContentV2::DatafeedStatusExample>]

message[RW]

The error message, e.g., “Invalid price”. Corresponds to the JSON property `message` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/content_v2/classes.rb, line 1778
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/content_v2/classes.rb, line 1783
def update!(**args)
  @code = args[:code] if args.key?(:code)
  @count = args[:count] if args.key?(:count)
  @examples = args[:examples] if args.key?(:examples)
  @message = args[:message] if args.key?(:message)
end