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

Contents

Description

Gets a ServiceAccount.

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

Synopsis

REST Resource

type ProjectsServiceAccountsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" 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 # 
Instance details

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

Data ProjectsServiceAccountsGet Source # 
Instance details

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

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 # 
Instance details

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

Generic ProjectsServiceAccountsGet Source # 
Instance details

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

Associated Types

type Rep ProjectsServiceAccountsGet :: Type -> Type #

GoogleRequest ProjectsServiceAccountsGet Source # 
Instance details

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

type Rep ProjectsServiceAccountsGet Source # 
Instance details

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

type Rep ProjectsServiceAccountsGet = D1 (MetaData "ProjectsServiceAccountsGet" "Network.Google.Resource.IAM.Projects.ServiceAccounts.Get" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "ProjectsServiceAccountsGet'" PrefixI True) ((S1 (MetaSel (Just "_psagXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_psagUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psagAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_psagUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_psagName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psagCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsServiceAccountsGet Source # 
Instance details

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

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

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

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_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.