[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eMetadataUpdatePolicy\u003c/code\u003e class within the Google Cloud Bigtable C++ client library, focusing on version 2.18.0 and providing links to other versions ranging from 2.11.0 to 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMetadataUpdatePolicy\u003c/code\u003e class manages the metadata for API requests, including setting up the \u003ccode\u003eClientContext\u003c/code\u003e and defining a default metadata pair.\u003c/p\u003e\n"],["\u003cp\u003eThe class has multiple constructors, including options for default metadata pairs, move constructors, and copy constructors.\u003c/p\u003e\n"],["\u003cp\u003eIt also overloads the assignment operator for both move and copy operations.\u003c/p\u003e\n"],["\u003cp\u003eKey functions include \u003ccode\u003eSetup\u003c/code\u003e to modify the \u003ccode\u003egrpc::ClientContext\u003c/code\u003e, and \u003ccode\u003evalue()\u003c/code\u003e and \u003ccode\u003eapi_client_header()\u003c/code\u003e to retrieve string values related to the request parameters and api client header.\u003c/p\u003e\n"]]],[],null,["# Class MetadataUpdatePolicy (2.18.0)\n\nVersion 2.18.0keyboard_arrow_down\n\n- [2.42.0-rc (latest)](/cpp/docs/reference/bigtable/latest/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.41.0](/cpp/docs/reference/bigtable/2.41.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.40.0](/cpp/docs/reference/bigtable/2.40.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.39.0](/cpp/docs/reference/bigtable/2.39.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.38.0](/cpp/docs/reference/bigtable/2.38.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.37.0](/cpp/docs/reference/bigtable/2.37.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.36.0](/cpp/docs/reference/bigtable/2.36.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.35.0](/cpp/docs/reference/bigtable/2.35.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.34.0](/cpp/docs/reference/bigtable/2.34.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.33.0](/cpp/docs/reference/bigtable/2.33.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.32.0](/cpp/docs/reference/bigtable/2.32.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.31.0](/cpp/docs/reference/bigtable/2.31.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.30.0](/cpp/docs/reference/bigtable/2.30.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.29.0](/cpp/docs/reference/bigtable/2.29.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.28.0](/cpp/docs/reference/bigtable/2.28.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.27.0](/cpp/docs/reference/bigtable/2.27.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.26.0](/cpp/docs/reference/bigtable/2.26.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.25.1](/cpp/docs/reference/bigtable/2.25.1/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.24.0](/cpp/docs/reference/bigtable/2.24.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.23.0](/cpp/docs/reference/bigtable/2.23.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.22.1](/cpp/docs/reference/bigtable/2.22.1/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.21.0](/cpp/docs/reference/bigtable/2.21.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.20.0](/cpp/docs/reference/bigtable/2.20.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.19.0](/cpp/docs/reference/bigtable/2.19.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.18.0](/cpp/docs/reference/bigtable/2.18.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.17.0](/cpp/docs/reference/bigtable/2.17.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.16.0](/cpp/docs/reference/bigtable/2.16.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.15.1](/cpp/docs/reference/bigtable/2.15.1/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.14.0](/cpp/docs/reference/bigtable/2.14.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.13.0](/cpp/docs/reference/bigtable/2.13.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.12.0](/cpp/docs/reference/bigtable/2.12.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy)\n- [2.11.0](/cpp/docs/reference/bigtable/2.11.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy) \n[MetadataUpdatePolicy](/cpp/docs/reference/bigtable/2.18.0/classgoogle_1_1cloud_1_1bigtable_1_1MetadataUpdatePolicy) holds supported metadata and setup ClientContext.\n\nConstructors\n------------\n\n### MetadataUpdatePolicy(std::string const \\&, MetadataParamTypes const \\&)\n\nConstructor with default metadata pair.\n\n### MetadataUpdatePolicy(MetadataUpdatePolicy \\&\\&)\n\n### MetadataUpdatePolicy(MetadataUpdatePolicy const \\&)\n\nOperators\n---------\n\n### operator=(MetadataUpdatePolicy \\&\\&)\n\n### operator=(MetadataUpdatePolicy const \\&)\n\nFunctions\n---------\n\n### Setup(grpc::ClientContext \\&) const\n\n### value() const\n\n### api_client_header() const"]]