Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
[[["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 RunAggregationQueryRequest (1.33.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.33.1 (latest)](/php/docs/reference/cloud-datastore/latest/V1.RunAggregationQueryRequest)\n- [1.33.0](/php/docs/reference/cloud-datastore/1.33.0/V1.RunAggregationQueryRequest)\n- [1.32.3](/php/docs/reference/cloud-datastore/1.32.3/V1.RunAggregationQueryRequest)\n- [1.31.0](/php/docs/reference/cloud-datastore/1.31.0/V1.RunAggregationQueryRequest)\n- [1.30.0](/php/docs/reference/cloud-datastore/1.30.0/V1.RunAggregationQueryRequest)\n- [1.29.2](/php/docs/reference/cloud-datastore/1.29.2/V1.RunAggregationQueryRequest)\n- [1.28.2](/php/docs/reference/cloud-datastore/1.28.2/V1.RunAggregationQueryRequest)\n- [1.26.0](/php/docs/reference/cloud-datastore/1.26.0/V1.RunAggregationQueryRequest)\n- [1.25.0](/php/docs/reference/cloud-datastore/1.25.0/V1.RunAggregationQueryRequest)\n- [1.24.4](/php/docs/reference/cloud-datastore/1.24.4/V1.RunAggregationQueryRequest)\n- [1.23.0](/php/docs/reference/cloud-datastore/1.23.0/V1.RunAggregationQueryRequest)\n- [1.22.1](/php/docs/reference/cloud-datastore/1.22.1/V1.RunAggregationQueryRequest)\n- [1.21.2](/php/docs/reference/cloud-datastore/1.21.2/V1.RunAggregationQueryRequest)\n- [1.19.0](/php/docs/reference/cloud-datastore/1.19.0/V1.RunAggregationQueryRequest)\n- [1.18.1](/php/docs/reference/cloud-datastore/1.18.1/V1.RunAggregationQueryRequest)\n- [1.17.1](/php/docs/reference/cloud-datastore/1.17.1/V1.RunAggregationQueryRequest) \nReference documentation and code samples for the Cloud Datastore V1 Client class RunAggregationQueryRequest.\n\nThe request for\nDatastore.RunAggregationQuery.\n\nGenerated from protobuf message `google.datastore.v1.RunAggregationQueryRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Datastore \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getProjectId\n\nRequired. The ID of the project against which to make the request.\n\n### setProjectId\n\nRequired. The ID of the project against which to make the request.\n\n### getDatabaseId\n\nThe ID of the database against which to make the request.\n\n'(default)' is not allowed; please use empty string '' to refer the default\ndatabase.\n\n### setDatabaseId\n\nThe ID of the database against which to make the request.\n\n'(default)' is not allowed; please use empty string '' to refer the default\ndatabase.\n\n### getPartitionId\n\nEntities are partitioned into subsets, identified by a partition ID.\n\nQueries are scoped to a single partition.\nThis partition ID is normalized with the standard default context\npartition ID.\n\n### hasPartitionId\n\n### clearPartitionId\n\n### setPartitionId\n\nEntities are partitioned into subsets, identified by a partition ID.\n\nQueries are scoped to a single partition.\nThis partition ID is normalized with the standard default context\npartition ID.\n\n### getReadOptions\n\nThe options for this query.\n\n### hasReadOptions\n\n### clearReadOptions\n\n### setReadOptions\n\nThe options for this query.\n\n### getAggregationQuery\n\nThe query to run.\n\n### hasAggregationQuery\n\n### setAggregationQuery\n\nThe query to run.\n\n### getGqlQuery\n\nThe GQL query to run. This query must be an aggregation query.\n\n### hasGqlQuery\n\n### setGqlQuery\n\nThe GQL query to run. This query must be an aggregation query.\n\n### getExplainOptions\n\nOptional. Explain options for the query. If set, additional query\nstatistics will be returned. If not, only query results will be returned.\n\n### hasExplainOptions\n\n### clearExplainOptions\n\n### setExplainOptions\n\nOptional. Explain options for the query. If set, additional query\nstatistics will be returned. If not, only query results will be returned.\n\n### getQueryType"]]