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