The "users" collection of methods.
More...
|
| | call ($name, $arguments, $expected_class=null) |
| | TODO: This function needs simplifying.
|
| |
| | delete ($project, $instance, $host, $name, $optParams=array()) |
| | Deletes a user from a Cloud SQL instance.
|
| |
| | insert ($project, $instance, Google_Service_SQLAdmin_User $postBody, $optParams=array()) |
| | Creates a new user in a Cloud SQL instance.
|
| |
| | listUsers ($project, $instance, $optParams=array()) |
| | Lists users in the specified Cloud SQL instance.
|
| |
| | update ($project, $instance, $host, $name, Google_Service_SQLAdmin_User $postBody, $optParams=array()) |
| | Updates an existing user in a Cloud SQL instance.
|
| |
|
|
| convertToArrayAndStripNulls ($o) |
| |
The "users" collection of methods.
Typical usage is: $sqladminService = new Google_Service_SQLAdmin(...); $users = $sqladminService->users;
◆ 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_Users_Resource::delete |
( |
| $project, |
|
|
| $instance, |
|
|
| $host, |
|
|
| $name, |
|
|
| $optParams = array() ) |
Deletes a user from a Cloud SQL instance.
(users.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 | $host | Host of the user in the instance. |
| string | $name | Name of the user in the instance. |
| array | $optParams | Optional parameters. |
- Return values
-
◆ insert()
Creates a new user in a Cloud SQL instance.
(users.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_User | $postBody | |
| array | $optParams | Optional parameters. |
- Return values
-
◆ listUsers()
| Google_Service_SQLAdmin_Users_Resource::listUsers |
( |
| $project, |
|
|
| $instance, |
|
|
| $optParams = array() ) |
Lists users in the specified Cloud SQL instance.
(users.listUsers)
- Parameters
-
| string | $project | Project ID of the project that contains the instance. |
| string | $instance | Database instance ID. This does not include the project ID. |
| array | $optParams | Optional parameters. |
- Return values
-
◆ update()
| Google_Service_SQLAdmin_Users_Resource::update |
( |
| $project, |
|
|
| $instance, |
|
|
| $host, |
|
|
| $name, |
|
|
Google_Service_SQLAdmin_User | $postBody, |
|
|
| $optParams = array() ) |
Updates an existing user in a Cloud SQL instance.
(users.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 | $host | Host of the user in the instance. |
| string | $name | Name of the user in the instance. |
| Google_User | $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