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 |
Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application. default_cookie_expiration - Cookie expiration policy for the application.
See: App Engine Admin API Reference for appengine.apps.patch
.
Synopsis
- type AppsPatchResource = "v1" :> ("apps" :> (Capture "appsId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Application :> Patch '[JSON] Operation))))))))))
- appsPatch :: Application -> Text -> AppsPatch
- data AppsPatch
- apXgafv :: Lens' AppsPatch (Maybe Xgafv)
- apUploadProtocol :: Lens' AppsPatch (Maybe Text)
- apUpdateMask :: Lens' AppsPatch (Maybe GFieldMask)
- apAccessToken :: Lens' AppsPatch (Maybe Text)
- apUploadType :: Lens' AppsPatch (Maybe Text)
- apPayload :: Lens' AppsPatch Application
- apAppsId :: Lens' AppsPatch Text
- apCallback :: Lens' AppsPatch (Maybe Text)
REST Resource
type AppsPatchResource = "v1" :> ("apps" :> (Capture "appsId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Application :> Patch '[JSON] Operation)))))))))) Source #
A resource alias for appengine.apps.patch
method which the
AppsPatch
request conforms to.
Creating a Request
Creates a value of AppsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application. default_cookie_expiration - Cookie expiration policy for the application.
See: appsPatch
smart constructor.
Instances
Request Lenses
apUploadProtocol :: Lens' AppsPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
apUpdateMask :: Lens' AppsPatch (Maybe GFieldMask) Source #
Standard field mask for the set of fields to be updated.
apUploadType :: Lens' AppsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").