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