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 |
Lists data sources.
See: Cloud Search API Reference for cloudsearch.settings.datasources.list
.
Synopsis
- type SettingsDatasourcesListResource = "v1" :> ("settings" :> ("datasources" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "debugOptions.enableDebugging" Bool :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDataSourceResponse)))))))))))
- settingsDatasourcesList :: SettingsDatasourcesList
- data SettingsDatasourcesList
- sdlXgafv :: Lens' SettingsDatasourcesList (Maybe Xgafv)
- sdlUploadProtocol :: Lens' SettingsDatasourcesList (Maybe Text)
- sdlAccessToken :: Lens' SettingsDatasourcesList (Maybe Text)
- sdlUploadType :: Lens' SettingsDatasourcesList (Maybe Text)
- sdlDebugOptionsEnableDebugging :: Lens' SettingsDatasourcesList (Maybe Bool)
- sdlPageToken :: Lens' SettingsDatasourcesList (Maybe Text)
- sdlPageSize :: Lens' SettingsDatasourcesList (Maybe Int32)
- sdlCallback :: Lens' SettingsDatasourcesList (Maybe Text)
REST Resource
type SettingsDatasourcesListResource = "v1" :> ("settings" :> ("datasources" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "debugOptions.enableDebugging" Bool :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDataSourceResponse))))))))))) Source #
A resource alias for cloudsearch.settings.datasources.list
method which the
SettingsDatasourcesList
request conforms to.
Creating a Request
settingsDatasourcesList :: SettingsDatasourcesList Source #
Creates a value of SettingsDatasourcesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SettingsDatasourcesList Source #
Lists data sources.
See: settingsDatasourcesList
smart constructor.
Instances
Request Lenses
sdlUploadProtocol :: Lens' SettingsDatasourcesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sdlAccessToken :: Lens' SettingsDatasourcesList (Maybe Text) Source #
OAuth access token.
sdlUploadType :: Lens' SettingsDatasourcesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
sdlDebugOptionsEnableDebugging :: Lens' SettingsDatasourcesList (Maybe Bool) Source #
If set, the request will enable debugging features of Cloud Search. Only turn on this field, if asked by Google to help with debugging.
sdlPageToken :: Lens' SettingsDatasourcesList (Maybe Text) Source #
Starting index of the results.
sdlPageSize :: Lens' SettingsDatasourcesList (Maybe Int32) Source #
Maximum number of data sources to fetch in a request. The max value is 100. The default value is 10
sdlCallback :: Lens' SettingsDatasourcesList (Maybe Text) Source #
JSONP