Method: providers.deliveryVehicles.create
Stay organized with collections
Save and categorize content based on your preferences.
Creates and returns a new DeliveryVehicle
.
HTTP request
POST https://fleetengine.googleapis.com/v1/{parent=providers/*}/deliveryVehicles
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. Must be in the format providers/{provider} . The provider must be the Google Cloud Project ID. For example, sample-cloud-project .
|
Query parameters
Parameters |
header |
object (DeliveryRequestHeader )
Optional. The standard Delivery API request header.
|
deliveryVehicleId |
string
Required. The Delivery Vehicle ID must be unique and subject to the following restrictions:
- Must be a valid Unicode string.
- Limited to a maximum length of 64 characters.
- Normalized according to Unicode Normalization Form C.
- May not contain any of the following ASCII characters: '/', ':', '?', ',', or '#'.
|
Request body
The request body contains an instance of DeliveryVehicle
.
Response body
If successful, the response body contains a newly created instance of DeliveryVehicle
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-18 UTC."],[[["This document explains how to create a new `DeliveryVehicle` using a `POST` request to the Fleet Engine API."],["The request requires specifying the provider in the path and includes optional query parameters for request headers and a user-defined vehicle ID."],["The request body should contain a `DeliveryVehicle` object, as detailed in the provided link."],["A successful response will return the newly created `DeliveryVehicle` object."]]],[]]