The "databases" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| delete ($project, $instance, $database, $optParams=array()) |
| Deletes a resource containing information about a database inside a Cloud SQL instance.
|
|
| get ($project, $instance, $database, $optParams=array()) |
| Retrieves a resource containing information about a database inside a Cloud SQL instance.
|
|
| insert ($project, $instance, Google_Service_SQLAdmin_Database $postBody, $optParams=array()) |
| Inserts a resource containing information about a database inside a Cloud SQL instance.
|
|
| listDatabases ($project, $instance, $optParams=array()) |
| Lists databases in the specified Cloud SQL instance.
|
|
| patch ($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams=array()) |
| Updates a resource containing information about a database inside a Cloud SQL instance.
|
|
| update ($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams=array()) |
| Updates a resource containing information about a database inside a Cloud SQL instance.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "databases" collection of methods.
Typical usage is: $sqladminService = new Google_Service_SQLAdmin(...); $databases = $sqladminService->databases;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ delete()
Google_Service_SQLAdmin_Databases_Resource::delete |
( |
| $project, |
|
|
| $instance, |
|
|
| $database, |
|
|
| $optParams = array() ) |
Deletes a resource containing information about a database inside a Cloud SQL instance.
(databases.delete)
- Parameters
-
string | $project | Project ID of the project that contains the instance. |
string | $instance | Database instance ID. This does not include the project ID. |
string | $database | Name of the database to be deleted in the instance. |
array | $optParams | Optional parameters. |
- Return values
-
◆ get()
Google_Service_SQLAdmin_Databases_Resource::get |
( |
| $project, |
|
|
| $instance, |
|
|
| $database, |
|
|
| $optParams = array() ) |
Retrieves a resource containing information about a database inside a Cloud SQL instance.
(databases.get)
- Parameters
-
string | $project | Project ID of the project that contains the instance. |
string | $instance | Database instance ID. This does not include the project ID. |
string | $database | Name of the database in the instance. |
array | $optParams | Optional parameters. |
- Return values
-
◆ insert()
Inserts a resource containing information about a database inside a Cloud SQL instance.
(databases.insert)
- Parameters
-
string | $project | Project ID of the project that contains the instance. |
string | $instance | Database instance ID. This does not include the project ID. |
Google_Database | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listDatabases()
Google_Service_SQLAdmin_Databases_Resource::listDatabases |
( |
| $project, |
|
|
| $instance, |
|
|
| $optParams = array() ) |
Lists databases in the specified Cloud SQL instance.
(databases.listDatabases)
- Parameters
-
string | $project | Project ID of the project for which to list Cloud SQL instances. |
string | $instance | Cloud SQL instance ID. This does not include the project ID. |
array | $optParams | Optional parameters. |
- Return values
-
◆ patch()
Updates a resource containing information about a database inside a Cloud SQL instance.
This method supports patch semantics. (databases.patch)
- Parameters
-
string | $project | Project ID of the project that contains the instance. |
string | $instance | Database instance ID. This does not include the project ID. |
string | $database | Name of the database to be updated in the instance. |
Google_Database | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ update()
Updates a resource containing information about a database inside a Cloud SQL instance.
(databases.update)
- Parameters
-
string | $project | Project ID of the project that contains the instance. |
string | $instance | Database instance ID. This does not include the project ID. |
string | $database | Name of the database to be updated in the instance. |
Google_Database | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/SQLAdmin.php