A RequestHeader contains fields common to all Delivery RPC requests.
JSON representation |
---|
{ "languageCode": string, "regionCode": string, "sdkVersion": string, "osVersion": string, "deviceModel": string, "sdkType": enum ( |
Fields | |
---|---|
language |
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: |
region |
Required. CLDR region code of the region where the request originates. Field value example: |
sdk |
Version of the calling SDK, if applicable. The version format is "major.minor.patch", example: |
os |
Version of the operating system on which the calling SDK is running. Field value examples: |
device |
Model of the device on which the calling SDK is running. Field value examples: |
sdk |
The type of SDK sending the request. |
maps |
Version of the MapSDK which the calling SDK depends on, if applicable. The version format is "major.minor.patch", example: |
nav |
Version of the NavSDK which the calling SDK depends on, if applicable. The version format is "major.minor.patch", example: |
platform |
Platform of the calling SDK. |
manufacturer |
Manufacturer of the Android device from the calling SDK, only applicable for the Android SDKs. Field value example: |
android |
Android API level of the calling SDK, only applicable for the Android SDKs. Field value example: |
trace |
Optional ID that can be provided for logging purposes in order to identify the request. |
SdkType
Possible types of SDK.
Enums | |
---|---|
SDK_TYPE_UNSPECIFIED |
The default value. This value is used if the sdkType is omitted. |
CONSUMER |
The calling SDK is Consumer. |
DRIVER |
The calling SDK is Driver. |
JAVASCRIPT |
The calling SDK is JavaScript. |
Platform
The platform of the calling SDK.
Enums | |
---|---|
PLATFORM_UNSPECIFIED |
The default value. This value is used if the platform is omitted. |
ANDROID |
The request is coming from Android. |
IOS |
The request is coming from iOS. |
WEB |
The request is coming from the web. |