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 |
Network.Google.Resource.Directory.OrgUnits.Get
Description
Retrieve Organization Unit
See: Admin Directory API Reference for directory.orgunits.get
.
- type OrgUnitsGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("orgunits" :> (Captures "orgUnitPath" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] OrgUnit)))))))
- orgUnitsGet :: [Text] -> Text -> OrgUnitsGet
- data OrgUnitsGet
- ougOrgUnitPath :: Lens' OrgUnitsGet [Text]
- ougCustomerId :: Lens' OrgUnitsGet Text
REST Resource
type OrgUnitsGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("orgunits" :> (Captures "orgUnitPath" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] OrgUnit))))))) #
A resource alias for directory.orgunits.get
method which the
OrgUnitsGet
request conforms to.
Creating a Request
Arguments
:: [Text] | |
-> Text | |
-> OrgUnitsGet |
Creates a value of OrgUnitsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrgUnitsGet #
Retrieve Organization Unit
See: orgUnitsGet
smart constructor.
Instances
Eq OrgUnitsGet # | |
Data OrgUnitsGet # | |
Show OrgUnitsGet # | |
Generic OrgUnitsGet # | |
GoogleRequest OrgUnitsGet # | |
type Rep OrgUnitsGet # | |
type Scopes OrgUnitsGet # | |
type Rs OrgUnitsGet # | |
Request Lenses
ougOrgUnitPath :: Lens' OrgUnitsGet [Text] #
Full path of the organization unit or its Id
ougCustomerId :: Lens' OrgUnitsGet Text #
Immutable id of the Google Apps account