RunAggregationQueryRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The request for
Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery]
.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
parent |
str
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
|
structured_aggregation_query |
google.cloud.firestore_v1.types.StructuredAggregationQuery
An aggregation query. This field is a member of oneof _ query_type .
|
transaction |
bytes
Run the aggregation within an already active transaction. The value here is the opaque transaction ID to execute the query in. This field is a member of oneof _ consistency_selector .
|
new_transaction |
google.cloud.firestore_v1.types.TransactionOptions
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. This field is a member of oneof _ consistency_selector .
|
read_time |
google.protobuf.timestamp_pb2.Timestamp
Executes the query at the given timestamp. Requires: - Cannot be more than 270 seconds in the past. This field is a member of oneof _ consistency_selector .
|