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