Class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1BackupSource
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1::GoogleFirestoreAdminV1BackupSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firestore_v1/classes.rb,
lib/google/apis/firestore_v1/representations.rb,
lib/google/apis/firestore_v1/representations.rb
Overview
Information about a backup that was used to restore a database.
Instance Attribute Summary collapse
-
#backup ⇒ String
The resource name of the backup that was used to restore this database.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirestoreAdminV1BackupSource
constructor
A new instance of GoogleFirestoreAdminV1BackupSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirestoreAdminV1BackupSource
Returns a new instance of GoogleFirestoreAdminV1BackupSource.
1288 1289 1290 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 1288 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup ⇒ String
The resource name of the backup that was used to restore this database. Format:
projects/
project/locations/
location/backups/
backup`.
Corresponds to the JSON property
backup`
1286 1287 1288 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 1286 def backup @backup end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1293 1294 1295 |
# File 'lib/google/apis/firestore_v1/classes.rb', line 1293 def update!(**args) @backup = args[:backup] if args.key?(:backup) end |