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 |
Inserts a Domain alias of the customer.
See: Admin Directory API Reference for directory.domainAliases.insert
.
Synopsis
- type DomainAliasesInsertResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("domainaliases" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DomainAlias :> Post '[JSON] DomainAlias)))))))
- domainAliasesInsert :: DomainAlias -> Text -> DomainAliasesInsert
- data DomainAliasesInsert
- daiPayload :: Lens' DomainAliasesInsert DomainAlias
- daiCustomer :: Lens' DomainAliasesInsert Text
REST Resource
type DomainAliasesInsertResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("domainaliases" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DomainAlias :> Post '[JSON] DomainAlias))))))) Source #
A resource alias for directory.domainAliases.insert
method which the
DomainAliasesInsert
request conforms to.
Creating a Request
Creates a value of DomainAliasesInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DomainAliasesInsert Source #
Inserts a Domain alias of the customer.
See: domainAliasesInsert
smart constructor.
Instances
Request Lenses
daiPayload :: Lens' DomainAliasesInsert DomainAlias Source #
Multipart request metadata.
daiCustomer :: Lens' DomainAliasesInsert Text Source #
Immutable ID of the G Suite account.