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 domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.
See: App Engine Admin API Reference for appengine.apps.domainMappings.patch
.
Synopsis
- type AppsDomainMAppingsPatchResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("domainMappings" :> (Capture "domainMappingsId" 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] DomainMApping :> Patch '[JSON] Operation))))))))))))
- appsDomainMAppingsPatch :: DomainMApping -> Text -> Text -> AppsDomainMAppingsPatch
- data AppsDomainMAppingsPatch
- admapXgafv :: Lens' AppsDomainMAppingsPatch (Maybe Xgafv)
- admapUploadProtocol :: Lens' AppsDomainMAppingsPatch (Maybe Text)
- admapUpdateMask :: Lens' AppsDomainMAppingsPatch (Maybe GFieldMask)
- admapAccessToken :: Lens' AppsDomainMAppingsPatch (Maybe Text)
- admapUploadType :: Lens' AppsDomainMAppingsPatch (Maybe Text)
- admapPayload :: Lens' AppsDomainMAppingsPatch DomainMApping
- admapAppsId :: Lens' AppsDomainMAppingsPatch Text
- admapDomainMAppingsId :: Lens' AppsDomainMAppingsPatch Text
- admapCallback :: Lens' AppsDomainMAppingsPatch (Maybe Text)
REST Resource
type AppsDomainMAppingsPatchResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("domainMappings" :> (Capture "domainMappingsId" 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] DomainMApping :> Patch '[JSON] Operation)))))))))))) Source #
A resource alias for appengine.apps.domainMappings.patch
method which the
AppsDomainMAppingsPatch
request conforms to.
Creating a Request
appsDomainMAppingsPatch Source #
:: DomainMApping | |
-> Text | |
-> Text | |
-> AppsDomainMAppingsPatch |
Creates a value of AppsDomainMAppingsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AppsDomainMAppingsPatch Source #
Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.
See: appsDomainMAppingsPatch
smart constructor.
Instances
Request Lenses
admapXgafv :: Lens' AppsDomainMAppingsPatch (Maybe Xgafv) Source #
V1 error format.
admapUploadProtocol :: Lens' AppsDomainMAppingsPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
admapUpdateMask :: Lens' AppsDomainMAppingsPatch (Maybe GFieldMask) Source #
Standard field mask for the set of fields to be updated.
admapAccessToken :: Lens' AppsDomainMAppingsPatch (Maybe Text) Source #
OAuth access token.
admapUploadType :: Lens' AppsDomainMAppingsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
admapPayload :: Lens' AppsDomainMAppingsPatch DomainMApping Source #
Multipart request metadata.
admapAppsId :: Lens' AppsDomainMAppingsPatch Text Source #
Part of `name`. Name of the resource to update. Example: apps/myapp/domainMappings/example.com.
admapDomainMAppingsId :: Lens' AppsDomainMAppingsPatch Text Source #
Part of `name`. See documentation of `appsId`.
admapCallback :: Lens' AppsDomainMAppingsPatch (Maybe Text) Source #
JSONP