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 |
Search available services. When no filter is specified, returns all accessible services. For authenticated users, also returns all services the calling user has "servicemanagement.services.bind" permission for.
See: Service User API Reference for serviceuser.services.search
.
Synopsis
- type ServicesSearchResource = "v1" :> ("services:search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SearchServicesResponse)))))))))
- servicesSearch :: ServicesSearch
- data ServicesSearch
- ssXgafv :: Lens' ServicesSearch (Maybe Xgafv)
- ssUploadProtocol :: Lens' ServicesSearch (Maybe Text)
- ssAccessToken :: Lens' ServicesSearch (Maybe Text)
- ssUploadType :: Lens' ServicesSearch (Maybe Text)
- ssPageToken :: Lens' ServicesSearch (Maybe Text)
- ssPageSize :: Lens' ServicesSearch (Maybe Int32)
- ssCallback :: Lens' ServicesSearch (Maybe Text)
REST Resource
type ServicesSearchResource = "v1" :> ("services:search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SearchServicesResponse))))))))) Source #
A resource alias for serviceuser.services.search
method which the
ServicesSearch
request conforms to.
Creating a Request
servicesSearch :: ServicesSearch Source #
Creates a value of ServicesSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ServicesSearch Source #
Search available services. When no filter is specified, returns all accessible services. For authenticated users, also returns all services the calling user has "servicemanagement.services.bind" permission for.
See: servicesSearch
smart constructor.
Instances
Request Lenses
ssUploadProtocol :: Lens' ServicesSearch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ssAccessToken :: Lens' ServicesSearch (Maybe Text) Source #
OAuth access token.
ssUploadType :: Lens' ServicesSearch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ssPageToken :: Lens' ServicesSearch (Maybe Text) Source #
Token identifying which result to start with; returned by a previous list call.
ssPageSize :: Lens' ServicesSearch (Maybe Int32) Source #
Requested size of the next page of data.
ssCallback :: Lens' ServicesSearch (Maybe Text) Source #
JSONP