Firestore v1 API - Class StructuredAggregationQuery (3.8.0)

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

Reference documentation and code samples for the Firestore v1 API class StructuredAggregationQuery.

Firestore query for running an aggregation over a [StructuredQuery][google.firestore.v1.StructuredQuery].

Inheritance

object > StructuredAggregationQuery

Namespace

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

StructuredAggregationQuery()

public StructuredAggregationQuery()

StructuredAggregationQuery(StructuredAggregationQuery)

public StructuredAggregationQuery(StructuredAggregationQuery other)
Parameter
Name Description
other StructuredAggregationQuery

Properties

Aggregations

public RepeatedField<StructuredAggregationQuery.Types.Aggregation> Aggregations { get; }

Optional. Series of aggregations to apply over the results of the structured_query.

Requires:

  • A minimum of one and maximum of five aggregations per query.
Property Value
Type Description
RepeatedFieldStructuredAggregationQueryTypesAggregation

QueryTypeCase

public StructuredAggregationQuery.QueryTypeOneofCase QueryTypeCase { get; }
Property Value
Type Description
StructuredAggregationQueryQueryTypeOneofCase

StructuredQuery

public StructuredQuery StructuredQuery { get; set; }

Nested structured query.

Property Value
Type Description
StructuredQuery