Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_SQLAdmin_Databases_Resource Class Reference

The "databases" collection of methods. More...

Inheritance diagram for Google_Service_SQLAdmin_Databases_Resource:
Google_Service_Resource

Public Member Functions

 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.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "databases" collection of methods.

Typical usage is: $sqladminService = new Google_Service_SQLAdmin(...); $databases = $sqladminService->databases;

Member Function Documentation

◆ 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
Google_Exception

◆ 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$projectProject ID of the project that contains the instance.
string$instanceDatabase instance ID. This does not include the project ID.
string$databaseName of the database to be deleted in the instance.
array$optParamsOptional parameters.
Return values
Google_Service_SQLAdmin_Operation

◆ 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$projectProject ID of the project that contains the instance.
string$instanceDatabase instance ID. This does not include the project ID.
string$databaseName of the database in the instance.
array$optParamsOptional parameters.
Return values
Google_Service_SQLAdmin_Database

◆ insert()

Google_Service_SQLAdmin_Databases_Resource::insert ( $project,
$instance,
Google_Service_SQLAdmin_Database $postBody,
$optParams = array() )

Inserts a resource containing information about a database inside a Cloud SQL instance.

(databases.insert)

Parameters
string$projectProject ID of the project that contains the instance.
string$instanceDatabase instance ID. This does not include the project ID.
Google_Database$postBody
array$optParamsOptional parameters.
Return values
Google_Service_SQLAdmin_Operation

◆ listDatabases()

Google_Service_SQLAdmin_Databases_Resource::listDatabases ( $project,
$instance,
$optParams = array() )

Lists databases in the specified Cloud SQL instance.

(databases.listDatabases)

Parameters
string$projectProject ID of the project for which to list Cloud SQL instances.
string$instanceCloud SQL instance ID. This does not include the project ID.
array$optParamsOptional parameters.
Return values
Google_Service_SQLAdmin_DatabasesListResponse

◆ patch()

Google_Service_SQLAdmin_Databases_Resource::patch ( $project,
$instance,
$database,
Google_Service_SQLAdmin_Database $postBody,
$optParams = array() )

Updates a resource containing information about a database inside a Cloud SQL instance.

This method supports patch semantics. (databases.patch)

Parameters
string$projectProject ID of the project that contains the instance.
string$instanceDatabase instance ID. This does not include the project ID.
string$databaseName of the database to be updated in the instance.
Google_Database$postBody
array$optParamsOptional parameters.
Return values
Google_Service_SQLAdmin_Operation

◆ update()

Google_Service_SQLAdmin_Databases_Resource::update ( $project,
$instance,
$database,
Google_Service_SQLAdmin_Database $postBody,
$optParams = array() )

Updates a resource containing information about a database inside a Cloud SQL instance.

(databases.update)

Parameters
string$projectProject ID of the project that contains the instance.
string$instanceDatabase instance ID. This does not include the project ID.
string$databaseName of the database to be updated in the instance.
Google_Database$postBody
array$optParamsOptional parameters.
Return values
Google_Service_SQLAdmin_Operation

The documentation for this class was generated from the following file: