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.ServiceAccounts.GetIAMPolicy

Contents

Description

Returns the IAM access control policy for a ServiceAccount.

See: Identity and Access Management (IAM) API Reference for iam.projects.serviceAccounts.getIamPolicy.

Synopsis

REST Resource

type ProjectsServiceAccountsGetIAMPolicyResource = "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 :> Post '[JSON] Policy))))))) Source #

A resource alias for iam.projects.serviceAccounts.getIamPolicy method which the ProjectsServiceAccountsGetIAMPolicy request conforms to.

Creating a Request

projectsServiceAccountsGetIAMPolicy Source #

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

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

data ProjectsServiceAccountsGetIAMPolicy Source #

Returns the IAM access control policy for a ServiceAccount.

See: projectsServiceAccountsGetIAMPolicy smart constructor.

Instances
Eq ProjectsServiceAccountsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.GetIAMPolicy

Data ProjectsServiceAccountsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.GetIAMPolicy

Methods

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

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

toConstr :: ProjectsServiceAccountsGetIAMPolicy -> Constr #

dataTypeOf :: ProjectsServiceAccountsGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsServiceAccountsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.GetIAMPolicy

Generic ProjectsServiceAccountsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.GetIAMPolicy

GoogleRequest ProjectsServiceAccountsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.GetIAMPolicy

type Rep ProjectsServiceAccountsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.GetIAMPolicy

type Rep ProjectsServiceAccountsGetIAMPolicy = D1 (MetaData "ProjectsServiceAccountsGetIAMPolicy" "Network.Google.Resource.IAM.Projects.ServiceAccounts.GetIAMPolicy" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "ProjectsServiceAccountsGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_psagipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_psagipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psagipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_psagipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_psagipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psagipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsServiceAccountsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.GetIAMPolicy

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

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.GetIAMPolicy

Request Lenses

psagipUploadProtocol :: Lens' ProjectsServiceAccountsGetIAMPolicy (Maybe Text) Source #

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

psagipUploadType :: Lens' ProjectsServiceAccountsGetIAMPolicy (Maybe Text) Source #

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

psagipResource :: Lens' ProjectsServiceAccountsGetIAMPolicy Text Source #

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