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 |
Restores a deleted ServiceAccount. This is to be used as an action of last resort. A service account may not always be restorable.
See: Identity and Access Management (IAM) API Reference for iam.projects.serviceAccounts.undelete
.
Synopsis
- type ProjectsServiceAccountsUndeleteResource = "v1" :> (CaptureMode "name" "undelete" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UndeleteServiceAccountRequest :> Post '[JSON] UndeleteServiceAccountResponse))))))))
- projectsServiceAccountsUndelete :: UndeleteServiceAccountRequest -> Text -> ProjectsServiceAccountsUndelete
- data ProjectsServiceAccountsUndelete
- psauXgafv :: Lens' ProjectsServiceAccountsUndelete (Maybe Xgafv)
- psauUploadProtocol :: Lens' ProjectsServiceAccountsUndelete (Maybe Text)
- psauAccessToken :: Lens' ProjectsServiceAccountsUndelete (Maybe Text)
- psauUploadType :: Lens' ProjectsServiceAccountsUndelete (Maybe Text)
- psauPayload :: Lens' ProjectsServiceAccountsUndelete UndeleteServiceAccountRequest
- psauName :: Lens' ProjectsServiceAccountsUndelete Text
- psauCallback :: Lens' ProjectsServiceAccountsUndelete (Maybe Text)
REST Resource
type ProjectsServiceAccountsUndeleteResource = "v1" :> (CaptureMode "name" "undelete" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UndeleteServiceAccountRequest :> Post '[JSON] UndeleteServiceAccountResponse)))))))) Source #
A resource alias for iam.projects.serviceAccounts.undelete
method which the
ProjectsServiceAccountsUndelete
request conforms to.
Creating a Request
projectsServiceAccountsUndelete Source #
Creates a value of ProjectsServiceAccountsUndelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsServiceAccountsUndelete Source #
Restores a deleted ServiceAccount. This is to be used as an action of last resort. A service account may not always be restorable.
See: projectsServiceAccountsUndelete
smart constructor.
Instances
Request Lenses
psauUploadProtocol :: Lens' ProjectsServiceAccountsUndelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psauAccessToken :: Lens' ProjectsServiceAccountsUndelete (Maybe Text) Source #
OAuth access token.
psauUploadType :: Lens' ProjectsServiceAccountsUndelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psauPayload :: Lens' ProjectsServiceAccountsUndelete UndeleteServiceAccountRequest Source #
Multipart request metadata.
psauName :: Lens' ProjectsServiceAccountsUndelete Text Source #
The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_UNIQUE_ID}'. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account.
psauCallback :: Lens' ProjectsServiceAccountsUndelete (Maybe Text) Source #
JSONP