Query explain metrics. This is only present when theRunQueryRequest.explain_optionsis provided, and it is sent only once with the last response in the stream.
Query explain metrics. This is only present when theRunQueryRequest.explain_optionsis provided, and it is sent only once with the last response in the stream.
Query explain metrics. This is only present when theRunQueryRequest.explain_optionsis provided, and it is sent only once with the last response in the stream.
[[["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."],[],[],null,["# Cloud Datastore V1 Client - Class RunQueryResponse (1.33.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.33.1 (latest)](/php/docs/reference/cloud-datastore/latest/V1.RunQueryResponse)\n- [1.33.0](/php/docs/reference/cloud-datastore/1.33.0/V1.RunQueryResponse)\n- [1.32.3](/php/docs/reference/cloud-datastore/1.32.3/V1.RunQueryResponse)\n- [1.31.0](/php/docs/reference/cloud-datastore/1.31.0/V1.RunQueryResponse)\n- [1.30.0](/php/docs/reference/cloud-datastore/1.30.0/V1.RunQueryResponse)\n- [1.29.2](/php/docs/reference/cloud-datastore/1.29.2/V1.RunQueryResponse)\n- [1.28.2](/php/docs/reference/cloud-datastore/1.28.2/V1.RunQueryResponse)\n- [1.26.0](/php/docs/reference/cloud-datastore/1.26.0/V1.RunQueryResponse)\n- [1.25.0](/php/docs/reference/cloud-datastore/1.25.0/V1.RunQueryResponse)\n- [1.24.4](/php/docs/reference/cloud-datastore/1.24.4/V1.RunQueryResponse)\n- [1.23.0](/php/docs/reference/cloud-datastore/1.23.0/V1.RunQueryResponse)\n- [1.22.1](/php/docs/reference/cloud-datastore/1.22.1/V1.RunQueryResponse)\n- [1.21.2](/php/docs/reference/cloud-datastore/1.21.2/V1.RunQueryResponse)\n- [1.19.0](/php/docs/reference/cloud-datastore/1.19.0/V1.RunQueryResponse)\n- [1.18.1](/php/docs/reference/cloud-datastore/1.18.1/V1.RunQueryResponse)\n- [1.17.1](/php/docs/reference/cloud-datastore/1.17.1/V1.RunQueryResponse) \nReference documentation and code samples for the Cloud Datastore V1 Client class RunQueryResponse.\n\nThe response for\nDatastore.RunQuery.\n\nGenerated from protobuf message `google.datastore.v1.RunQueryResponse`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Datastore \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBatch\n\nA batch of query results (always present).\n\n### hasBatch\n\n### clearBatch\n\n### setBatch\n\nA batch of query results (always present).\n\n### getQuery\n\nThe parsed form of the `GqlQuery` from the request, if it was set.\n\n### hasQuery\n\n### clearQuery\n\n### setQuery\n\nThe parsed form of the `GqlQuery` from the request, if it was set.\n\n### getTransaction\n\nThe identifier of the transaction that was started as part of this\nRunQuery request.\n\nSet only when\n[ReadOptions.new_transaction](/php/docs/reference/cloud-datastore/latest/V1.ReadOptions#_Google_Cloud_Datastore_V1_ReadOptions__getNewTransaction__)\nwas set in\n[RunQueryRequest.read_options](/php/docs/reference/cloud-datastore/latest/V1.RunQueryRequest#_Google_Cloud_Datastore_V1_RunQueryRequest__getReadOptions__).\n\n### setTransaction\n\nThe identifier of the transaction that was started as part of this\nRunQuery request.\n\nSet only when\n[ReadOptions.new_transaction](/php/docs/reference/cloud-datastore/latest/V1.ReadOptions#_Google_Cloud_Datastore_V1_ReadOptions__getNewTransaction__)\nwas set in\n[RunQueryRequest.read_options](/php/docs/reference/cloud-datastore/latest/V1.RunQueryRequest#_Google_Cloud_Datastore_V1_RunQueryRequest__getReadOptions__).\n\n### getExplainMetrics\n\nQuery explain metrics. This is only present when the\n[RunQueryRequest.explain_options](/php/docs/reference/cloud-datastore/latest/V1.RunQueryRequest#_Google_Cloud_Datastore_V1_RunQueryRequest__getExplainOptions__)\nis provided, and it is sent only once with the last response in the stream.\n\n### hasExplainMetrics\n\n### clearExplainMetrics\n\n### setExplainMetrics\n\nQuery explain metrics. This is only present when the\n[RunQueryRequest.explain_options](/php/docs/reference/cloud-datastore/latest/V1.RunQueryRequest#_Google_Cloud_Datastore_V1_RunQueryRequest__getExplainOptions__)\nis provided, and it is sent only once with the last response in the stream."]]