Firestore v1 API - Class RunAggregationQueryRequest (3.5.1)

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

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

The request for [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].

Inheritance

object > RunAggregationQueryRequest

Namespace

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

RunAggregationQueryRequest()

public RunAggregationQueryRequest()

RunAggregationQueryRequest(RunAggregationQueryRequest)

public RunAggregationQueryRequest(RunAggregationQueryRequest other)
Parameter
NameDescription
otherRunAggregationQueryRequest

Properties

ConsistencySelectorCase

public RunAggregationQueryRequest.ConsistencySelectorOneofCase ConsistencySelectorCase { get; }
Property Value
TypeDescription
RunAggregationQueryRequestConsistencySelectorOneofCase

HasTransaction

public bool HasTransaction { get; }

Gets whether the "transaction" field is set

Property Value
TypeDescription
bool

NewTransaction

public TransactionOptions NewTransaction { get; set; }

Starts a new transaction as part of the query, defaulting to read-only.

The new transaction ID will be returned as the first response in the stream.

Property Value
TypeDescription
TransactionOptions

Parent

public string Parent { get; set; }

Required. The parent resource name. In the format: projects/{project_id}/databases/{database_id}/documents or projects/{project_id}/databases/{database_id}/documents/{document_path}. For example: projects/my-project/databases/my-database/documents or projects/my-project/databases/my-database/documents/chatrooms/my-chatroom

Property Value
TypeDescription
string

QueryTypeCase

public RunAggregationQueryRequest.QueryTypeOneofCase QueryTypeCase { get; }
Property Value
TypeDescription
RunAggregationQueryRequestQueryTypeOneofCase

ReadTime

public Timestamp ReadTime { get; set; }

Executes the query at the given timestamp.

This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.

Property Value
TypeDescription
Timestamp

StructuredAggregationQuery

public StructuredAggregationQuery StructuredAggregationQuery { get; set; }

An aggregation query.

Property Value
TypeDescription
StructuredAggregationQuery

Transaction

public ByteString Transaction { get; set; }

Run the aggregation within an already active transaction.

The value here is the opaque transaction ID to execute the query in.

Property Value
TypeDescription
ByteString