Reference documentation and code samples for the Google Maps FleetEngine V1 Client class RequestHeader.
A RequestHeader contains fields common to all Fleet Engine RPC requests.
Generated from protobuf message maps.fleetengine.v1.RequestHeader
Namespace
Google \ Maps \ FleetEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ language_code
string
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
.
↳ region_code
string
Required. CLDR region code of the region where the request originates. Field value example: US
.
↳ sdk_version
string
Version of the calling SDK, if applicable. The version format is "major.minor.patch", example: 1.1.2
.
↳ os_version
string
Version of the operating system on which the calling SDK is running. Field value examples: 4.4.1
, 12.1
.
↳ device_model
string
Model of the device on which the calling SDK is running. Field value examples: iPhone12,1
, SM-G920F
.
↳ sdk_type
int
The type of SDK sending the request.
↳ maps_sdk_version
string
Version of the MapSDK which the calling SDK depends on, if applicable. The version format is "major.minor.patch", example: 5.2.1
.
↳ nav_sdk_version
string
Version of the NavSDK which the calling SDK depends on, if applicable. The version format is "major.minor.patch", example: 2.1.0
.
↳ platform
int
Platform of the calling SDK.
↳ manufacturer
string
Manufacturer of the Android device from the calling SDK, only applicable for the Android SDKs. Field value example: Samsung
.
↳ android_api_level
int
Android API level of the calling SDK, only applicable for the Android SDKs. Field value example: 23
.
↳ trace_id
string
Optional ID that can be provided for logging purposes in order to identify the request.
getLanguageCode
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
.
string
setLanguageCode
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
.
var
string
$this
getRegionCode
Required. CLDR region code of the region where the request originates.
Field value example: US
.
string
setRegionCode
Required. CLDR region code of the region where the request originates.
Field value example: US
.
var
string
$this
getSdkVersion
Version of the calling SDK, if applicable.
The version format is "major.minor.patch", example: 1.1.2
.
string
setSdkVersion
Version of the calling SDK, if applicable.
The version format is "major.minor.patch", example: 1.1.2
.
var
string
$this
getOsVersion
Version of the operating system on which the calling SDK is running.
Field value examples: 4.4.1
, 12.1
.
string
setOsVersion
Version of the operating system on which the calling SDK is running.
Field value examples: 4.4.1
, 12.1
.
var
string
$this
getDeviceModel
Model of the device on which the calling SDK is running.
Field value examples: iPhone12,1
, SM-G920F
.
string
setDeviceModel
Model of the device on which the calling SDK is running.
Field value examples: iPhone12,1
, SM-G920F
.
var
string
$this
getSdkType
The type of SDK sending the request.
int
setSdkType
The type of SDK sending the request.
var
int
$this
getMapsSdkVersion
Version of the MapSDK which the calling SDK depends on, if applicable.
The version format is "major.minor.patch", example: 5.2.1
.
string
setMapsSdkVersion
Version of the MapSDK which the calling SDK depends on, if applicable.
The version format is "major.minor.patch", example: 5.2.1
.
var
string
$this
getNavSdkVersion
Version of the NavSDK which the calling SDK depends on, if applicable.
The version format is "major.minor.patch", example: 2.1.0
.
string
setNavSdkVersion
Version of the NavSDK which the calling SDK depends on, if applicable.
The version format is "major.minor.patch", example: 2.1.0
.
var
string
$this
getPlatform
Platform of the calling SDK.
int
setPlatform
Platform of the calling SDK.
var
int
$this
getManufacturer
Manufacturer of the Android device from the calling SDK, only applicable for the Android SDKs.
Field value example: Samsung
.
string
setManufacturer
Manufacturer of the Android device from the calling SDK, only applicable for the Android SDKs.
Field value example: Samsung
.
var
string
$this
getAndroidApiLevel
Android API level of the calling SDK, only applicable for the Android SDKs.
Field value example: 23
.
int
setAndroidApiLevel
Android API level of the calling SDK, only applicable for the Android SDKs.
Field value example: 23
.
var
int
$this
getTraceId
Optional ID that can be provided for logging purposes in order to identify the request.
string
setTraceId
Optional ID that can be provided for logging purposes in order to identify the request.
var
string
$this