Reference documentation and code samples for the Google Maps FleetEngine V1 Client class ReportBillableTripRequest.
ReportBillableTrip request message.
Generated from protobuf message maps.fleetengine.v1.ReportBillableTripRequest
Namespace
Google \ Maps \ FleetEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
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.
↳ country_code
string
Required. Two letter country code of the country where the trip takes place. Price is defined according to country code.
↳ platform
int
The platform upon which the request was issued.
↳ related_ids
array
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.
↳ solution_type
int
The type of GMP product solution (for example, ON_DEMAND_RIDESHARING_AND_DELIVERIES
) used for the reported trip.
getName
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.
string
setName
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.
var
string
$this
getCountryCode
Required. Two letter country code of the country where the trip takes place. Price is defined according to country code.
string
setCountryCode
Required. Two letter country code of the country where the trip takes place. Price is defined according to country code.
var
string
$this
getPlatform
The platform upon which the request was issued.
int
setPlatform
The platform upon which the request was issued.
var
int
$this
getRelatedIds
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.
setRelatedIds
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.
var
string[]
$this
getSolutionType
The type of GMP product solution (for example, ON_DEMAND_RIDESHARING_AND_DELIVERIES
) used for the reported trip.
int
setSolutionType
The type of GMP product solution (for example, ON_DEMAND_RIDESHARING_AND_DELIVERIES
) used for the reported trip.
var
int
$this