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

Contents

Description

Tests the specified permissions against the IAM access control policy for a ServiceAccount.

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

Synopsis

REST Resource

type ProjectsServiceAccountsTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse)))))))) Source #

A resource alias for iam.projects.serviceAccounts.testIamPermissions method which the ProjectsServiceAccountsTestIAMPermissions request conforms to.

Creating a Request

data ProjectsServiceAccountsTestIAMPermissions Source #

Tests the specified permissions against the IAM access control policy for a ServiceAccount.

See: projectsServiceAccountsTestIAMPermissions smart constructor.

Instances
Eq ProjectsServiceAccountsTestIAMPermissions Source # 
Instance details

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

Data ProjectsServiceAccountsTestIAMPermissions Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsServiceAccountsTestIAMPermissions -> Constr #

dataTypeOf :: ProjectsServiceAccountsTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsServiceAccountsTestIAMPermissions Source # 
Instance details

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

Generic ProjectsServiceAccountsTestIAMPermissions Source # 
Instance details

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

GoogleRequest ProjectsServiceAccountsTestIAMPermissions Source # 
Instance details

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

type Rep ProjectsServiceAccountsTestIAMPermissions Source # 
Instance details

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

type Rep ProjectsServiceAccountsTestIAMPermissions = D1 (MetaData "ProjectsServiceAccountsTestIAMPermissions" "Network.Google.Resource.IAM.Projects.ServiceAccounts.TestIAMPermissions" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "ProjectsServiceAccountsTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_psatipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_psatipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psatipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_psatipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psatipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest)) :*: (S1 (MetaSel (Just "_psatipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psatipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsServiceAccountsTestIAMPermissions Source # 
Instance details

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

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

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

Request Lenses

psatipUploadProtocol :: Lens' ProjectsServiceAccountsTestIAMPermissions (Maybe Text) Source #

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

psatipUploadType :: Lens' ProjectsServiceAccountsTestIAMPermissions (Maybe Text) Source #

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

psatipResource :: Lens' ProjectsServiceAccountsTestIAMPermissions Text Source #

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