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 |
Updates a building.
See: Admin Directory API Reference for directory.resources.buildings.update
.
Synopsis
- type ResourcesBuildingsUpdateResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("buildings" :> (Capture "buildingId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Building :> Put '[JSON] Building)))))))))
- resourcesBuildingsUpdate :: Text -> Building -> Text -> ResourcesBuildingsUpdate
- data ResourcesBuildingsUpdate
- rbuBuildingId :: Lens' ResourcesBuildingsUpdate Text
- rbuPayload :: Lens' ResourcesBuildingsUpdate Building
- rbuCustomer :: Lens' ResourcesBuildingsUpdate Text
REST Resource
type ResourcesBuildingsUpdateResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("buildings" :> (Capture "buildingId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Building :> Put '[JSON] Building))))))))) Source #
A resource alias for directory.resources.buildings.update
method which the
ResourcesBuildingsUpdate
request conforms to.
Creating a Request
resourcesBuildingsUpdate Source #
Creates a value of ResourcesBuildingsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResourcesBuildingsUpdate Source #
Updates a building.
See: resourcesBuildingsUpdate
smart constructor.
Instances
Request Lenses
rbuBuildingId :: Lens' ResourcesBuildingsUpdate Text Source #
The ID of the building to update.
rbuPayload :: Lens' ResourcesBuildingsUpdate Building Source #
Multipart request metadata.
rbuCustomer :: Lens' ResourcesBuildingsUpdate 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.