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 Membership.
See: Cloud Identity API Reference for cloudidentity.groups.memberships.get
.
Synopsis
- type GroupsMembershipsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Membership)))))))
- groupsMembershipsGet :: Text -> GroupsMembershipsGet
- data GroupsMembershipsGet
- gmgXgafv :: Lens' GroupsMembershipsGet (Maybe Xgafv)
- gmgUploadProtocol :: Lens' GroupsMembershipsGet (Maybe Text)
- gmgAccessToken :: Lens' GroupsMembershipsGet (Maybe Text)
- gmgUploadType :: Lens' GroupsMembershipsGet (Maybe Text)
- gmgName :: Lens' GroupsMembershipsGet Text
- gmgCallback :: Lens' GroupsMembershipsGet (Maybe Text)
REST Resource
type GroupsMembershipsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Membership))))))) Source #
A resource alias for cloudidentity.groups.memberships.get
method which the
GroupsMembershipsGet
request conforms to.
Creating a Request
Creates a value of GroupsMembershipsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GroupsMembershipsGet Source #
Retrieves a Membership.
See: groupsMembershipsGet
smart constructor.
Instances
Request Lenses
gmgUploadProtocol :: Lens' GroupsMembershipsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
gmgAccessToken :: Lens' GroupsMembershipsGet (Maybe Text) Source #
OAuth access token.
gmgUploadType :: Lens' GroupsMembershipsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
gmgName :: Lens' GroupsMembershipsGet Text Source #
Resource name of the Membership to be retrieved. Format: `groups/{group_id}/memberships/{member_id}`, where `group_id` is the unique id assigned to the Group to which Membership belongs to, and `member_id` is the unique ID assigned to the member.
gmgCallback :: Lens' GroupsMembershipsGet (Maybe Text) Source #
JSONP