ProjectsInstancesDatabasesResource class

Constructors

ProjectsInstancesDatabasesResource(ApiRequester client)

Properties

databaseRoles ProjectsInstancesDatabasesDatabaseRolesResource
no setter
hashCode int
The hash code for this object.
no setterinherited
operations ProjectsInstancesDatabasesOperationsResource
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessions ProjectsInstancesDatabasesSessionsResource
no setter

Methods

create(CreateDatabaseRequest request, String parent, {String? $fields}) Future<Operation>
Creates a new Cloud Spanner database and starts to prepare it for serving.
dropDatabase(String database, {String? $fields}) Future<Empty>
Drops (aka deletes) a Cloud Spanner database.
get(String name, {String? $fields}) Future<Database>
Gets the state of a Cloud Spanner database.
getDdl(String database, {String? $fields}) Future<GetDatabaseDdlResponse>
Returns the schema of a Cloud Spanner database as a list of formatted DDL statements.
getIamPolicy(GetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Gets the access control policy for a database or backup resource.
getScans(String name, {String? endTime, String? startTime, String? view, String? $fields}) Future<Scan>
Request a specific scan with Database-specific data for Cloud Key Visualizer.
list(String parent, {int? pageSize, String? pageToken, String? $fields}) Future<ListDatabasesResponse>
Lists Cloud Spanner databases.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Database request, String name, {String? updateMask, String? $fields}) Future<Operation>
Updates a Cloud Spanner database.
restore(RestoreDatabaseRequest request, String parent, {String? $fields}) Future<Operation>
Create a new database by restoring from a completed backup.
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on a database or backup resource.
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields}) Future<TestIamPermissionsResponse>
Returns permissions that the caller has on the specified database or backup resource.
toString() String
A string representation of this object.
inherited
updateDdl(UpdateDatabaseDdlRequest request, String database, {String? $fields}) Future<Operation>
Updates the schema of a Cloud Spanner database by creating/altering/dropping tables, columns, indexes, etc.

Operators

operator ==(Object other) bool
The equality operator.
inherited