Show / Hide Table of Contents

Class CreateDeliveryVehicleRequest

The CreateDeliveryVehicle request message.

Inheritance
object
CreateDeliveryVehicleRequest
Implements
IMessage<CreateDeliveryVehicleRequest>
IEquatable<CreateDeliveryVehicleRequest>
IDeepCloneable<CreateDeliveryVehicleRequest>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.FleetEngine.Delivery.V1
Assembly: Google.Maps.FleetEngine.Delivery.V1.dll
Syntax
public sealed class CreateDeliveryVehicleRequest : IMessage<CreateDeliveryVehicleRequest>, IEquatable<CreateDeliveryVehicleRequest>, IDeepCloneable<CreateDeliveryVehicleRequest>, IBufferMessage, IMessage

Constructors

CreateDeliveryVehicleRequest()

Declaration
public CreateDeliveryVehicleRequest()

CreateDeliveryVehicleRequest(CreateDeliveryVehicleRequest)

Declaration
public CreateDeliveryVehicleRequest(CreateDeliveryVehicleRequest other)
Parameters
Type Name Description
CreateDeliveryVehicleRequest other

Properties

DeliveryVehicle

Required. The DeliveryVehicle entity to create. When creating a new delivery vehicle, you may set the following optional fields:

  • type
  • last_location
  • attributes

Note: The DeliveryVehicle's name field is ignored. All other DeliveryVehicle fields must not be set; otherwise, an error is returned.

Declaration
public DeliveryVehicle DeliveryVehicle { get; set; }
Property Value
Type Description
DeliveryVehicle

DeliveryVehicleId

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] (http://www.unicode.org/reports/tr15/).
  • May not contain any of the following ASCII characters: '/', ':', '?', ',', or '#'.
Declaration
public string DeliveryVehicleId { get; set; }
Property Value
Type Description
string

Header

Optional. The standard Delivery API request header.

Declaration
public DeliveryRequestHeader Header { get; set; }
Property Value
Type Description
DeliveryRequestHeader

Parent

Required. Must be in the format providers/{provider}. The provider must be the Google Cloud Project ID. For example, sample-cloud-project.

Declaration
public string Parent { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX