5.3.0 (latest) 5.2.0 5.1.0 5.0.0 4.17.0 4.16.0 4.15.0 4.14.0 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.5.0 3.4.0 3.3.0 3.2.0

    public sealed class RunAggregationQueryResponse : IMessage<RunAggregationQueryResponse>, IEquatable<RunAggregationQueryResponse>, IDeepCloneable<RunAggregationQueryResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Datastore v1 API class RunAggregationQueryResponse.

The response for
\[Datastore.RunAggregationQuery\]\[google.datastore.v1.Datastore.RunAggregationQuery\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> RunAggregationQueryResponse

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RunAggregationQueryResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.RunAggregationQueryResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RunAggregationQueryResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.RunAggregationQueryResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RunAggregationQueryResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.RunAggregationQueryResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Datastore.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1)

## Assembly

Google.Cloud.Datastore.V1.dll

## Constructors

### RunAggregationQueryResponse()

    public RunAggregationQueryResponse()

### RunAggregationQueryResponse(RunAggregationQueryResponse)

    public RunAggregationQueryResponse(RunAggregationQueryResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.RunAggregationQueryResponse` |

## Properties

### Batch

    public AggregationResultBatch Batch { get; set; }

A batch of aggregation results. Always present.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationResultBatch` |   |

### ExplainMetrics

    public ExplainMetrics ExplainMetrics { get; set; }

Query explain metrics. This is only present when the
\[RunAggregationQueryRequest.explain_options\]\[google.datastore.v1.RunAggregationQueryRequest.explain_options\]
is provided, and it is sent only once with the last response in the stream.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ExplainMetrics` |   |

### Query

    public AggregationQuery Query { get; set; }

The parsed form of the `GqlQuery` from the request, if it was set.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationQuery` |   |

### Transaction

    public ByteString Transaction { get; set; }

The identifier of the transaction that was started as part of this
RunAggregationQuery request.

Set only when
\[ReadOptions.new_transaction\]\[google.datastore.v1.ReadOptions.new_transaction\]
was set in
\[RunAggregationQueryRequest.read_options\]\[google.datastore.v1.RunAggregationQueryRequest.read_options\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.ByteString.html` |   |