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(array $data = NULL)

Constructor.

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 48
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type string $request_id
      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.
@type string $serving_data
      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.

}

at line 60
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 73
$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 88
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 101
$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