gogol-sqladmin-0.4.0: Google Cloud SQL Admin SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.SQL.Users.Update

Contents

Description

Updates an existing user in a Cloud SQL instance.

See: Cloud SQL Admin API Reference for sql.users.update.

Synopsis

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

usersUpdate Source #

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
Eq UsersUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Users.Update

Data UsersUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Users.Update

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersUpdate -> c UsersUpdate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersUpdate #

toConstr :: UsersUpdate -> Constr #

dataTypeOf :: UsersUpdate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UsersUpdate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersUpdate) #

gmapT :: (forall b. Data b => b -> b) -> UsersUpdate -> UsersUpdate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersUpdate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersUpdate -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersUpdate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersUpdate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersUpdate -> m UsersUpdate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersUpdate -> m UsersUpdate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersUpdate -> m UsersUpdate #

Show UsersUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Users.Update

Generic UsersUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Users.Update

Associated Types

type Rep UsersUpdate :: Type -> Type #

GoogleRequest UsersUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Users.Update

Associated Types

type Rs UsersUpdate :: Type #

type Scopes UsersUpdate :: [Symbol] #

type Rep UsersUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Users.Update

type Rep UsersUpdate = D1 (MetaData "UsersUpdate" "Network.Google.Resource.SQL.Users.Update" "gogol-sqladmin-0.4.0-E7PrzlfFsl19SfOpZznMc2" False) (C1 (MetaCons "UsersUpdate'" PrefixI True) ((S1 (MetaSel (Just "_uuProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_uuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 User)) :*: (S1 (MetaSel (Just "_uuName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_uuHost") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uuInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes UsersUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Users.Update

type Scopes UsersUpdate = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/sqlservice.admin" ': ([] :: [Symbol]))
type Rs UsersUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Users.Update

Request Lenses

uuProject :: Lens' UsersUpdate Text Source #

Project ID of the project that contains the instance.

uuPayload :: Lens' UsersUpdate User Source #

Multipart request metadata.

uuName :: Lens' UsersUpdate Text Source #

Name of the user in the instance.

uuHost :: Lens' UsersUpdate (Maybe Text) Source #

Host of the user in the instance.

uuInstance :: Lens' UsersUpdate Text Source #

Database instance ID. This does not include the project ID.