Class: Google::Maps::FleetEngine::Delivery::V1::TaskAttribute
- Inherits:
-
Object
- Object
- Google::Maps::FleetEngine::Delivery::V1::TaskAttribute
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/maps/fleetengine/delivery/v1/common.rb
Overview
Describes a task attribute as a key-value pair. The "key:value" string length cannot exceed 256 characters.
Instance Attribute Summary collapse
-
#bool_value ⇒ ::Boolean
Boolean typed attribute value.
-
#key ⇒ ::String
The attribute's key.
-
#number_value ⇒ ::Float
Double typed attribute value.
-
#string_value ⇒ ::String
String typed attribute value.
Instance Attribute Details
#bool_value ⇒ ::Boolean
Returns Boolean typed attribute value.
187 188 189 190 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 187 class TaskAttribute include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#key ⇒ ::String
Returns The attribute's key. Keys may not contain the colon character (:).
187 188 189 190 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 187 class TaskAttribute include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#number_value ⇒ ::Float
Returns Double typed attribute value.
187 188 189 190 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 187 class TaskAttribute include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#string_value ⇒ ::String
Returns String typed attribute value.
187 188 189 190 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 187 class TaskAttribute include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |