Cloud Firestore Admin V1 API - Class Google::Cloud::Firestore::Admin::V1::PitrSnapshot (v1.7.0)

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
Returns
  • (::String) — Required. The name of the database that this was a snapshot of. Format: projects/{project}/databases/{database}.

#database=

def database=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the database that this was a snapshot of. Format: projects/{project}/databases/{database}.
Returns
  • (::String) — Required. The name of the database that this was a snapshot of. Format: projects/{project}/databases/{database}.

#database_uid

def database_uid() -> ::String
Returns
  • (::String) — Output only. Public UUID of the database the snapshot was associated with.

#snapshot_time

def snapshot_time() -> ::Google::Protobuf::Timestamp
Returns

#snapshot_time=

def snapshot_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns