gogol-iam-0.3.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.Get

Contents

Description

Gets a ServiceAccount.

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

Synopsis

REST Resource

type ProjectsServiceAccountsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ServiceAccount))))))))) Source #

A resource alias for iam.projects.serviceAccounts.get method which the ProjectsServiceAccountsGet request conforms to.

Creating a Request

projectsServiceAccountsGet Source #

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

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

data ProjectsServiceAccountsGet Source #

Gets a ServiceAccount.

See: projectsServiceAccountsGet smart constructor.

Instances

Eq ProjectsServiceAccountsGet Source # 
Data ProjectsServiceAccountsGet Source # 

Methods

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

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

toConstr :: ProjectsServiceAccountsGet -> Constr #

dataTypeOf :: ProjectsServiceAccountsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsServiceAccountsGet Source # 
Generic ProjectsServiceAccountsGet Source # 
GoogleRequest ProjectsServiceAccountsGet Source # 
type Rep ProjectsServiceAccountsGet Source # 
type Rep ProjectsServiceAccountsGet = D1 (MetaData "ProjectsServiceAccountsGet" "Network.Google.Resource.IAM.Projects.ServiceAccounts.Get" "gogol-iam-0.3.0-8UmLCloXU0rfsJ2PHNukf" False) (C1 (MetaCons "ProjectsServiceAccountsGet'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psagXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_psagUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_psagPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_psagAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psagUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_psagBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_psagName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_psagCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsServiceAccountsGet Source # 
type Scopes ProjectsServiceAccountsGet = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs ProjectsServiceAccountsGet Source # 

Request Lenses

psagUploadProtocol :: Lens' ProjectsServiceAccountsGet (Maybe Text) Source #

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

psagUploadType :: Lens' ProjectsServiceAccountsGet (Maybe Text) Source #

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

psagName :: Lens' ProjectsServiceAccountsGet Text Source #

The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.