Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets a ServiceAccount.
See: Identity and Access Management (IAM) API Reference for iam.projects.serviceAccounts.get
.
Synopsis
- 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)))))))
- projectsServiceAccountsGet :: Text -> ProjectsServiceAccountsGet
- data ProjectsServiceAccountsGet
- psagXgafv :: Lens' ProjectsServiceAccountsGet (Maybe Xgafv)
- psagUploadProtocol :: Lens' ProjectsServiceAccountsGet (Maybe Text)
- psagAccessToken :: Lens' ProjectsServiceAccountsGet (Maybe Text)
- psagUploadType :: Lens' ProjectsServiceAccountsGet (Maybe Text)
- psagName :: Lens' ProjectsServiceAccountsGet Text
- psagCallback :: Lens' ProjectsServiceAccountsGet (Maybe Text)
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
Request Lenses
psagUploadProtocol :: Lens' ProjectsServiceAccountsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psagAccessToken :: Lens' ProjectsServiceAccountsGet (Maybe Text) Source #
OAuth access token.
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.
psagCallback :: Lens' ProjectsServiceAccountsGet (Maybe Text) Source #
JSONP