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
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 |
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 |