RequestMetadata constructor
RequestMetadata({
- String? callerIp,
- String? callerSuppliedUserAgent,
- String? callerNetwork,
- AttributeContext_Request? requestAttributes,
- AttributeContext_Peer? destinationAttributes,
Implementation
factory RequestMetadata({
$core.String? callerIp,
$core.String? callerSuppliedUserAgent,
$core.String? callerNetwork,
$43.AttributeContext_Request? requestAttributes,
$43.AttributeContext_Peer? destinationAttributes,
}) {
final $result = create();
if (callerIp != null) {
$result.callerIp = callerIp;
}
if (callerSuppliedUserAgent != null) {
$result.callerSuppliedUserAgent = callerSuppliedUserAgent;
}
if (callerNetwork != null) {
$result.callerNetwork = callerNetwork;
}
if (requestAttributes != null) {
$result.requestAttributes = requestAttributes;
}
if (destinationAttributes != null) {
$result.destinationAttributes = destinationAttributes;
}
return $result;
}