Class: Google::Maps::FleetEngine::V1::LicensePlate

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/maps/fleetengine/v1/vehicles.rb

Overview

The license plate information of the Vehicle. To avoid storing personally-identifiable information, only the minimum information about the license plate is stored as part of the entity.

Instance Attribute Summary collapse

Instance Attribute Details

#country_code::String

Returns Required. CLDR Country/Region Code. For example, US for United States, or IN for India.

Returns:

  • (::String)

    Required. CLDR Country/Region Code. For example, US for United States, or IN for India.



218
219
220
221
# File 'proto_docs/google/maps/fleetengine/v1/vehicles.rb', line 218

class LicensePlate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#last_character::String

Returns The last digit of the license plate or "-1" to denote no numeric value is present in the license plate.

  • "ABC 1234" -> "4"
  • "AB 123 CD" -> "3"
  • "ABCDEF" -> "-1".

Returns:

  • (::String)

    The last digit of the license plate or "-1" to denote no numeric value is present in the license plate.

    • "ABC 1234" -> "4"
    • "AB 123 CD" -> "3"
    • "ABCDEF" -> "-1"


218
219
220
221
# File 'proto_docs/google/maps/fleetengine/v1/vehicles.rb', line 218

class LicensePlate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end