Class: Google::Maps::FleetEngine::Delivery::V1::CreateDeliveryVehicleRequest
- Inherits:
-
Object
- Object
- Google::Maps::FleetEngine::Delivery::V1::CreateDeliveryVehicleRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/maps/fleetengine/delivery/v1/delivery_api.rb
Overview
The CreateDeliveryVehicle
request message.
Instance Attribute Summary collapse
-
#delivery_vehicle ⇒ ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicle
Required.
-
#delivery_vehicle_id ⇒ ::String
Required.
-
#header ⇒ ::Google::Maps::FleetEngine::Delivery::V1::DeliveryRequestHeader
Optional.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#delivery_vehicle ⇒ ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicle
Returns 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.
55 56 57 58 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/delivery_api.rb', line 55 class CreateDeliveryVehicleRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#delivery_vehicle_id ⇒ ::String
Returns 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 '#'.
55 56 57 58 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/delivery_api.rb', line 55 class CreateDeliveryVehicleRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#header ⇒ ::Google::Maps::FleetEngine::Delivery::V1::DeliveryRequestHeader
Returns Optional. The standard Delivery API request header.
55 56 57 58 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/delivery_api.rb', line 55 class CreateDeliveryVehicleRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. Must be in the format providers/{provider}
. The provider must
be the Google Cloud Project ID. For example, sample-cloud-project
.
55 56 57 58 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/delivery_api.rb', line 55 class CreateDeliveryVehicleRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |