ProjectsInstancesBackupsResourceApi class


ProjectsInstancesBackupsResourceApi(ApiRequester client)


hashCode int
The hash code for this object. [...]
read-only, inherited
operations ProjectsInstancesBackupsOperationsResourceApi
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


create(Backup request, String parent, {String backupId, String $fields}) Future<Operation>
Starts creating a new Cloud Spanner Backup. The returned backup long-running operation will have a name of the format projects/<project>/instances/<instance>/backups/<backup>/operations/<operation_id> and can be used to track creation of the backup. The metadata field type is CreateBackupMetadata. The response field type is Backup, if successful. Cancelling the returned operation will stop the creation and delete the backup. There can be only one pending backup creation per database. Backup creation of different databases can run concurrently. [...]
delete(String name, {String $fields}) Future<Empty>
Deletes a pending or completed Backup. [...]
get(String name, {String $fields}) Future<Backup>
Gets metadata on a pending or completed Backup. [...]
getIamPolicy(GetIamPolicyRequest request, String resource, {String $fields}) Future<Policy>
Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. [...]
list(String parent, {String pageToken, int pageSize, String filter, String $fields}) Future<ListBackupsResponse>
Lists completed and pending backups. Backups returned are ordered by create_time in descending order, starting from the most recent create_time. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
patch(Backup request, String name, {String updateMask, String $fields}) Future<Backup>
Updates a pending or completed Backup. [...]
setIamPolicy(SetIamPolicyRequest request, String resource, {String $fields}) Future<Policy>
Sets the access control policy on a database or backup resource. Replaces any existing policy. [...]
testIamPermissions(TestIamPermissionsRequest request, String resource, {String $fields}) Future<TestIamPermissionsResponse>
Returns permissions that the caller has on the specified database or backup resource. [...]
toString() String
Returns a string representation of this object.


operator ==(dynamic other) bool
The equality operator. [...]