class RequestInfo extends Message

Contains metadata about the request that clients can attach when filing a bug or providing other forms of feedback.

Protobuf type Google\Rpc\RequestInfo

Methods

__construct()

No description

string
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.

setRequestId(string $var)

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.

string
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.

setServingData(string $var)

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.

Details

at line 34
__construct()

at line 46
string 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.

Generated from protobuf field string request_id = 1;

Return Value

string

at line 58
setRequestId(string $var)

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.

Generated from protobuf field string request_id = 1;

Parameters

string $var

at line 71
string 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.

Generated from protobuf field string serving_data = 2;

Return Value

string

at line 83
setServingData(string $var)

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.

Generated from protobuf field string serving_data = 2;

Parameters

string $var