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 Membership within a Group by member's EntityKey.
See: Cloud Identity API Reference for cloudidentity.groups.memberships.lookup
.
Synopsis
- type GroupsMembershipsLookupResource = "v1" :> (Capture "parent" Text :> ("memberships:lookup" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "memberKey.id" Text :> (QueryParam "memberKey.namespace" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LookupMembershipNameResponse))))))))))
- groupsMembershipsLookup :: Text -> GroupsMembershipsLookup
- data GroupsMembershipsLookup
- gmlParent :: Lens' GroupsMembershipsLookup Text
- gmlXgafv :: Lens' GroupsMembershipsLookup (Maybe Xgafv)
- gmlUploadProtocol :: Lens' GroupsMembershipsLookup (Maybe Text)
- gmlAccessToken :: Lens' GroupsMembershipsLookup (Maybe Text)
- gmlUploadType :: Lens' GroupsMembershipsLookup (Maybe Text)
- gmlMemberKeyId :: Lens' GroupsMembershipsLookup (Maybe Text)
- gmlMemberKeyNamespace :: Lens' GroupsMembershipsLookup (Maybe Text)
- gmlCallback :: Lens' GroupsMembershipsLookup (Maybe Text)
REST Resource
type GroupsMembershipsLookupResource = "v1" :> (Capture "parent" Text :> ("memberships:lookup" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "memberKey.id" Text :> (QueryParam "memberKey.namespace" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LookupMembershipNameResponse)))))))))) Source #
A resource alias for cloudidentity.groups.memberships.lookup
method which the
GroupsMembershipsLookup
request conforms to.
Creating a Request
groupsMembershipsLookup Source #
Creates a value of GroupsMembershipsLookup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GroupsMembershipsLookup Source #
Looks up resource name of a Membership within a Group by member's EntityKey.
See: groupsMembershipsLookup
smart constructor.
Instances
Request Lenses
gmlParent :: Lens' GroupsMembershipsLookup Text Source #
Resource name of the Group to lookup Membership within. Format: `groups/{group_id}`, where `group_id` is the unique ID assigned to the Group.
gmlUploadProtocol :: Lens' GroupsMembershipsLookup (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
gmlAccessToken :: Lens' GroupsMembershipsLookup (Maybe Text) Source #
OAuth access token.
gmlUploadType :: Lens' GroupsMembershipsLookup (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
gmlMemberKeyId :: Lens' GroupsMembershipsLookup (Maybe Text) Source #
The ID of the entity within the given namespace. The ID must be unique within its namespace.
gmlMemberKeyNamespace :: Lens' GroupsMembershipsLookup (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`.
gmlCallback :: Lens' GroupsMembershipsLookup (Maybe Text) Source #
JSONP