| 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.Resources.Buildings.Insert
Description
Inserts a building.
See: Admin Directory API Reference for directory.resources.buildings.insert.
Synopsis
- type ResourcesBuildingsInsertResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("buildings" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Building :> Post '[JSON] Building))))))))
- resourcesBuildingsInsert :: Building -> Text -> ResourcesBuildingsInsert
- data ResourcesBuildingsInsert
- rbiPayload :: Lens' ResourcesBuildingsInsert Building
- rbiCustomer :: Lens' ResourcesBuildingsInsert Text
REST Resource
type ResourcesBuildingsInsertResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("buildings" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Building :> Post '[JSON] Building)))))))) Source #
A resource alias for directory.resources.buildings.insert method which the
ResourcesBuildingsInsert request conforms to.
Creating a Request
resourcesBuildingsInsert Source #
Arguments
| :: Building | |
| -> Text | |
| -> ResourcesBuildingsInsert |
Creates a value of ResourcesBuildingsInsert with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResourcesBuildingsInsert Source #
Inserts a building.
See: resourcesBuildingsInsert smart constructor.
Instances
Request Lenses
rbiPayload :: Lens' ResourcesBuildingsInsert Building Source #
Multipart request metadata.
rbiCustomer :: Lens' ResourcesBuildingsInsert 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.