REST Resource: providers.taskTrackingInfo

リソース: TaskTrackingInfo

TaskTrackingInfo メッセージ。メッセージには、表示に使用されるタスク トラッキング情報が含まれます。トラッキング ID が複数のタスクに関連付けられている場合、Fleet Engine はヒューリスティックを使用して、どのタスクの TaskTrackingInfo を選択するかを決定します。

JSON 表現
{
  "name": string,
  "trackingId": string,
  "vehicleLocation": {
    object (DeliveryVehicleLocation)
  },
  "routePolylinePoints": [
    {
      object (LatLng)
    }
  ],
  "remainingStopCount": integer,
  "remainingDrivingDistanceMeters": integer,
  "estimatedArrivalTime": string,
  "estimatedTaskCompletionTime": string,
  "state": enum (State),
  "taskOutcome": enum (TaskOutcome),
  "taskOutcomeTime": string,
  "plannedLocation": {
    object (LocationInfo)
  },
  "targetTimeWindow": {
    object (TimeWindow)
  },
  "attributes": [
    {
      object (TaskAttribute)
    }
  ]
}
フィールド
name

string

providers/{provider}/taskTrackingInfo/{tracking} の形式で指定してください。tracking はトラッキング ID です。

trackingId

string

変更不可。タスクのトラッキング ID。* 有効な Unicode 文字列を指定してください。* 最大文字数は 64 文字です。* Unicode 正規化フォーム C に従って正規化されています。* ASCII 文字「/」、「:」、「?」、「,」、「#」を含めることはできません。

vehicleLocation

object (DeliveryVehicleLocation)

車両の最後の位置情報。

routePolylinePoints[]

object (LatLng)

接続されたときにこのタスクの場所までの車両で想定されるルートのポリラインを形成するポイントのリスト。

remainingStopCount

integer

タスクの停車地(タスクの停車場所を含む)に到着するまでに車両が残っている停車回数を示します。たとえば、車両の次の停車場所がタスクの停車地である場合、値は 1 になります。

remainingDrivingDistanceMeters

integer

対象の VehicleStop までの残りの距離の合計(メートル単位)。

estimatedArrivalTime

string (Timestamp format)

停車場所への到着予定時刻を示すタイムスタンプ。

RFC3339 UTC「Zulu」形式のタイムスタンプ。精度はナノ秒まで、小数点以下は最大 9 桁。例: "2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z"

estimatedTaskCompletionTime

string (Timestamp format)

タスクの推定完了時間を示すタイムスタンプ。

RFC3339 UTC「Zulu」形式のタイムスタンプ。精度はナノ秒まで、小数点以下は最大 9 桁。例: "2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z"

state

enum (State)

タスクの現在の実行状態。

taskOutcome

enum (TaskOutcome)

タスクの実行を試みた結果。

taskOutcomeTime

string (Timestamp format)

タスクの結果がプロバイダによって設定された時点を示すタイムスタンプ。

RFC3339 UTC「Zulu」形式のタイムスタンプ。精度はナノ秒まで、小数点以下は最大 9 桁。例: "2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z"

plannedLocation

object (LocationInfo)

変更不可。タスクを完了する場所。

targetTimeWindow

object (TimeWindow)

タスクを完了すべき時間枠。

attributes[]

object (TaskAttribute)

タスクに設定されたカスタム属性。

Methods

get

指定された TaskTrackingInfo インスタンスを返します。