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 building.
See: Admin Directory API Reference for directory.resources.buildings.get
.
Synopsis
- type ResourcesBuildingsGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("buildings" :> (Capture "buildingId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Building))))))))
- resourcesBuildingsGet :: Text -> Text -> ResourcesBuildingsGet
- data ResourcesBuildingsGet
- rbgBuildingId :: Lens' ResourcesBuildingsGet Text
- rbgCustomer :: Lens' ResourcesBuildingsGet Text
REST Resource
type ResourcesBuildingsGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("buildings" :> (Capture "buildingId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Building)))))))) Source #
A resource alias for directory.resources.buildings.get
method which the
ResourcesBuildingsGet
request conforms to.
Creating a Request
resourcesBuildingsGet Source #
Creates a value of ResourcesBuildingsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResourcesBuildingsGet Source #
Retrieves a building.
See: resourcesBuildingsGet
smart constructor.
Instances
Request Lenses
rbgBuildingId :: Lens' ResourcesBuildingsGet Text Source #
The unique ID of the building to retrieve.
rbgCustomer :: Lens' ResourcesBuildingsGet Text Source #
The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.