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 |
Renames a feature.
See: Admin Directory API Reference for directory.resources.features.rename
.
Synopsis
- type ResourcesFeaturesRenameResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("features" :> (Capture "oldName" Text :> ("rename" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FeatureRename :> Post '[JSON] ()))))))))))
- resourcesFeaturesRename :: FeatureRename -> Text -> Text -> ResourcesFeaturesRename
- data ResourcesFeaturesRename
- rfrPayload :: Lens' ResourcesFeaturesRename FeatureRename
- rfrCustomer :: Lens' ResourcesFeaturesRename Text
- rfrOldName :: Lens' ResourcesFeaturesRename Text
REST Resource
type ResourcesFeaturesRenameResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("features" :> (Capture "oldName" Text :> ("rename" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FeatureRename :> Post '[JSON] ())))))))))) Source #
A resource alias for directory.resources.features.rename
method which the
ResourcesFeaturesRename
request conforms to.
Creating a Request
resourcesFeaturesRename Source #
Creates a value of ResourcesFeaturesRename
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResourcesFeaturesRename Source #
Renames a feature.
See: resourcesFeaturesRename
smart constructor.
Instances
Request Lenses
rfrPayload :: Lens' ResourcesFeaturesRename FeatureRename Source #
Multipart request metadata.
rfrCustomer :: Lens' ResourcesFeaturesRename 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.
rfrOldName :: Lens' ResourcesFeaturesRename Text Source #
The unique ID of the feature to rename.