gogol-kgsearch-0.1.0: Google Identity and Access Management 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 service account. Currently, only the following fields are updatable: 'display_name' . The 'etag' is mandatory.

See: Google Identity and Access Management 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 service account. 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 Rep ProjectsServiceAccountsUpdate = D1 (MetaData "ProjectsServiceAccountsUpdate" "Network.Google.Resource.IAM.Projects.ServiceAccounts.Update" "gogol-kgsearch-0.1.0-9J5lBdd0lrlGCQtyWNwhRN" False) (C1 (MetaCons "ProjectsServiceAccountsUpdate'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psauXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_psauUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_psauPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_psauAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psauUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_psauPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServiceAccount))) ((:*:) (S1 (MetaSel (Just Symbol "_psauBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_psauName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_psauCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
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 format "projects/{project}/serviceAccounts/{account}". In 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}".