Reference documentation and code samples for the Google Maps FleetEngine Delivery V1 Client class TaskAttribute.
Describes a task attribute as a key-value pair. The "key:value" string length cannot exceed 256 characters.
Generated from protobuf message maps.fleetengine.delivery.v1.TaskAttribute
Namespace
Google \ Maps \ FleetEngine \ Delivery \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ key
string
The attribute's key. Keys may not contain the colon character (:).
↳ string_value
string
String typed attribute value.
↳ bool_value
bool
Boolean typed attribute value.
↳ number_value
float
Double typed attribute value.
getKey
The attribute's key. Keys may not contain the colon character (:).
string
setKey
The attribute's key. Keys may not contain the colon character (:).
var
string
$this
getStringValue
String typed attribute value.
string
hasStringValue
setStringValue
String typed attribute value.
var
string
$this
getBoolValue
Boolean typed attribute value.
bool
hasBoolValue
setBoolValue
Boolean typed attribute value.
var
bool
$this
getNumberValue
Double typed attribute value.
float
hasNumberValue
setNumberValue
Double typed attribute value.
var
float
$this
getTaskAttributeValue
string