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 |
Lists the domain aliases of the customer.
See: Admin Directory API Reference for directory.domainAliases.list
.
Synopsis
- type DomainAliasesListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("domainaliases" :> (QueryParam "parentDomainName" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DomainAliases)))))))
- domainAliasesList :: Text -> DomainAliasesList
- data DomainAliasesList
- dalCustomer :: Lens' DomainAliasesList Text
- dalParentDomainName :: Lens' DomainAliasesList (Maybe Text)
REST Resource
type DomainAliasesListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("domainaliases" :> (QueryParam "parentDomainName" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DomainAliases))))))) Source #
A resource alias for directory.domainAliases.list
method which the
DomainAliasesList
request conforms to.
Creating a Request
Creates a value of DomainAliasesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DomainAliasesList Source #
Lists the domain aliases of the customer.
See: domainAliasesList
smart constructor.
Instances
Request Lenses
dalCustomer :: Lens' DomainAliasesList Text Source #
Immutable ID of the G Suite account.
dalParentDomainName :: Lens' DomainAliasesList (Maybe Text) Source #
Name of the parent domain for which domain aliases are to be fetched.