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 |
Updates an existing user in a Cloud SQL instance.
See: Cloud SQL Admin API Reference for sql.users.update
.
Synopsis
- type UsersUpdateResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("users" :> (QueryParam "name" Text :> (QueryParam "host" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Put '[JSON] Operation))))))))))
- usersUpdate :: Text -> User -> Text -> Text -> UsersUpdate
- data UsersUpdate
- uuProject :: Lens' UsersUpdate Text
- uuPayload :: Lens' UsersUpdate User
- uuName :: Lens' UsersUpdate Text
- uuHost :: Lens' UsersUpdate (Maybe Text)
- uuInstance :: Lens' UsersUpdate Text
REST Resource
type UsersUpdateResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("users" :> (QueryParam "name" Text :> (QueryParam "host" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Put '[JSON] Operation)))))))))) Source #
A resource alias for sql.users.update
method which the
UsersUpdate
request conforms to.
Creating a Request
Creates a value of UsersUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersUpdate Source #
Updates an existing user in a Cloud SQL instance.
See: usersUpdate
smart constructor.
Instances
Request Lenses
uuInstance :: Lens' UsersUpdate Text Source #
Database instance ID. This does not include the project ID.