firestore/v1 library

Cloud Firestore API - v1

Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.

For more information, see cloud.google.com/firestore

Create an instance of FirestoreApi to access these resources:

Classes

Aggregation
Defines a aggregation that produces a single result.
AggregationResult
The result of a single bucket from a Firestore aggregation query.
ArrayValue
An array value.
BatchGetDocumentsRequest
The request for Firestore.BatchGetDocuments.
BatchGetDocumentsResponse
The streamed response for Firestore.BatchGetDocuments.
BatchWriteRequest
The request for Firestore.BatchWrite.
BatchWriteResponse
The response from Firestore.BatchWrite.
BeginTransactionRequest
The request for Firestore.BeginTransaction.
CommitRequest
The request for Firestore.Commit.
CommitResponse
The response for Firestore.Commit.
CompositeFilter
A filter that merges multiple other filters using the given operator.
Cursor
A position in a query result set.
Document
A Firestore document.
DocumentTransform
A transformation of a document.
FieldFilter
A filter on a specific field.
FieldTransform
A transformation of a field of the document.
Filter
A filter.
FirestoreApi
Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.
GoogleFirestoreAdminV1Database
A Cloud Firestore Database.
GoogleFirestoreAdminV1Field
Represents a single field in the database.
GoogleFirestoreAdminV1ImportDocumentsRequest
The request for FirestoreAdmin.ImportDocuments.
GoogleFirestoreAdminV1Index
Cloud Firestore indexes enable simple and complex queries against documents in a database.
GoogleFirestoreAdminV1IndexConfig
The index configuration for this field.
GoogleFirestoreAdminV1IndexField
A field in an index.
GoogleFirestoreAdminV1ListDatabasesResponse
The list of databases for a project.
GoogleFirestoreAdminV1ListFieldsResponse
The response for FirestoreAdmin.ListFields.
GoogleFirestoreAdminV1ListIndexesResponse
The response for FirestoreAdmin.ListIndexes.
GoogleLongrunningListOperationsResponse
The response message for Operations.ListOperations.
GoogleLongrunningOperation
This resource represents a long-running operation that is the result of a network API call.
ListCollectionIdsRequest
The request for Firestore.ListCollectionIds.
ListDocumentsResponse
The response for Firestore.ListDocuments.
ListLocationsResponse
The response message for Locations.ListLocations.
MapValue
A map value.
Order
An order on a field.
PartitionQueryRequest
The request for Firestore.PartitionQuery.
PartitionQueryResponse
The response for Firestore.PartitionQuery.
Projection
The projection of document's fields to return.
ProjectsDatabasesCollectionGroupsFieldsResource
ProjectsDatabasesCollectionGroupsIndexesResource
ProjectsDatabasesCollectionGroupsResource
ProjectsDatabasesDocumentsResource
ProjectsDatabasesOperationsResource
ProjectsDatabasesResource
ProjectsLocationsResource
ProjectsResource
RunAggregationQueryRequest
The request for Firestore.RunAggregationQuery.
RunAggregationQueryResponse
The response for Firestore.RunAggregationQuery.
RunQueryRequest
The request for Firestore.RunQuery.
RunQueryResponse
The response for Firestore.RunQuery.
StructuredAggregationQuery
Firestore query for running an aggregation over a StructuredQuery.
StructuredQuery
A Firestore query.
TransactionOptions
Options for creating a new transaction.
UnaryFilter
A filter with a single operand.
Value
A message that can hold any of the supported value types.
Write
A write on a document.
WriteRequest
The request for Firestore.Write.
WriteResponse
The response for Firestore.Write.
WriteResult
The result of applying a write.

Typedefs

BeginTransactionResponse = $BeginTransactionResponse
The response for Firestore.BeginTransaction.
CollectionSelector = $CollectionSelector
A selection of a collection, such as messages as m1.
Count = $Count
Count of documents that match the query.
DocumentMask = $DocumentMask
A set of field paths on a document.
Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
FieldReference = $FieldReference
A reference to a field, such as max(messages.time) as max_time.
GoogleFirestoreAdminV1ExportDocumentsRequest = $ExportDocumentsRequest
The request for FirestoreAdmin.ExportDocuments.
GoogleLongrunningCancelOperationRequest = $Empty
The request message for Operations.CancelOperation.
LatLng = $LatLng
An object that represents a latitude/longitude pair.
ListCollectionIdsResponse = $ListCollectionIdsResponse
The response from Firestore.ListCollectionIds.
Location = $Location
A resource that represents Google Cloud Platform location.
Precondition = $Precondition
A precondition on a document, used for conditional operations.
ReadOnly = $ReadOnly
Options for a transaction that can only be used to read documents.
ReadWrite = $ReadWrite
Options for a transaction that can be used to read and write documents.
RollbackRequest = $RollbackRequest
The request for Firestore.Rollback.
Status = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.