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 |
Retrieves a domain alias of the customer.
See: Admin Directory API Reference for directory.domainAliases.get
.
Synopsis
- type DomainAliasesGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("domainaliases" :> (Capture "domainAliasName" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DomainAlias)))))))
- domainAliasesGet :: Text -> Text -> DomainAliasesGet
- data DomainAliasesGet
- dagDomainAliasName :: Lens' DomainAliasesGet Text
- dagCustomer :: Lens' DomainAliasesGet Text
REST Resource
type DomainAliasesGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("domainaliases" :> (Capture "domainAliasName" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DomainAlias))))))) Source #
A resource alias for directory.domainAliases.get
method which the
DomainAliasesGet
request conforms to.
Creating a Request
Creates a value of DomainAliasesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DomainAliasesGet Source #
Retrieves a domain alias of the customer.
See: domainAliasesGet
smart constructor.
Instances
Request Lenses
dagDomainAliasName :: Lens' DomainAliasesGet Text Source #
Name of domain alias to be retrieved.
dagCustomer :: Lens' DomainAliasesGet Text Source #
Immutable ID of the G Suite account.