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

Contents

Description

Updates a Role definition.

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

Synopsis

REST Resource

type ProjectsRolesPatchResource = "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.projects.roles.patch method which the ProjectsRolesPatch request conforms to.

Creating a Request

projectsRolesPatch Source #

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

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

data ProjectsRolesPatch Source #

Updates a Role definition.

See: projectsRolesPatch smart constructor.

Instances
Eq ProjectsRolesPatch Source # 
Instance details

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

Data ProjectsRolesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRolesPatch -> Constr #

dataTypeOf :: ProjectsRolesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRolesPatch Source # 
Instance details

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

Generic ProjectsRolesPatch Source # 
Instance details

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

Associated Types

type Rep ProjectsRolesPatch :: Type -> Type #

GoogleRequest ProjectsRolesPatch Source # 
Instance details

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

Associated Types

type Rs ProjectsRolesPatch :: Type #

type Scopes ProjectsRolesPatch :: [Symbol] #

type Rep ProjectsRolesPatch Source # 
Instance details

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

type Rep ProjectsRolesPatch = D1 (MetaData "ProjectsRolesPatch" "Network.Google.Resource.IAM.Projects.Roles.Patch" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "ProjectsRolesPatch'" PrefixI True) (((S1 (MetaSel (Just "_prpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_prpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_prpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_prpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Role)) :*: (S1 (MetaSel (Just "_prpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRolesPatch Source # 
Instance details

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

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

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

Request Lenses

prpUploadProtocol :: Lens' ProjectsRolesPatch (Maybe Text) Source #

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

prpUpdateMask :: Lens' ProjectsRolesPatch (Maybe GFieldMask) Source #

A mask describing which fields in the Role have changed.

prpUploadType :: Lens' ProjectsRolesPatch (Maybe Text) Source #

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

prpPayload :: Lens' ProjectsRolesPatch Role Source #

Multipart request metadata.

prpName :: Lens' ProjectsRolesPatch 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}`