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 |
Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account. If you have deleted your App Engine service account, this will not be able to recreate it. Instead, you should attempt to use the IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D . If the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log.
See: App Engine Admin API Reference for appengine.apps.repair
.
Synopsis
- type AppsRepairResource = "v1" :> ("apps" :> (CaptureMode "appsId" "repair" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RepairApplicationRequest :> Post '[JSON] Operation)))))))))
- appsRepair :: RepairApplicationRequest -> Text -> AppsRepair
- data AppsRepair
- arXgafv :: Lens' AppsRepair (Maybe Xgafv)
- arUploadProtocol :: Lens' AppsRepair (Maybe Text)
- arAccessToken :: Lens' AppsRepair (Maybe Text)
- arUploadType :: Lens' AppsRepair (Maybe Text)
- arPayload :: Lens' AppsRepair RepairApplicationRequest
- arAppsId :: Lens' AppsRepair Text
- arCallback :: Lens' AppsRepair (Maybe Text)
REST Resource
type AppsRepairResource = "v1" :> ("apps" :> (CaptureMode "appsId" "repair" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RepairApplicationRequest :> Post '[JSON] Operation))))))))) Source #
A resource alias for appengine.apps.repair
method which the
AppsRepair
request conforms to.
Creating a Request
Creates a value of AppsRepair
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AppsRepair Source #
Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account. If you have deleted your App Engine service account, this will not be able to recreate it. Instead, you should attempt to use the IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D . If the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log.
See: appsRepair
smart constructor.
Instances
Request Lenses
arUploadProtocol :: Lens' AppsRepair (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
arAccessToken :: Lens' AppsRepair (Maybe Text) Source #
OAuth access token.
arUploadType :: Lens' AppsRepair (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
arPayload :: Lens' AppsRepair RepairApplicationRequest Source #
Multipart request metadata.
arAppsId :: Lens' AppsRepair Text Source #
Part of `name`. Name of the application to repair. Example: apps/myapp
arCallback :: Lens' AppsRepair (Maybe Text) Source #
JSONP