public sealed class PitrSnapshot : IMessage<PitrSnapshot>, IEquatable<PitrSnapshot>, IDeepCloneable<PitrSnapshot>, IBufferMessage, IMessageReference documentation and code samples for the Firestore Admin v1 API class PitrSnapshot.
A consistent snapshot of a database at a specific point in time. A PITR (Point-in-time recovery) snapshot with previous versions of a database's data is available for every minute up to the associated database's data retention period. If the PITR feature is enabled, the retention period is 7 days; otherwise, it is one hour.
Implements
IMessagePitrSnapshot, IEquatablePitrSnapshot, IDeepCloneablePitrSnapshot, IBufferMessage, IMessageNamespace
Google.Cloud.Firestore.Admin.V1Assembly
Google.Cloud.Firestore.Admin.V1.dll
Constructors
PitrSnapshot()
public PitrSnapshot()PitrSnapshot(PitrSnapshot)
public PitrSnapshot(PitrSnapshot other)| Parameter | |
|---|---|
| Name | Description |
other |
PitrSnapshot |
Properties
Database
public string Database { get; set; }Required. The name of the database that this was a snapshot of. Format:
projects/{project}/databases/{database}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DatabaseAsDatabaseName
public DatabaseName DatabaseAsDatabaseName { get; set; }DatabaseName-typed view over the Database resource name property.
| Property Value | |
|---|---|
| Type | Description |
DatabaseName |
|
DatabaseUid
public ByteString DatabaseUid { get; set; }Output only. Public UUID of the database the snapshot was associated with.
| Property Value | |
|---|---|
| Type | Description |
ByteString |
|
SnapshotTime
public Timestamp SnapshotTime { get; set; }Required. Snapshot time of the database.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|