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