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.Delete

Contents

Description

Soft deletes a role. The role is suspended and cannot be used to create new IAM Policy Bindings. The Role will not be included in `ListRoles()` unless `show_deleted` is set in the `ListRolesRequest`. The Role contains the deleted boolean set. Existing Bindings remains, but are inactive. The Role can be undeleted within 7 days. After 7 days the Role is deleted and all Bindings associated with the role are removed.

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

Synopsis

REST Resource

type OrganizationsRolesDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "etag" Bytes :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Role)))))))) Source #

A resource alias for iam.organizations.roles.delete method which the OrganizationsRolesDelete request conforms to.

Creating a Request

organizationsRolesDelete Source #

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

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

data OrganizationsRolesDelete Source #

Soft deletes a role. The role is suspended and cannot be used to create new IAM Policy Bindings. The Role will not be included in `ListRoles()` unless `show_deleted` is set in the `ListRolesRequest`. The Role contains the deleted boolean set. Existing Bindings remains, but are inactive. The Role can be undeleted within 7 days. After 7 days the Role is deleted and all Bindings associated with the role are removed.

See: organizationsRolesDelete smart constructor.

Instances
Eq OrganizationsRolesDelete Source # 
Instance details

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

Data OrganizationsRolesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsRolesDelete -> Constr #

dataTypeOf :: OrganizationsRolesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsRolesDelete Source # 
Instance details

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

Generic OrganizationsRolesDelete Source # 
Instance details

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

Associated Types

type Rep OrganizationsRolesDelete :: Type -> Type #

GoogleRequest OrganizationsRolesDelete Source # 
Instance details

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

type Rep OrganizationsRolesDelete Source # 
Instance details

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

type Rep OrganizationsRolesDelete = D1 (MetaData "OrganizationsRolesDelete" "Network.Google.Resource.IAM.Organizations.Roles.Delete" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "OrganizationsRolesDelete'" PrefixI True) ((S1 (MetaSel (Just "_ordXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ordEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_ordUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ordAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ordUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ordName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ordCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsRolesDelete Source # 
Instance details

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

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

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

Request Lenses

ordEtag :: Lens' OrganizationsRolesDelete (Maybe ByteString) Source #

Used to perform a consistent read-modify-write.

ordUploadProtocol :: Lens' OrganizationsRolesDelete (Maybe Text) Source #

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

ordUploadType :: Lens' OrganizationsRolesDelete (Maybe Text) Source #

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

ordName :: Lens' OrganizationsRolesDelete 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}`