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 |
Get a specific contact group owned by the authenticated user by specifying a contact group resource name.
See: People API Reference for people.contactGroups.get
.
Synopsis
- type ContactGroupsGetResource = "v1" :> (Capture "resourceName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "maxMembers" (Textual Int32) :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ContactGroup))))))))
- contactGroupsGet :: Text -> ContactGroupsGet
- data ContactGroupsGet
- cggXgafv :: Lens' ContactGroupsGet (Maybe Xgafv)
- cggMaxMembers :: Lens' ContactGroupsGet (Maybe Int32)
- cggUploadProtocol :: Lens' ContactGroupsGet (Maybe Text)
- cggResourceName :: Lens' ContactGroupsGet Text
- cggAccessToken :: Lens' ContactGroupsGet (Maybe Text)
- cggUploadType :: Lens' ContactGroupsGet (Maybe Text)
- cggCallback :: Lens' ContactGroupsGet (Maybe Text)
REST Resource
type ContactGroupsGetResource = "v1" :> (Capture "resourceName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "maxMembers" (Textual Int32) :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ContactGroup)))))))) Source #
A resource alias for people.contactGroups.get
method which the
ContactGroupsGet
request conforms to.
Creating a Request
Creates a value of ContactGroupsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ContactGroupsGet Source #
Get a specific contact group owned by the authenticated user by specifying a contact group resource name.
See: contactGroupsGet
smart constructor.
Instances
Request Lenses
cggMaxMembers :: Lens' ContactGroupsGet (Maybe Int32) Source #
Specifies the maximum number of members to return.
cggUploadProtocol :: Lens' ContactGroupsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cggResourceName :: Lens' ContactGroupsGet Text Source #
The resource name of the contact group to get.
cggAccessToken :: Lens' ContactGroupsGet (Maybe Text) Source #
OAuth access token.
cggUploadType :: Lens' ContactGroupsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cggCallback :: Lens' ContactGroupsGet (Maybe Text) Source #
JSONP