Show / Hide Table of Contents

Namespace Google.Apis.Firestore.v1

Classes

FirestoreBaseServiceRequest<TResponse>

A base abstract class for Firestore requests.

FirestoreService

The Firestore Service.

FirestoreService.Scope

Available OAuth 2.0 scopes for use with the Cloud Firestore API.

FirestoreService.ScopeConstants

Available OAuth 2.0 scope constants for use with the Cloud Firestore API.

ProjectsResource

The "projects" collection of methods.

ProjectsResource.DatabasesResource

The "databases" collection of methods.

ProjectsResource.DatabasesResource.CollectionGroupsResource

The "collectionGroups" collection of methods.

ProjectsResource.DatabasesResource.CollectionGroupsResource.FieldsResource

The "fields" collection of methods.

ProjectsResource.DatabasesResource.CollectionGroupsResource.FieldsResource.GetRequest

Gets the metadata and configuration for a Field.

ProjectsResource.DatabasesResource.CollectionGroupsResource.FieldsResource.ListRequest

Lists the field configuration and metadata for this database. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with the filter set to indexConfig.usesAncestorConfig:false .

ProjectsResource.DatabasesResource.CollectionGroupsResource.FieldsResource.PatchRequest

Updates a field configuration. Currently, field updates apply only to single field index configuration. However, calls to FirestoreAdmin.UpdateField should provide a field mask to avoid changing any configuration that the caller isn't aware of. The field mask should be specified as: { paths: &quot;index_config&quot; }. This call returns a google.longrunning.Operation which may be used to track the status of the field update. The metadata for the operation will be the type FieldOperationMetadata. To configure the default field settings for the database, use the special Field with resource name: projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*.

ProjectsResource.DatabasesResource.CollectionGroupsResource.IndexesResource

The "indexes" collection of methods.

ProjectsResource.DatabasesResource.CollectionGroupsResource.IndexesResource.CreateRequest

Creates a composite index. This returns a google.longrunning.Operation which may be used to track the status of the creation. The metadata for the operation will be the type IndexOperationMetadata.

ProjectsResource.DatabasesResource.CollectionGroupsResource.IndexesResource.DeleteRequest

Deletes a composite index.

ProjectsResource.DatabasesResource.CollectionGroupsResource.IndexesResource.GetRequest

Gets a composite index.

ProjectsResource.DatabasesResource.CollectionGroupsResource.IndexesResource.ListRequest

Lists composite indexes.

ProjectsResource.DatabasesResource.CreateRequest

Create a database.

ProjectsResource.DatabasesResource.DocumentsResource

The "documents" collection of methods.

ProjectsResource.DatabasesResource.DocumentsResource.BatchGetRequest

Gets multiple documents. Documents returned by this method are not guaranteed to be returned in the same order that they were requested.

ProjectsResource.DatabasesResource.DocumentsResource.BatchWriteRequest

Applies a batch of write operations. The BatchWrite method does not apply the write operations atomically and can apply them out of order. Method does not allow more than one write per document. Each write succeeds or fails independently. See the BatchWriteResponse for the success status of each write. If you require an atomically applied set of writes, use Commit instead.

ProjectsResource.DatabasesResource.DocumentsResource.BeginTransactionRequest

Starts a new transaction.

ProjectsResource.DatabasesResource.DocumentsResource.CommitRequest

Commits a transaction, while optionally updating documents.

ProjectsResource.DatabasesResource.DocumentsResource.CreateDocumentRequest

Creates a new document.

ProjectsResource.DatabasesResource.DocumentsResource.DeleteRequest

Deletes a document.

ProjectsResource.DatabasesResource.DocumentsResource.GetRequest

Gets a single document.

ProjectsResource.DatabasesResource.DocumentsResource.ListCollectionIdsRequest

Lists all the collection IDs underneath a document.

ProjectsResource.DatabasesResource.DocumentsResource.ListDocumentsRequest

Lists documents.

ProjectsResource.DatabasesResource.DocumentsResource.ListenRequest

Listens to changes.

ProjectsResource.DatabasesResource.DocumentsResource.ListRequest

Lists documents.

ProjectsResource.DatabasesResource.DocumentsResource.PartitionQueryRequest

Partitions a query by returning partition cursors that can be used to run the query in parallel. The returned partition cursors are split points that can be used by RunQuery as starting/end points for the query results.

ProjectsResource.DatabasesResource.DocumentsResource.PatchRequest

Updates or inserts a document.

ProjectsResource.DatabasesResource.DocumentsResource.RollbackRequest

Rolls back a transaction.

ProjectsResource.DatabasesResource.DocumentsResource.RunQueryRequest

Runs a query.

ProjectsResource.DatabasesResource.DocumentsResource.WriteRequest

Streams batches of document updates and deletes, in order.

ProjectsResource.DatabasesResource.ExportDocumentsRequest

Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage. Recent updates to documents may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage. For more details on export behavior and output format, refer to: https://cloud.google.com/firestore/docs/manage-data/export-import

ProjectsResource.DatabasesResource.GetRequest

Gets information about a database.

ProjectsResource.DatabasesResource.ImportDocumentsRequest

Imports documents into Google Cloud Firestore. Existing documents with the same name are overwritten. The import occurs in the background and its progress can be monitored and managed via the Operation resource that is created. If an ImportDocuments operation is cancelled, it is possible that a subset of the data has already been imported to Cloud Firestore.

ProjectsResource.DatabasesResource.ListRequest

List all the databases in the project.

ProjectsResource.DatabasesResource.OperationsResource

The "operations" collection of methods.

ProjectsResource.DatabasesResource.OperationsResource.CancelRequest

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

ProjectsResource.DatabasesResource.OperationsResource.DeleteRequest

Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.

ProjectsResource.DatabasesResource.OperationsResource.GetRequest

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

ProjectsResource.DatabasesResource.OperationsResource.ListRequest

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as &quot;/v1/{name=users/*}/operations&quot; to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

ProjectsResource.DatabasesResource.PatchRequest

Updates a database.

ProjectsResource.LocationsResource

The "locations" collection of methods.

ProjectsResource.LocationsResource.GetRequest

Gets information about a location.

ProjectsResource.LocationsResource.ListRequest

Lists information about the supported locations for this service.

Enums

FirestoreBaseServiceRequest<TResponse>.AltEnum

Data format for response.

FirestoreBaseServiceRequest<TResponse>.XgafvEnum

V1 error format.

In This Article
Back to top