gogol-iam-0.3.0: Google Identity and Access Management (IAM) 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.IAM.Projects.ServiceAccounts.Update

Contents

Description

Updates a ServiceAccount. Currently, only the following fields are updatable: `display_name` . The `etag` is mandatory.

See: Google Identity and Access Management (IAM) API Reference for iam.projects.serviceAccounts.update.

Synopsis

REST Resource

type ProjectsServiceAccountsUpdateResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ServiceAccount :> Put '[JSON] ServiceAccount)))))))))) Source #

A resource alias for iam.projects.serviceAccounts.update method which the ProjectsServiceAccountsUpdate request conforms to.

Creating a Request

data ProjectsServiceAccountsUpdate Source #

Updates a ServiceAccount. Currently, only the following fields are updatable: `display_name` . The `etag` is mandatory.

See: projectsServiceAccountsUpdate smart constructor.

Instances

Eq ProjectsServiceAccountsUpdate Source # 
Data ProjectsServiceAccountsUpdate Source # 

Methods

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

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

toConstr :: ProjectsServiceAccountsUpdate -> Constr #

dataTypeOf :: ProjectsServiceAccountsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsServiceAccountsUpdate Source # 
Generic ProjectsServiceAccountsUpdate Source # 
GoogleRequest ProjectsServiceAccountsUpdate Source # 
type Rep ProjectsServiceAccountsUpdate Source # 
type Scopes ProjectsServiceAccountsUpdate Source # 
type Scopes ProjectsServiceAccountsUpdate = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs ProjectsServiceAccountsUpdate Source # 

Request Lenses

psauUploadProtocol :: Lens' ProjectsServiceAccountsUpdate (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

psauUploadType :: Lens' ProjectsServiceAccountsUpdate (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

psauName :: Lens' ProjectsServiceAccountsUpdate Text Source #

The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Requests using `-` as a wildcard for the project will infer the project from the `account` and the `account` value can be the `email` address or the `unique_id` of the service account. In responses the resource name will always be in the format `projects/{project}/serviceAccounts/{email}`.