Class: Google::Maps::FleetEngine::V1::UpdateVehicleRequest
- Inherits:
-
Object
- Object
- Google::Maps::FleetEngine::V1::UpdateVehicleRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/maps/fleetengine/v1/vehicle_api.rb
Overview
`UpdateVehicle request message.
Instance Attribute Summary collapse
-
#header ⇒ ::Google::Maps::FleetEngine::V1::RequestHeader
The standard Fleet Engine request header.
-
#name ⇒ ::String
Required.
-
#update_mask ⇒ ::Google::Protobuf::FieldMask
Required.
-
#vehicle ⇒ ::Google::Maps::FleetEngine::V1::Vehicle
Required.
Instance Attribute Details
#header ⇒ ::Google::Maps::FleetEngine::V1::RequestHeader
Returns The standard Fleet Engine request header.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 156 class UpdateVehicleRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Required. Must be in the format
providers/{provider}/vehicles/{vehicle}.
The {provider} must be the Project ID (for example, sample-cloud-project)
of the Google Cloud Project of which the service account making
this call is a member.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 156 class UpdateVehicleRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_mask ⇒ ::Google::Protobuf::FieldMask
Returns Required. A field mask indicating which fields of the Vehicle to update.
At least one field name must be provided.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 156 class UpdateVehicleRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#vehicle ⇒ ::Google::Maps::FleetEngine::V1::Vehicle
Returns Required. The Vehicle entity values to apply. When updating a Vehicle,
the following fields may not be updated as they are managed by the
server.
available_capacitycurrent_route_segment_versioncurrent_tripsnamewaypoints_version
If the attributes field is updated, all the vehicle's attributes are
replaced with the attributes provided in the request. If you want to update
only some attributes, see the UpdateVehicleAttributes method.
Likewise, the waypoints field can be updated, but must contain all the
waypoints currently on the vehicle, and no other waypoints.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 156 class UpdateVehicleRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |