gogol-resourcemanager-0.4.0: Google Cloud Resource Manager 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.CloudResourceManager.Folders.GetIAMPolicy

Contents

Description

Gets the access control policy for a Folder. The returned policy may be empty if no such policy or resource exists. The `resource` field should be the Folder's resource name, e.g. "folders/1234". The caller must have `resourcemanager.folders.getIamPolicy` permission on the identified folder.

See: Cloud Resource Manager API Reference for cloudresourcemanager.folders.getIamPolicy.

Synopsis

REST Resource

type FoldersGetIAMPolicyResource = "v2" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GetIAMPolicyRequest :> Post '[JSON] Policy)))))))) Source #

A resource alias for cloudresourcemanager.folders.getIamPolicy method which the FoldersGetIAMPolicy request conforms to.

Creating a Request

foldersGetIAMPolicy Source #

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

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

data FoldersGetIAMPolicy Source #

Gets the access control policy for a Folder. The returned policy may be empty if no such policy or resource exists. The `resource` field should be the Folder's resource name, e.g. "folders/1234". The caller must have `resourcemanager.folders.getIamPolicy` permission on the identified folder.

See: foldersGetIAMPolicy smart constructor.

Instances
Eq FoldersGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.GetIAMPolicy

Data FoldersGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.GetIAMPolicy

Methods

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

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

toConstr :: FoldersGetIAMPolicy -> Constr #

dataTypeOf :: FoldersGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FoldersGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.GetIAMPolicy

Generic FoldersGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.GetIAMPolicy

Associated Types

type Rep FoldersGetIAMPolicy :: Type -> Type #

GoogleRequest FoldersGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.GetIAMPolicy

Associated Types

type Rs FoldersGetIAMPolicy :: Type #

type Scopes FoldersGetIAMPolicy :: [Symbol] #

type Rep FoldersGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.GetIAMPolicy

type Rep FoldersGetIAMPolicy = D1 (MetaData "FoldersGetIAMPolicy" "Network.Google.Resource.CloudResourceManager.Folders.GetIAMPolicy" "gogol-resourcemanager-0.4.0-UDFVnkFAEA9efzG80swCH" False) (C1 (MetaCons "FoldersGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_fgipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_fgipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fgipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_fgipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fgipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_fgipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_fgipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes FoldersGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.GetIAMPolicy

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

Defined in Network.Google.Resource.CloudResourceManager.Folders.GetIAMPolicy

Request Lenses

fgipUploadProtocol :: Lens' FoldersGetIAMPolicy (Maybe Text) Source #

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

fgipUploadType :: Lens' FoldersGetIAMPolicy (Maybe Text) Source #

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

fgipResource :: Lens' FoldersGetIAMPolicy Text Source #

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