class Google::Apis::ContentV2::Errors

A list of errors returned by a failed batch entry.

Attributes

code[RW]

The HTTP status of the first error in `errors`. Corresponds to the JSON property `code` @return [Fixnum]

errors[RW]

A list of errors. Corresponds to the JSON property `errors` @return [Array<Google::Apis::ContentV2::Error>]

message[RW]

The message of the first error in `errors`. Corresponds to the JSON property `message` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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