public sealed class Database : IMessage<Database>, IEquatable<Database>, IDeepCloneable<Database>, IBufferMessage, IMessage
A Cloud Firestore Database.
Currently only one database is allowed per cloud project; this database
must have a database_id
of '(default)'.
Implements
IMessage<Database>, IEquatable<Database>, IDeepCloneable<Database>, IBufferMessage, IMessageNamespace
Google.Cloud.Firestore.Admin.V1Assembly
Google.Cloud.Firestore.Admin.V1.dll
Constructors
Database()
public Database()
Database(Database)
public Database(Database other)
Parameter | |
---|---|
Name | Description |
other | Database |
Properties
AppEngineIntegrationMode
public Database.Types.AppEngineIntegrationMode AppEngineIntegrationMode { get; set; }
The App Engine integration mode to use for this database.
Property Value | |
---|---|
Type | Description |
Database.Types.AppEngineIntegrationMode |
ConcurrencyMode
public Database.Types.ConcurrencyMode ConcurrencyMode { get; set; }
The concurrency control mode to use for this database.
Property Value | |
---|---|
Type | Description |
Database.Types.ConcurrencyMode |
DatabaseName
public DatabaseName DatabaseName { get; set; }
DatabaseName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
DatabaseName |
Etag
public string Etag { get; set; }
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Property Value | |
---|---|
Type | Description |
String |
KeyPrefix
public string KeyPrefix { get; set; }
Output only. The key_prefix for this database. This key_prefix is used, in combination with the project id ("<key prefix>~<project id>") to construct the application id that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes.
This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).
Property Value | |
---|---|
Type | Description |
String |
LocationId
public string LocationId { get; set; }
The location of the database. Available databases are listed at https://cloud.google.com/firestore/docs/locations.
Property Value | |
---|---|
Type | Description |
String |
Name
public string Name { get; set; }
The resource name of the Database.
Format: projects/{project}/databases/{database}
Property Value | |
---|---|
Type | Description |
String |
Type
public Database.Types.DatabaseType Type { get; set; }
The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.
Property Value | |
---|---|
Type | Description |
Database.Types.DatabaseType |