Class: Google::Maps::FleetEngine::V1::ReportBillableTripRequest
- Inherits:
-
Object
- Object
- Google::Maps::FleetEngine::V1::ReportBillableTripRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/maps/fleetengine/v1/trip_api.rb
Overview
ReportBillableTrip request message.
Defined Under Namespace
Modules: SolutionType
Instance Attribute Summary collapse
-
#country_code ⇒ ::String
Required.
-
#name ⇒ ::String
Required.
-
#platform ⇒ ::Google::Maps::FleetEngine::V1::BillingPlatformIdentifier
The platform upon which the request was issued.
-
#related_ids ⇒ ::Array<::String>
The identifiers that are directly related to the trip being reported.
-
#solution_type ⇒ ::Google::Maps::FleetEngine::V1::ReportBillableTripRequest::SolutionType
The type of GMP product solution (for example,
ON_DEMAND_RIDESHARING_AND_DELIVERIES
) used for the reported trip.
Instance Attribute Details
#country_code ⇒ ::String
Returns Required. Two letter country code of the country where the trip takes place. Price is defined according to country code.
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/maps/fleetengine/v1/trip_api.rb', line 163 class ReportBillableTripRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Selector for different solution types of a reported trip. module SolutionType # The default value. For backwards-compatibility, the API will use # `ON_DEMAND_RIDESHARING_AND_DELIVERIES` by default which is the first # supported solution type. SOLUTION_TYPE_UNSPECIFIED = 0 # The solution is an on-demand ridesharing and deliveries trip. ON_DEMAND_RIDESHARING_AND_DELIVERIES = 1 end end |
#name ⇒ ::String
Returns Required. Must be in the format
providers/{provider}/billableTrips/{billable_trip}
. 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.
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/maps/fleetengine/v1/trip_api.rb', line 163 class ReportBillableTripRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Selector for different solution types of a reported trip. module SolutionType # The default value. For backwards-compatibility, the API will use # `ON_DEMAND_RIDESHARING_AND_DELIVERIES` by default which is the first # supported solution type. SOLUTION_TYPE_UNSPECIFIED = 0 # The solution is an on-demand ridesharing and deliveries trip. ON_DEMAND_RIDESHARING_AND_DELIVERIES = 1 end end |
#platform ⇒ ::Google::Maps::FleetEngine::V1::BillingPlatformIdentifier
Returns The platform upon which the request was issued.
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/maps/fleetengine/v1/trip_api.rb', line 163 class ReportBillableTripRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Selector for different solution types of a reported trip. module SolutionType # The default value. For backwards-compatibility, the API will use # `ON_DEMAND_RIDESHARING_AND_DELIVERIES` by default which is the first # supported solution type. SOLUTION_TYPE_UNSPECIFIED = 0 # The solution is an on-demand ridesharing and deliveries trip. ON_DEMAND_RIDESHARING_AND_DELIVERIES = 1 end end |
#related_ids ⇒ ::Array<::String>
Returns The identifiers that are directly related to the trip being reported. These
are usually IDs (for example, session IDs) of pre-booking operations done
before the trip ID is available. The number of related_ids
is
limited to 50.
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/maps/fleetengine/v1/trip_api.rb', line 163 class ReportBillableTripRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Selector for different solution types of a reported trip. module SolutionType # The default value. For backwards-compatibility, the API will use # `ON_DEMAND_RIDESHARING_AND_DELIVERIES` by default which is the first # supported solution type. SOLUTION_TYPE_UNSPECIFIED = 0 # The solution is an on-demand ridesharing and deliveries trip. ON_DEMAND_RIDESHARING_AND_DELIVERIES = 1 end end |
#solution_type ⇒ ::Google::Maps::FleetEngine::V1::ReportBillableTripRequest::SolutionType
Returns The type of GMP product solution (for example,
ON_DEMAND_RIDESHARING_AND_DELIVERIES
) used for the reported trip.
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/maps/fleetengine/v1/trip_api.rb', line 163 class ReportBillableTripRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Selector for different solution types of a reported trip. module SolutionType # The default value. For backwards-compatibility, the API will use # `ON_DEMAND_RIDESHARING_AND_DELIVERIES` by default which is the first # supported solution type. SOLUTION_TYPE_UNSPECIFIED = 0 # The solution is an on-demand ridesharing and deliveries trip. ON_DEMAND_RIDESHARING_AND_DELIVERIES = 1 end end |