Documentation

RequestInfo extends Message
in package

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

Table of Contents

Properties

$request_id  : mixed
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  : mixed
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.

Methods

__construct()  : mixed
Constructor.
getRequestId()  : 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.
getServingData()  : 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.
setRequestId()  : $this
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.
setServingData()  : $this
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.

Properties

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

protected mixed $request_id = ''

Generated from protobuf field string request_id = 1 [json_name = "requestId"];

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

protected mixed $serving_data = ''

Generated from protobuf field string serving_data = 2 [json_name = "servingData"];

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

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

}

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.

public getRequestId() : string

Generated from protobuf field string request_id = 1 [json_name = "requestId"];

Return values
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.

public getServingData() : string

Generated from protobuf field string serving_data = 2 [json_name = "servingData"];

Return values
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.

public setRequestId(string $var) : $this

Generated from protobuf field string request_id = 1 [json_name = "requestId"];

Parameters
$var : string
Return values
$this

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.

public setServingData(string $var) : $this

Generated from protobuf field string serving_data = 2 [json_name = "servingData"];

Parameters
$var : string
Return values
$this

        
On this page

Search results