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.Roles.Undelete

Contents

Description

Undelete a Role, bringing it back in its previous state.

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

Synopsis

REST Resource

type ProjectsRolesUndeleteResource = "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] UndeleteRoleRequest :> Post '[JSON] Role)))))))) Source #

A resource alias for iam.projects.roles.undelete method which the ProjectsRolesUndelete request conforms to.

Creating a Request

projectsRolesUndelete Source #

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

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

data ProjectsRolesUndelete Source #

Undelete a Role, bringing it back in its previous state.

See: projectsRolesUndelete smart constructor.

Instances
Eq ProjectsRolesUndelete Source # 
Instance details

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

Data ProjectsRolesUndelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRolesUndelete -> Constr #

dataTypeOf :: ProjectsRolesUndelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRolesUndelete Source # 
Instance details

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

Generic ProjectsRolesUndelete Source # 
Instance details

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

Associated Types

type Rep ProjectsRolesUndelete :: Type -> Type #

GoogleRequest ProjectsRolesUndelete Source # 
Instance details

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

type Rep ProjectsRolesUndelete Source # 
Instance details

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

type Rep ProjectsRolesUndelete = D1 (MetaData "ProjectsRolesUndelete" "Network.Google.Resource.IAM.Projects.Roles.Undelete" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "ProjectsRolesUndelete'" PrefixI True) ((S1 (MetaSel (Just "_pruXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pruUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pruAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pruUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pruPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UndeleteRoleRequest)) :*: (S1 (MetaSel (Just "_pruName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pruCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRolesUndelete Source # 
Instance details

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

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

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

Request Lenses

pruUploadProtocol :: Lens' ProjectsRolesUndelete (Maybe Text) Source #

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

pruUploadType :: Lens' ProjectsRolesUndelete (Maybe Text) Source #

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

pruName :: Lens' ProjectsRolesUndelete Text Source #

The resource name of the role in one of the following formats: `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` `projects/{PROJECT_ID}/roles/{ROLE_NAME}`