gogol-sourcerepo-0.4.0: Google Cloud Source Repositories 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.SourceRepo.Projects.Repos.GetIAMPolicy

Contents

Description

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

See: Cloud Source Repositories API Reference for sourcerepo.projects.repos.getIamPolicy.

Synopsis

REST Resource

type ProjectsReposGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy))))))) Source #

A resource alias for sourcerepo.projects.repos.getIamPolicy method which the ProjectsReposGetIAMPolicy request conforms to.

Creating a Request

projectsReposGetIAMPolicy Source #

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

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

data ProjectsReposGetIAMPolicy Source #

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

See: projectsReposGetIAMPolicy smart constructor.

Instances
Eq ProjectsReposGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.GetIAMPolicy

Data ProjectsReposGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.GetIAMPolicy

Methods

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

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

toConstr :: ProjectsReposGetIAMPolicy -> Constr #

dataTypeOf :: ProjectsReposGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsReposGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.GetIAMPolicy

Generic ProjectsReposGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.GetIAMPolicy

Associated Types

type Rep ProjectsReposGetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsReposGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.GetIAMPolicy

type Rep ProjectsReposGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.GetIAMPolicy

type Rep ProjectsReposGetIAMPolicy = D1 (MetaData "ProjectsReposGetIAMPolicy" "Network.Google.Resource.SourceRepo.Projects.Repos.GetIAMPolicy" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "ProjectsReposGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_prgipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prgipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prgipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_prgipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_prgipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prgipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsReposGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.GetIAMPolicy

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

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.GetIAMPolicy

Request Lenses

prgipUploadProtocol :: Lens' ProjectsReposGetIAMPolicy (Maybe Text) Source #

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

prgipUploadType :: Lens' ProjectsReposGetIAMPolicy (Maybe Text) Source #

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

prgipResource :: Lens' ProjectsReposGetIAMPolicy Text Source #

REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.