class RequestInfo extends Message

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

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.

$this
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.

$this
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 59
$this 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

Return Value

$this

at line 74
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 87
$this 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

Return Value

$this