Reference documentation and code samples for the Cloud Firestore Admin V1 API class Google::Cloud::Firestore::Admin::V1::Database::SourceInfo.
Information about the provenance of this database.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#backup
def backup() -> ::Google::Cloud::Firestore::Admin::V1::Database::SourceInfo::BackupSource Returns 
 - (::Google::Cloud::Firestore::Admin::V1::Database::SourceInfo::BackupSource) — If set, this database was restored from the specified backup (or a snapshot thereof).
 
#backup=
def backup=(value) -> ::Google::Cloud::Firestore::Admin::V1::Database::SourceInfo::BackupSource Parameter 
 - value (::Google::Cloud::Firestore::Admin::V1::Database::SourceInfo::BackupSource) — If set, this database was restored from the specified backup (or a snapshot thereof).
 
 Returns 
 - (::Google::Cloud::Firestore::Admin::V1::Database::SourceInfo::BackupSource) — If set, this database was restored from the specified backup (or a snapshot thereof).
 
#operation
def operation() -> ::String Returns 
 -  (::String) — The associated long-running operation. This field may not be set after the operation has completed. Format: 
projects/{project}/databases/{database}/operations/{operation}. 
#operation=
def operation=(value) -> ::String Parameter 
 -  value (::String) — The associated long-running operation. This field may not be set after the operation has completed. Format: 
projects/{project}/databases/{database}/operations/{operation}. 
 Returns 
 -  (::String) — The associated long-running operation. This field may not be set after the operation has completed. Format: 
projects/{project}/databases/{database}/operations/{operation}.