Databases
class Databases extends Resource (View source)
The "databases" collection of methods.
Typical usage is:
$sqladminService = new Google\Service\SQLAdmin(...);
$databases = $sqladminService->databases;
Methods
Deletes a database from a Cloud SQL instance. (databases.delete)
Retrieves a resource containing information about a database inside a Cloud SQL instance. (databases.get)
Lists databases in the specified Cloud SQL instance.
Details
Operation
delete(string $project, string $instance, string $database, array $optParams = [])
Deletes a database from a Cloud SQL instance. (databases.delete)
Database
get(string $project, string $instance, string $database, array $optParams = [])
Retrieves a resource containing information about a database inside a Cloud SQL instance. (databases.get)
Operation
insert(string $project, string $instance, Database $postBody, array $optParams = [])
Inserts a resource containing information about a database inside a Cloud SQL instance. Note: You can't modify the default character set and collation.
(databases.insert)
DatabasesListResponse
listDatabases(string $project, string $instance, array $optParams = [])
Lists databases in the specified Cloud SQL instance.
(databases.listDatabases)
Operation
patch(string $project, string $instance, string $database, Database $postBody, array $optParams = [])
Partially updates a resource containing information about a database inside a Cloud SQL instance. This method supports patch semantics. (databases.patch)