Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
createSnapshot(Client cloudApiClient, {required String projectId, String? name, Duration? expireIn})
→ Future<DatabaseSnapshot>
-
Creates a manual snapshot of the project's database.
-
deleteSnapshot(Client cloudApiClient, {required String projectId, required String snapshotId})
→ Future<Map<String, Object?>>
-
-
disableSchedule(Client cloudApiClient, {required String projectId})
→ Future<Map<String, Object?>>
-
-
getSchedule(Client cloudApiClient, {required String projectId})
→ Future<BackupScheduleView>
-
Reads the automated backup schedule of the project's database.
-
listSnapshots(Client cloudApiClient, {required String projectId})
→ Future<BackupSnapshotListing>
-
Lists the snapshots of the project's database.
-
restoreSnapshot(Client cloudApiClient, {required String projectId, required String snapshotId})
→ Future<Map<String, Object?>>
-
Restores the project's database from a snapshot.
-
setSchedule(Client cloudApiClient, {required String projectId, required BackupFrequency frequency, int? day, int? hour, Duration? retention})
→ Future<Map<String, Object?>>
-
Sets the automated backup schedule of the project's database.