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