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

Contents

Description

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

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

Synopsis

REST Resource

type OrganizationsRolesUndeleteResource = "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.organizations.roles.undelete method which the OrganizationsRolesUndelete request conforms to.

Creating a Request

organizationsRolesUndelete Source #

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

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

data OrganizationsRolesUndelete Source #

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

See: organizationsRolesUndelete smart constructor.

Instances
Eq OrganizationsRolesUndelete Source # 
Instance details

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

Data OrganizationsRolesUndelete Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsRolesUndelete -> Constr #

dataTypeOf :: OrganizationsRolesUndelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsRolesUndelete Source # 
Instance details

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

Generic OrganizationsRolesUndelete Source # 
Instance details

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

Associated Types

type Rep OrganizationsRolesUndelete :: Type -> Type #

GoogleRequest OrganizationsRolesUndelete Source # 
Instance details

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

type Rep OrganizationsRolesUndelete Source # 
Instance details

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

type Rep OrganizationsRolesUndelete = D1 (MetaData "OrganizationsRolesUndelete" "Network.Google.Resource.IAM.Organizations.Roles.Undelete" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "OrganizationsRolesUndelete'" PrefixI True) ((S1 (MetaSel (Just "_oruXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_oruUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oruAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_oruUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oruPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UndeleteRoleRequest)) :*: (S1 (MetaSel (Just "_oruName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_oruCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsRolesUndelete Source # 
Instance details

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

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

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

Request Lenses

oruUploadProtocol :: Lens' OrganizationsRolesUndelete (Maybe Text) Source #

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

oruUploadType :: Lens' OrganizationsRolesUndelete (Maybe Text) Source #

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

oruName :: Lens' OrganizationsRolesUndelete 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}`