The time at which the prepared query token becomes invalid. A token may become invalid early due to changes in the data being read, but it provides a guideline to refresh query plans asynchronously.
getMetadata
Structure of rows in the response stream of ExecuteQueryResponse for the
returned prepared_query.
[[["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-08-28 UTC."],[],[],null,["# Cloud Bigtable V2 Client - Class PrepareQueryResponse (2.17.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.1 (latest)](/php/docs/reference/cloud-bigtable/latest/V2.PrepareQueryResponse)\n- [2.17.0](/php/docs/reference/cloud-bigtable/2.17.0/V2.PrepareQueryResponse)\n- [2.16.0](/php/docs/reference/cloud-bigtable/2.16.0/V2.PrepareQueryResponse)\n- [2.15.0](/php/docs/reference/cloud-bigtable/2.15.0/V2.PrepareQueryResponse)\n- [2.14.0](/php/docs/reference/cloud-bigtable/2.14.0/V2.PrepareQueryResponse)\n- [2.13.0](/php/docs/reference/cloud-bigtable/2.13.0/V2.PrepareQueryResponse)\n- [2.12.0](/php/docs/reference/cloud-bigtable/2.12.0/V2.PrepareQueryResponse)\n- [2.11.1](/php/docs/reference/cloud-bigtable/2.11.1/V2.PrepareQueryResponse)\n- [2.9.1](/php/docs/reference/cloud-bigtable/2.9.1/V2.PrepareQueryResponse)\n- [2.8.0](/php/docs/reference/cloud-bigtable/2.8.0/V2.PrepareQueryResponse)\n- [2.7.0](/php/docs/reference/cloud-bigtable/2.7.0/V2.PrepareQueryResponse)\n- [2.6.3](/php/docs/reference/cloud-bigtable/2.6.3/V2.PrepareQueryResponse)\n- [2.5.0](/php/docs/reference/cloud-bigtable/2.5.0/V2.PrepareQueryResponse)\n- [2.4.0](/php/docs/reference/cloud-bigtable/2.4.0/V2.PrepareQueryResponse)\n- [2.3.0](/php/docs/reference/cloud-bigtable/2.3.0/V2.PrepareQueryResponse)\n- [2.2.1](/php/docs/reference/cloud-bigtable/2.2.1/V2.PrepareQueryResponse)\n- [2.1.0](/php/docs/reference/cloud-bigtable/2.1.0/V2.PrepareQueryResponse)\n- [2.0.1](/php/docs/reference/cloud-bigtable/2.0.1/V2.PrepareQueryResponse)\n- [1.32.1](/php/docs/reference/cloud-bigtable/1.32.1/V2.PrepareQueryResponse)\n- [1.31.1](/php/docs/reference/cloud-bigtable/1.31.1/V2.PrepareQueryResponse)\n- [1.30.0](/php/docs/reference/cloud-bigtable/1.30.0/V2.PrepareQueryResponse)\n- [1.29.2](/php/docs/reference/cloud-bigtable/1.29.2/V2.PrepareQueryResponse)\n- [1.28.3](/php/docs/reference/cloud-bigtable/1.28.3/V2.PrepareQueryResponse)\n- [1.27.0](/php/docs/reference/cloud-bigtable/1.27.0/V2.PrepareQueryResponse)\n- [1.26.2](/php/docs/reference/cloud-bigtable/1.26.2/V2.PrepareQueryResponse)\n- [1.25.0](/php/docs/reference/cloud-bigtable/1.25.0/V2.PrepareQueryResponse)\n- [1.24.1](/php/docs/reference/cloud-bigtable/1.24.1/V2.PrepareQueryResponse)\n- [1.23.0](/php/docs/reference/cloud-bigtable/1.23.0/V2.PrepareQueryResponse)\n- [1.22.2](/php/docs/reference/cloud-bigtable/1.22.2/V2.PrepareQueryResponse)\n- [1.21.1](/php/docs/reference/cloud-bigtable/1.21.1/V2.PrepareQueryResponse)\n- [1.20.3](/php/docs/reference/cloud-bigtable/1.20.3/V2.PrepareQueryResponse) \nReference documentation and code samples for the Cloud Bigtable V2 Client class PrepareQueryResponse.\n\nResponse message for Bigtable.PrepareQueryResponse\n\nGenerated from protobuf message `google.bigtable.v2.PrepareQueryResponse`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Bigtable \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getMetadata\n\nStructure of rows in the response stream of `ExecuteQueryResponse` for the\nreturned `prepared_query`.\n\n### hasMetadata\n\n### clearMetadata\n\n### setMetadata\n\nStructure of rows in the response stream of `ExecuteQueryResponse` for the\nreturned `prepared_query`.\n\n### getPreparedQuery\n\nA serialized prepared query. Clients should treat this as an opaque\nblob of bytes to send in `ExecuteQueryRequest`.\n\n### setPreparedQuery\n\nA serialized prepared query. Clients should treat this as an opaque\nblob of bytes to send in `ExecuteQueryRequest`.\n\n### getValidUntil\n\nThe time at which the prepared query token becomes invalid.\n\nA token may become invalid early due to changes in the data being read, but\nit provides a guideline to refresh query plans asynchronously.\n\n### hasValidUntil\n\n### clearValidUntil\n\n### setValidUntil\n\nThe time at which the prepared query token becomes invalid.\n\nA token may become invalid early due to changes in the data being read, but\nit provides a guideline to refresh query plans asynchronously."]]