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 |
Searches for Groups.
See: Cloud Identity API Reference for cloudidentity.groups.search
.
Synopsis
- type GroupsSearchResource = "v1" :> ("groups:search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "query" Text :> (QueryParam "view" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SearchGroupsResponse)))))))))))
- groupsSearch :: GroupsSearch
- data GroupsSearch
- gsXgafv :: Lens' GroupsSearch (Maybe Xgafv)
- gsUploadProtocol :: Lens' GroupsSearch (Maybe Text)
- gsAccessToken :: Lens' GroupsSearch (Maybe Text)
- gsUploadType :: Lens' GroupsSearch (Maybe Text)
- gsQuery :: Lens' GroupsSearch (Maybe Text)
- gsView :: Lens' GroupsSearch (Maybe Text)
- gsPageToken :: Lens' GroupsSearch (Maybe Text)
- gsPageSize :: Lens' GroupsSearch (Maybe Int32)
- gsCallback :: Lens' GroupsSearch (Maybe Text)
REST Resource
type GroupsSearchResource = "v1" :> ("groups:search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "query" Text :> (QueryParam "view" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SearchGroupsResponse))))))))))) Source #
A resource alias for cloudidentity.groups.search
method which the
GroupsSearch
request conforms to.
Creating a Request
groupsSearch :: GroupsSearch Source #
Creates a value of GroupsSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GroupsSearch Source #
Searches for Groups.
See: groupsSearch
smart constructor.
Instances
Request Lenses
gsUploadProtocol :: Lens' GroupsSearch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
gsAccessToken :: Lens' GroupsSearch (Maybe Text) Source #
OAuth access token.
gsUploadType :: Lens' GroupsSearch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
gsQuery :: Lens' GroupsSearch (Maybe Text) Source #
`Required`. Query string for performing search on groups. Users can search on parent and label attributes of groups. EXACT match ('==') is supported on parent, and CONTAINS match ('in') is supported on labels.
gsView :: Lens' GroupsSearch (Maybe Text) Source #
Group resource view to be returned. Defaults to [View.BASIC]().
gsPageToken :: Lens' GroupsSearch (Maybe Text) Source #
The next_page_token value returned from a previous search request, if any.
gsPageSize :: Lens' GroupsSearch (Maybe Int32) Source #
Maximum number of Groups to return. View | Default | Maximum -----|---------|-------- BASIC | 200 | 1000 FULL | 50 | 500
gsCallback :: Lens' GroupsSearch (Maybe Text) Source #
JSONP