gogol-iam-0.5.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.Undelete

Contents

Description

Restores a deleted ServiceAccount. This is to be used as an action of last resort. A service account may not always be restorable.

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

Synopsis

REST Resource

type ProjectsServiceAccountsUndeleteResource = "v1" :> (CaptureMode "name" "undelete" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UndeleteServiceAccountRequest :> Post '[JSON] UndeleteServiceAccountResponse)))))))) Source #

A resource alias for iam.projects.serviceAccounts.undelete method which the ProjectsServiceAccountsUndelete request conforms to.

Creating a Request

data ProjectsServiceAccountsUndelete Source #

Restores a deleted ServiceAccount. This is to be used as an action of last resort. A service account may not always be restorable.

See: projectsServiceAccountsUndelete smart constructor.

Instances
Eq ProjectsServiceAccountsUndelete Source # 
Instance details

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

Data ProjectsServiceAccountsUndelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsServiceAccountsUndelete -> Constr #

dataTypeOf :: ProjectsServiceAccountsUndelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsServiceAccountsUndelete Source # 
Instance details

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

Generic ProjectsServiceAccountsUndelete Source # 
Instance details

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

Associated Types

type Rep ProjectsServiceAccountsUndelete :: Type -> Type #

GoogleRequest ProjectsServiceAccountsUndelete Source # 
Instance details

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

type Rep ProjectsServiceAccountsUndelete Source # 
Instance details

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

type Rep ProjectsServiceAccountsUndelete = D1 (MetaData "ProjectsServiceAccountsUndelete" "Network.Google.Resource.IAM.Projects.ServiceAccounts.Undelete" "gogol-iam-0.5.0-AhgHzkqUbFwIp2TGTeE7eX" False) (C1 (MetaCons "ProjectsServiceAccountsUndelete'" 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 UndeleteServiceAccountRequest)) :*: (S1 (MetaSel (Just "_psauName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psauCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsServiceAccountsUndelete Source # 
Instance details

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

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

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

Request Lenses

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

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

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

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

psauName :: Lens' ProjectsServiceAccountsUndelete Text Source #

The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_UNIQUE_ID}'. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account.