Class RequestHeader
A RequestHeader contains fields common to all Fleet Engine RPC requests.
Implements
Namespace: Google.Maps.FleetEngine.V1
Assembly: Google.Maps.FleetEngine.V1.dll
Syntax
public sealed class RequestHeader : IMessage<RequestHeader>, IEquatable<RequestHeader>, IDeepCloneable<RequestHeader>, IBufferMessage, IMessage
Constructors
RequestHeader()
Declaration
public RequestHeader()
RequestHeader(RequestHeader)
Declaration
public RequestHeader(RequestHeader other)
Parameters
Type | Name | Description |
---|---|---|
RequestHeader | other |
Properties
AndroidApiLevel
Android API level of the calling SDK, only applicable for the Android SDKs.
Field value example: 23
.
Declaration
public int AndroidApiLevel { get; set; }
Property Value
Type | Description |
---|---|
int |
DeviceModel
Model of the device on which the calling SDK is running.
Field value examples: iPhone12,1
, SM-G920F
.
Declaration
public string DeviceModel { get; set; }
Property Value
Type | Description |
---|---|
string |
LanguageCode
The BCP-47 language code, such as en-US or sr-Latn. For more information,
see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. If none
is specified, the response may be in any language, with a preference for
English if such a name exists. Field value example: en-US
.
Declaration
public string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
Manufacturer
Manufacturer of the Android device from the calling SDK, only applicable
for the Android SDKs.
Field value example: Samsung
.
Declaration
public string Manufacturer { get; set; }
Property Value
Type | Description |
---|---|
string |
MapsSdkVersion
Version of the MapSDK which the calling SDK depends on, if applicable.
The version format is "major.minor.patch", example: 5.2.1
.
Declaration
public string MapsSdkVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
NavSdkVersion
Version of the NavSDK which the calling SDK depends on, if applicable.
The version format is "major.minor.patch", example: 2.1.0
.
Declaration
public string NavSdkVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
OsVersion
Version of the operating system on which the calling SDK is running.
Field value examples: 4.4.1
, 12.1
.
Declaration
public string OsVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
Platform
Platform of the calling SDK.
Declaration
public RequestHeader.Types.Platform Platform { get; set; }
Property Value
Type | Description |
---|---|
RequestHeader.Types.Platform |
RegionCode
Required. CLDR region code of the region where the request originates.
Field value example: US
.
Declaration
public string RegionCode { get; set; }
Property Value
Type | Description |
---|---|
string |
SdkType
The type of SDK sending the request.
Declaration
public RequestHeader.Types.SdkType SdkType { get; set; }
Property Value
Type | Description |
---|---|
RequestHeader.Types.SdkType |
SdkVersion
Version of the calling SDK, if applicable.
The version format is "major.minor.patch", example: 1.1.2
.
Declaration
public string SdkVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
TraceId
Optional ID that can be provided for logging purposes in order to identify the request.
Declaration
public string TraceId { get; set; }
Property Value
Type | Description |
---|---|
string |