struct

Google::Maps::RouteOptimization::OptimizeToursValidationError

Inherits MessagePack::Serializable < JSON::Serializable < Google::Resource < Struct < Value < Object

Describes an error or warning encountered when validating an OptimizeToursRequest

Constructors

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

code

A validation error is defined by the pair (code, displayName) which are always present

display_name

The error display name

error_message

Human-readable string describing the error

fields

Context fields for the error

offending_values

May contain the value(s) of the field(s). This is not always available. Use only for manual model debugging.