Class: Google::Maps::FleetEngine::Delivery::V1::TaskAttribute

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 task 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.



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 (:).

Returns:

  • (::String)

    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.

Returns:

  • (::Float)

    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.

Returns:

  • (::String)

    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