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 |
Provides information about a list of specific people by specifying a list of requested resource names. Use `people/me` to indicate the authenticated user.
See: Google People API Reference for people.people.getBatchGet
.
- type PeopleGetBatchGetResource = "v1" :> ("people:batchGet" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "requestMask.includeField" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParams "resourceNames" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetPeopleResponse)))))))))))
- peopleGetBatchGet :: PeopleGetBatchGet
- data PeopleGetBatchGet
- pgbgXgafv :: Lens' PeopleGetBatchGet (Maybe Text)
- pgbgUploadProtocol :: Lens' PeopleGetBatchGet (Maybe Text)
- pgbgRequestMaskIncludeField :: Lens' PeopleGetBatchGet (Maybe Text)
- pgbgPp :: Lens' PeopleGetBatchGet Bool
- pgbgAccessToken :: Lens' PeopleGetBatchGet (Maybe Text)
- pgbgUploadType :: Lens' PeopleGetBatchGet (Maybe Text)
- pgbgBearerToken :: Lens' PeopleGetBatchGet (Maybe Text)
- pgbgResourceNames :: Lens' PeopleGetBatchGet [Text]
- pgbgCallback :: Lens' PeopleGetBatchGet (Maybe Text)
REST Resource
type PeopleGetBatchGetResource = "v1" :> ("people:batchGet" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "requestMask.includeField" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParams "resourceNames" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetPeopleResponse))))))))))) Source #
A resource alias for people.people.getBatchGet
method which the
PeopleGetBatchGet
request conforms to.
Creating a Request
peopleGetBatchGet :: PeopleGetBatchGet Source #
Creates a value of PeopleGetBatchGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PeopleGetBatchGet Source #
Provides information about a list of specific people by specifying a list of requested resource names. Use `people/me` to indicate the authenticated user.
See: peopleGetBatchGet
smart constructor.
Request Lenses
pgbgUploadProtocol :: Lens' PeopleGetBatchGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pgbgRequestMaskIncludeField :: Lens' PeopleGetBatchGet (Maybe Text) Source #
Comma-separated list of fields to be included in the response. Omitting this field will include all fields. Each path should start with `person.`: for example, `person.names` or `person.photos`.
pgbgAccessToken :: Lens' PeopleGetBatchGet (Maybe Text) Source #
OAuth access token.
pgbgUploadType :: Lens' PeopleGetBatchGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pgbgBearerToken :: Lens' PeopleGetBatchGet (Maybe Text) Source #
OAuth bearer token.
pgbgResourceNames :: Lens' PeopleGetBatchGet [Text] Source #
The resource name, such as one returned by `people.connections.list`, of one of the people to provide information about. You can include this parameter up to 50 times in one request.
pgbgCallback :: Lens' PeopleGetBatchGet (Maybe Text) Source #
JSONP