Class GoogleFirestoreAdminV1PitrSnapshot
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
Inherited Members
Namespace: Google.Apis.Firestore.v1.Data
Assembly: Google.Apis.Firestore.v1.dll
Syntax
public class GoogleFirestoreAdminV1PitrSnapshot : IDirectResponseSchema
Properties
Database
Required. The name of the database that this was a snapshot of. Format:
projects/{project}/databases/{database}.
Declaration
[JsonProperty("database")]
public virtual string Database { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DatabaseUid
Output only. Public UUID of the database the snapshot was associated with.
Declaration
[JsonProperty("databaseUid")]
public virtual string DatabaseUid { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SnapshotTime
object representation of SnapshotTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use SnapshotTimeDateTimeOffset instead.")]
public virtual object SnapshotTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
SnapshotTimeDateTimeOffset
DateTimeOffset representation of SnapshotTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? SnapshotTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
SnapshotTimeRaw
Required. Snapshot time of the database.
Declaration
[JsonProperty("snapshotTime")]
public virtual string SnapshotTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |