Class ProjectsResource.DatabasesResource
The "databases" collection of methods.
Inherited Members
Namespace: Google.Apis.Firestore.v1beta2
Assembly: Google.Apis.Firestore.v1beta2.dll
Syntax
public class ProjectsResource.DatabasesResource
Constructors
DatabasesResource(IClientService)
Constructs a new resource.
Declaration
public DatabasesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
CollectionGroups
Gets the CollectionGroups resource.
Declaration
public virtual ProjectsResource.DatabasesResource.CollectionGroupsResource CollectionGroups { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.DatabasesResource.CollectionGroupsResource |
Methods
ExportDocuments(GoogleFirestoreAdminV1beta2ExportDocumentsRequest, string)
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.
Declaration
public virtual ProjectsResource.DatabasesResource.ExportDocumentsRequest ExportDocuments(GoogleFirestoreAdminV1beta2ExportDocumentsRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirestoreAdminV1beta2ExportDocumentsRequest | body | The body of the request. |
string | name | Database to export. Should be of the form: |
Returns
Type | Description |
---|---|
ProjectsResource.DatabasesResource.ExportDocumentsRequest |
ImportDocuments(GoogleFirestoreAdminV1beta2ImportDocumentsRequest, string)
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.
Declaration
public virtual ProjectsResource.DatabasesResource.ImportDocumentsRequest ImportDocuments(GoogleFirestoreAdminV1beta2ImportDocumentsRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirestoreAdminV1beta2ImportDocumentsRequest | body | The body of the request. |
string | name | Database to import into. Should be of the form: |
Returns
Type | Description |
---|---|
ProjectsResource.DatabasesResource.ImportDocumentsRequest |