| 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.Delete
Description
Deletes a building.
See: Admin Directory API Reference for directory.resources.buildings.delete.
Synopsis
- type ResourcesBuildingsDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("buildings" :> (Capture "buildingId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))))
- resourcesBuildingsDelete :: Text -> Text -> ResourcesBuildingsDelete
- data ResourcesBuildingsDelete
- rbdBuildingId :: Lens' ResourcesBuildingsDelete Text
- rbdCustomer :: Lens' ResourcesBuildingsDelete Text
REST Resource
type ResourcesBuildingsDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("buildings" :> (Capture "buildingId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))) Source #
A resource alias for directory.resources.buildings.delete method which the
ResourcesBuildingsDelete request conforms to.
Creating a Request
resourcesBuildingsDelete Source #
Arguments
| :: Text | |
| -> Text | |
| -> ResourcesBuildingsDelete |
Creates a value of ResourcesBuildingsDelete with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResourcesBuildingsDelete Source #
Deletes a building.
See: resourcesBuildingsDelete smart constructor.
Instances
Request Lenses
rbdBuildingId :: Lens' ResourcesBuildingsDelete Text Source #
The ID of the building to delete.
rbdCustomer :: Lens' ResourcesBuildingsDelete 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.