Class ReportBillableTripRequest
ReportBillableTrip request message.
Implements
Namespace: Google.Maps.FleetEngine.V1
Assembly: Google.Maps.FleetEngine.V1.dll
Syntax
public sealed class ReportBillableTripRequest : IMessage<ReportBillableTripRequest>, IEquatable<ReportBillableTripRequest>, IDeepCloneable<ReportBillableTripRequest>, IBufferMessage, IMessage
Constructors
ReportBillableTripRequest()
Declaration
public ReportBillableTripRequest()
ReportBillableTripRequest(ReportBillableTripRequest)
Declaration
public ReportBillableTripRequest(ReportBillableTripRequest other)
Parameters
Type | Name | Description |
---|---|---|
ReportBillableTripRequest | other |
Properties
CountryCode
Required. Two letter country code of the country where the trip takes place. Price is defined according to country code.
Declaration
public string CountryCode { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
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.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Platform
The platform upon which the request was issued.
Declaration
public BillingPlatformIdentifier Platform { get; set; }
Property Value
Type | Description |
---|---|
BillingPlatformIdentifier |
RelatedIds
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.
Declaration
public RepeatedField<string> RelatedIds { get; }
Property Value
Type | Description |
---|---|
RepeatedField<string> |
SolutionType
The type of GMP product solution (for example,
ON_DEMAND_RIDESHARING_AND_DELIVERIES
) used for the reported trip.
Declaration
public ReportBillableTripRequest.Types.SolutionType SolutionType { get; set; }
Property Value
Type | Description |
---|---|
ReportBillableTripRequest.Types.SolutionType |