Class: Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicleAttribute

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

Overview

Describes a vehicle attribute as a key-value pair. The "key:value" string length cannot exceed 256 characters.

Instance Attribute Summary collapse

Instance Attribute Details

#bool_value::Boolean

Returns Boolean typed attribute value.

Returns:

  • (::Boolean)

    Boolean typed attribute value.



48
49
50
51
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 48

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

#key::String

Returns The attribute's key.

Returns:

  • (::String)

    The attribute's key.



48
49
50
51
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 48

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

#number_value::Float

Returns Double typed attribute value.

Returns:

  • (::Float)

    Double typed attribute value.



48
49
50
51
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 48

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

#string_value::String

Returns String typed attribute value.

Note: This is identical to the value field which will eventually be deprecated. For create or update methods, either field can be used, but it's strongly recommended to use string_value. If both string_value and value are set, they must be identical or an error will be thrown. Both fields are populated in responses.

Returns:

  • (::String)

    String typed attribute value.

    Note: This is identical to the value field which will eventually be deprecated. For create or update methods, either field can be used, but it's strongly recommended to use string_value. If both string_value and value are set, they must be identical or an error will be thrown. Both fields are populated in responses.



48
49
50
51
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 48

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

#value::String

Returns The attribute's value.

Returns:

  • (::String)

    The attribute's value.



48
49
50
51
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 48

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