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 |
Gets a data source.
See: Cloud Search API Reference for cloudsearch.settings.datasources.get
.
Synopsis
- type SettingsDatasourcesGetResource = "v1" :> ("settings" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "debugOptions.enableDebugging" Bool :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DataSource)))))))))
- settingsDatasourcesGet :: Text -> SettingsDatasourcesGet
- data SettingsDatasourcesGet
- sdgXgafv :: Lens' SettingsDatasourcesGet (Maybe Xgafv)
- sdgUploadProtocol :: Lens' SettingsDatasourcesGet (Maybe Text)
- sdgAccessToken :: Lens' SettingsDatasourcesGet (Maybe Text)
- sdgUploadType :: Lens' SettingsDatasourcesGet (Maybe Text)
- sdgName :: Lens' SettingsDatasourcesGet Text
- sdgDebugOptionsEnableDebugging :: Lens' SettingsDatasourcesGet (Maybe Bool)
- sdgCallback :: Lens' SettingsDatasourcesGet (Maybe Text)
REST Resource
type SettingsDatasourcesGetResource = "v1" :> ("settings" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "debugOptions.enableDebugging" Bool :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DataSource))))))))) Source #
A resource alias for cloudsearch.settings.datasources.get
method which the
SettingsDatasourcesGet
request conforms to.
Creating a Request
settingsDatasourcesGet Source #
Creates a value of SettingsDatasourcesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SettingsDatasourcesGet Source #
Gets a data source.
See: settingsDatasourcesGet
smart constructor.
Instances
Request Lenses
sdgUploadProtocol :: Lens' SettingsDatasourcesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sdgAccessToken :: Lens' SettingsDatasourcesGet (Maybe Text) Source #
OAuth access token.
sdgUploadType :: Lens' SettingsDatasourcesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
sdgName :: Lens' SettingsDatasourcesGet Text Source #
Name of the data source resource. Format: datasources/{source_id}.
sdgDebugOptionsEnableDebugging :: Lens' SettingsDatasourcesGet (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.
sdgCallback :: Lens' SettingsDatasourcesGet (Maybe Text) Source #
JSONP