struct

Google::Maps::RouteOptimization::FieldReference

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

Specifies a context for the validation error

Constructors

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

Instance methods

index

Index of the field if repeated

key

Key if the field is a map

name

Name of the field, e.g., "vehicles"

sub_field

Recursively nested sub-field, if needed