| 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.Patch
Description
Updates a feature. This method supports patch semantics.
See: Admin Directory API Reference for directory.resources.features.patch.
Synopsis
- type ResourcesFeaturesPatchResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("features" :> (Capture "featureKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Feature :> Patch '[JSON] Feature)))))))))
- resourcesFeaturesPatch :: Feature -> Text -> Text -> ResourcesFeaturesPatch
- data ResourcesFeaturesPatch
- rfpPayload :: Lens' ResourcesFeaturesPatch Feature
- rfpCustomer :: Lens' ResourcesFeaturesPatch Text
- rfpFeatureKey :: Lens' ResourcesFeaturesPatch Text
REST Resource
type ResourcesFeaturesPatchResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("features" :> (Capture "featureKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Feature :> Patch '[JSON] Feature))))))))) Source #
A resource alias for directory.resources.features.patch method which the
ResourcesFeaturesPatch request conforms to.
Creating a Request
resourcesFeaturesPatch Source #
Arguments
| :: Feature | |
| -> Text | |
| -> Text | |
| -> ResourcesFeaturesPatch |
Creates a value of ResourcesFeaturesPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResourcesFeaturesPatch Source #
Updates a feature. This method supports patch semantics.
See: resourcesFeaturesPatch smart constructor.
Instances
Request Lenses
rfpPayload :: Lens' ResourcesFeaturesPatch Feature Source #
Multipart request metadata.
rfpCustomer :: Lens' ResourcesFeaturesPatch 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.
rfpFeatureKey :: Lens' ResourcesFeaturesPatch Text Source #
The unique ID of the feature to update.