| 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.List
Description
Retrieves a list of buildings for an account.
See: Admin Directory API Reference for directory.resources.buildings.list.
Synopsis
- type ResourcesBuildingsListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("buildings" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Buildings)))))))))
- resourcesBuildingsList :: Text -> ResourcesBuildingsList
- data ResourcesBuildingsList
- rblCustomer :: Lens' ResourcesBuildingsList Text
- rblPageToken :: Lens' ResourcesBuildingsList (Maybe Text)
- rblMaxResults :: Lens' ResourcesBuildingsList (Maybe Int32)
REST Resource
type ResourcesBuildingsListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("buildings" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Buildings))))))))) Source #
A resource alias for directory.resources.buildings.list method which the
ResourcesBuildingsList request conforms to.
Creating a Request
resourcesBuildingsList Source #
Arguments
| :: Text | |
| -> ResourcesBuildingsList |
Creates a value of ResourcesBuildingsList with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResourcesBuildingsList Source #
Retrieves a list of buildings for an account.
See: resourcesBuildingsList smart constructor.
Instances
Request Lenses
rblCustomer :: Lens' ResourcesBuildingsList 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.
rblPageToken :: Lens' ResourcesBuildingsList (Maybe Text) Source #
Token to specify the next page in the list.
rblMaxResults :: Lens' ResourcesBuildingsList (Maybe Int32) Source #
Maximum number of results to return.