Reference documentation and code samples for the Cloud Firestore Admin V1 API class Google::Cloud::Firestore::Admin::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#database
def database() -> ::String
-
(::String) — Required. The name of the database that this was a snapshot of. Format:
projects/{project}/databases/{database}
.
#database=
def database=(value) -> ::String
-
value (::String) — Required. The name of the database that this was a snapshot of. Format:
projects/{project}/databases/{database}
.
-
(::String) — Required. The name of the database that this was a snapshot of. Format:
projects/{project}/databases/{database}
.
#database_uid
def database_uid() -> ::String
- (::String) — Output only. Public UUID of the database the snapshot was associated with.
#snapshot_time
def snapshot_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Required. Snapshot time of the database.
#snapshot_time=
def snapshot_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Required. Snapshot time of the database.
- (::Google::Protobuf::Timestamp) — Required. Snapshot time of the database.