Once a RPC completes the underlying transport (gRPC or HTTP) may make some metadata attributes about the request available. For the moment we just capture headers, trailers, and tunnel some low-level socket information as fake headers.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version available is 2.37.0-rc, which can be accessed via a link.\u003c/p\u003e\n"],["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eRpcMetadata\u003c/code\u003e struct within the Google Cloud C++ client library across multiple versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRpcMetadata\u003c/code\u003e struct stores data about a completed RPC request, which can be used for debugging and troubleshooting.\u003c/p\u003e\n"],["\u003cp\u003eThere are many previous versions listed, with version 2.27.0 indicating the starting point of the information in the content, and 2.10.1 showing as the oldest.\u003c/p\u003e\n"],["\u003cp\u003eThe metadata is primarily for debugging and may not be stable or available in all cases, as the information is intended for troubleshooting purposes only, with no guarantees about availability or stability of header names.\u003c/p\u003e\n"]]],[],null,["# Struct RpcMetadata (2.27.0)\n\nVersion 2.27.0keyboard_arrow_down\n\n- [2.42.0-rc (latest)](/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.41.0](/cpp/docs/reference/common/2.41.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.40.0](/cpp/docs/reference/common/2.40.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.39.0](/cpp/docs/reference/common/2.39.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.38.0](/cpp/docs/reference/common/2.38.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.37.0](/cpp/docs/reference/common/2.37.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.36.0](/cpp/docs/reference/common/2.36.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.35.0](/cpp/docs/reference/common/2.35.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.34.0](/cpp/docs/reference/common/2.34.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.33.0](/cpp/docs/reference/common/2.33.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.32.0](/cpp/docs/reference/common/2.32.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.31.0](/cpp/docs/reference/common/2.31.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.30.0](/cpp/docs/reference/common/2.30.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.29.0](/cpp/docs/reference/common/2.29.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.28.0](/cpp/docs/reference/common/2.28.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.27.0](/cpp/docs/reference/common/2.27.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.26.0](/cpp/docs/reference/common/2.26.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.25.1](/cpp/docs/reference/common/2.25.1/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.24.0](/cpp/docs/reference/common/2.24.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.23.0](/cpp/docs/reference/common/2.23.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.22.1](/cpp/docs/reference/common/2.22.1/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.21.0](/cpp/docs/reference/common/2.21.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.20.0](/cpp/docs/reference/common/2.20.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.19.0](/cpp/docs/reference/common/2.19.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.18.0](/cpp/docs/reference/common/2.18.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.17.0](/cpp/docs/reference/common/2.17.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.16.0](/cpp/docs/reference/common/2.16.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.15.1](/cpp/docs/reference/common/2.15.1/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.14.0](/cpp/docs/reference/common/2.14.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.13.0](/cpp/docs/reference/common/2.13.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.12.0](/cpp/docs/reference/common/2.12.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.11.0](/cpp/docs/reference/common/2.11.0/structgoogle_1_1cloud_1_1RpcMetadata)\n- [2.10.1](/cpp/docs/reference/common/2.10.1/structgoogle_1_1cloud_1_1RpcMetadata) \nRPC request metadata. \nOnce a RPC completes the underlying transport (gRPC or HTTP) may make some metadata attributes about the request available. For the moment we just capture headers, trailers, and tunnel some low-level socket information as fake headers.\n| **Note:** When available to applications this information is intended only for debugging and troubleshooting. There is no guarantee that the header names will always be available, or remain stable."]]