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 feature.
See: Admin Directory API Reference for directory.resources.features.get
.
Synopsis
- type ResourcesFeaturesGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("features" :> (Capture "featureKey" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Feature))))))))
- resourcesFeaturesGet :: Text -> Text -> ResourcesFeaturesGet
- data ResourcesFeaturesGet
- rfgCustomer :: Lens' ResourcesFeaturesGet Text
- rfgFeatureKey :: Lens' ResourcesFeaturesGet Text
REST Resource
type ResourcesFeaturesGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("features" :> (Capture "featureKey" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Feature)))))))) Source #
A resource alias for directory.resources.features.get
method which the
ResourcesFeaturesGet
request conforms to.
Creating a Request
Creates a value of ResourcesFeaturesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResourcesFeaturesGet Source #
Retrieves a feature.
See: resourcesFeaturesGet
smart constructor.
Instances
Request Lenses
rfgCustomer :: Lens' ResourcesFeaturesGet 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.
rfgFeatureKey :: Lens' ResourcesFeaturesGet Text Source #
The unique ID of the feature to retrieve.