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 |
Looks up resource name of a Group by its EntityKey.
See: Cloud Identity API Reference for cloudidentity.groups.lookup
.
Synopsis
- type GroupsLookupResource = "v1" :> ("groups:lookup" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "groupKey.id" Text :> (QueryParam "uploadType" Text :> (QueryParam "groupKey.namespace" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LookupGroupNameResponse)))))))))
- groupsLookup :: GroupsLookup
- data GroupsLookup
- glXgafv :: Lens' GroupsLookup (Maybe Xgafv)
- glUploadProtocol :: Lens' GroupsLookup (Maybe Text)
- glAccessToken :: Lens' GroupsLookup (Maybe Text)
- glGroupKeyId :: Lens' GroupsLookup (Maybe Text)
- glUploadType :: Lens' GroupsLookup (Maybe Text)
- glGroupKeyNamespace :: Lens' GroupsLookup (Maybe Text)
- glCallback :: Lens' GroupsLookup (Maybe Text)
REST Resource
type GroupsLookupResource = "v1" :> ("groups:lookup" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "groupKey.id" Text :> (QueryParam "uploadType" Text :> (QueryParam "groupKey.namespace" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LookupGroupNameResponse))))))))) Source #
A resource alias for cloudidentity.groups.lookup
method which the
GroupsLookup
request conforms to.
Creating a Request
groupsLookup :: GroupsLookup Source #
Creates a value of GroupsLookup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GroupsLookup Source #
Looks up resource name of a Group by its EntityKey.
See: groupsLookup
smart constructor.
Instances
Request Lenses
glUploadProtocol :: Lens' GroupsLookup (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
glAccessToken :: Lens' GroupsLookup (Maybe Text) Source #
OAuth access token.
glGroupKeyId :: Lens' GroupsLookup (Maybe Text) Source #
The ID of the entity within the given namespace. The ID must be unique within its namespace.
glUploadType :: Lens' GroupsLookup (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
glGroupKeyNamespace :: Lens' GroupsLookup (Maybe Text) Source #
Namespaces provide isolation for IDs, so an ID only needs to be unique within its namespace. Namespaces are currently only created as part of IdentitySource creation from Admin Console. A namespace `"identitysources/{identity_source_id}"` is created corresponding to every Identity Source `identity_source_id`.
glCallback :: Lens' GroupsLookup (Maybe Text) Source #
JSONP