gogol-iam-0.4.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: Identity and Access Management (IAM) API Reference for iam.projects.serviceAccounts.update.

Synopsis

REST Resource

type ProjectsServiceAccountsUpdateResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" 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

projectsServiceAccountsUpdate Source #

Creates a value of ProjectsServiceAccountsUpdate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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 # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Update

Data ProjectsServiceAccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Update

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 # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Update

Generic ProjectsServiceAccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Update

Associated Types

type Rep ProjectsServiceAccountsUpdate :: Type -> Type #

GoogleRequest ProjectsServiceAccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Update

type Rep ProjectsServiceAccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Update

type Rep ProjectsServiceAccountsUpdate = D1 (MetaData "ProjectsServiceAccountsUpdate" "Network.Google.Resource.IAM.Projects.ServiceAccounts.Update" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "ProjectsServiceAccountsUpdate'" PrefixI True) ((S1 (MetaSel (Just "_psauXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_psauUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psauAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_psauUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psauPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServiceAccount)) :*: (S1 (MetaSel (Just "_psauName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psauCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsServiceAccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Update

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

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Update

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_ID}/serviceAccounts/{ACCOUNT}`. Requests using `-` as a wildcard for the `PROJECT_ID` 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_ID}/serviceAccounts/{ACCOUNT}`.