Firestore v1 API - Class StructuredAggregationQuery (3.5.1)

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
NameDescription
otherStructuredAggregationQuery

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
TypeDescription
RepeatedFieldStructuredAggregationQueryTypesAggregation

QueryTypeCase

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

StructuredQuery

public StructuredQuery StructuredQuery { get; set; }

Nested structured query.

Property Value
TypeDescription
StructuredQuery