DeliveryVehicleLog

Deliveries API の DeliveryVehicle リソースのログ。

JSON 表現
{
  "name": string,
  "lastLocation": {
    object (DeliveryVehicleLocationLog)
  },
  "navigationStatus": enum (DeliveryVehicleNavigationStatusLog),
  "remainingDistanceMeters": integer,
  "remainingDuration": string,
  "remainingVehicleJourneySegments": [
    {
      object (VehicleJourneySegmentLog)
    }
  ],
  "attributes": [
    {
      object (DeliveryVehicleAttributeLog)
    }
  ]
}
フィールド
name

string

配達車両のリソース名。providers/{providerId}/deliveryVehicles/{deliveryVehicleId} の形式で指定します。

lastLocation

object (DeliveryVehicleLocationLog)

最後に報告された車両の場所。

navigationStatus

enum (DeliveryVehicleNavigationStatusLog)

配達用車両のナビゲーション ステータス。

remainingDistanceMeters

integer

currentRouteSegment の残りの運転距離。

remainingDuration

string (Duration format)

currentRouteSegmentの残りの運転時間。

s」で終わる小数 9 桁までの秒単位の期間。例: "3.5s"

remainingVehicleJourneySegments[]

object (VehicleJourneySegmentLog)

この車両に割り当てられた残りのジャーニー セグメントのセット。

attributes[]

object (DeliveryVehicleAttributeLog)

カスタム配達車両属性のリスト。各属性には一意のキーがあります。

DeliveryVehicleAttributeLog

車両属性を Key-Value ペアとして記述します。

JSON 表現
{
  "key": string,
  "value": string,

  // Union field delivery_vehicle_attribute_value can be only one of the
  // following:
  "stringValue": string,
  "boolValue": boolean,
  "numberValue": number
  // End of list of possible types for union field
  // delivery_vehicle_attribute_value.
}
フィールド
key

string

属性のキー(例: allowed_use_carpool_lane)。

value

string

属性の値(例: true)。

共用体フィールド delivery_vehicle_attribute_value。属性の値には、文字列、ブール値、倍精度型を指定できます。delivery_vehicle_attribute_value は次のいずれかになります。
stringValue

string

文字列型の属性値。

boolValue

boolean

ブール値型の属性値。

numberValue

number

二重型属性値です。