Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes a user from a Cloud SQL instance.
See: Cloud SQL Admin API Reference for sql.users.delete
.
Synopsis
- type UsersDeleteResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("users" :> (QueryParam "host" Text :> (QueryParam "name" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))))
- usersDelete :: Text -> Text -> Text -> Text -> UsersDelete
- data UsersDelete
- udProject :: Lens' UsersDelete Text
- udName :: Lens' UsersDelete Text
- udHost :: Lens' UsersDelete Text
- udInstance :: Lens' UsersDelete Text
REST Resource
type UsersDeleteResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("users" :> (QueryParam "host" Text :> (QueryParam "name" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))))) Source #
A resource alias for sql.users.delete
method which the
UsersDelete
request conforms to.
Creating a Request
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> UsersDelete |
Creates a value of UsersDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersDelete Source #
Deletes a user from a Cloud SQL instance.
See: usersDelete
smart constructor.
Instances
Request Lenses
udInstance :: Lens' UsersDelete Text Source #
Database instance ID. This does not include the project ID.