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

Contents

Description

Updates a Role definition.

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

Synopsis

REST Resource

type OrganizationsRolesPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Role :> Patch '[JSON] Role))))))))) Source #

A resource alias for iam.organizations.roles.patch method which the OrganizationsRolesPatch request conforms to.

Creating a Request

organizationsRolesPatch Source #

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

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

data OrganizationsRolesPatch Source #

Updates a Role definition.

See: organizationsRolesPatch smart constructor.

Instances
Eq OrganizationsRolesPatch Source # 
Instance details

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

Data OrganizationsRolesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsRolesPatch -> Constr #

dataTypeOf :: OrganizationsRolesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsRolesPatch Source # 
Instance details

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

Generic OrganizationsRolesPatch Source # 
Instance details

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

Associated Types

type Rep OrganizationsRolesPatch :: Type -> Type #

GoogleRequest OrganizationsRolesPatch Source # 
Instance details

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

type Rep OrganizationsRolesPatch Source # 
Instance details

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

type Rep OrganizationsRolesPatch = D1 (MetaData "OrganizationsRolesPatch" "Network.Google.Resource.IAM.Organizations.Roles.Patch" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "OrganizationsRolesPatch'" PrefixI True) (((S1 (MetaSel (Just "_orpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_orpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_orpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_orpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_orpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_orpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Role)) :*: (S1 (MetaSel (Just "_orpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_orpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsRolesPatch Source # 
Instance details

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

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

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

Request Lenses

orpUploadProtocol :: Lens' OrganizationsRolesPatch (Maybe Text) Source #

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

orpUpdateMask :: Lens' OrganizationsRolesPatch (Maybe GFieldMask) Source #

A mask describing which fields in the Role have changed.

orpUploadType :: Lens' OrganizationsRolesPatch (Maybe Text) Source #

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

orpPayload :: Lens' OrganizationsRolesPatch Role Source #

Multipart request metadata.

orpName :: Lens' OrganizationsRolesPatch Text Source #

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