Reference documentation and code samples for the Google API Common Protos Client class RequestInfo.
Contains metadata about the request that clients can attach when filing a bug or providing other forms of feedback.
Generated from protobuf message google.rpc.RequestInfo
Namespace
Google \ RpcMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ request_id |
string
An opaque string that should only be interpreted by the service generating it. For example, it can be used to identify requests in the service's logs. |
↳ serving_data |
string
Any data that was used to serve this request. For example, an encrypted stack trace that can be sent back to the service provider for debugging. |
getRequestId
An opaque string that should only be interpreted by the service generating it. For example, it can be used to identify requests in the service's logs.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRequestId
An opaque string that should only be interpreted by the service generating it. For example, it can be used to identify requests in the service's logs.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getServingData
Any data that was used to serve this request. For example, an encrypted stack trace that can be sent back to the service provider for debugging.
| Returns | |
|---|---|
| Type | Description |
string |
|
setServingData
Any data that was used to serve this request. For example, an encrypted stack trace that can be sent back to the service provider for debugging.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|