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 the schema of a data source.
See: Cloud Search API Reference for cloudsearch.indexing.datasources.getSchema
.
Synopsis
- type IndexingDatasourcesGetSchemaResource = "v1" :> ("indexing" :> (Capture "name" Text :> ("schema" :> (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] Schema))))))))))
- indexingDatasourcesGetSchema :: Text -> IndexingDatasourcesGetSchema
- data IndexingDatasourcesGetSchema
- idgsXgafv :: Lens' IndexingDatasourcesGetSchema (Maybe Xgafv)
- idgsUploadProtocol :: Lens' IndexingDatasourcesGetSchema (Maybe Text)
- idgsAccessToken :: Lens' IndexingDatasourcesGetSchema (Maybe Text)
- idgsUploadType :: Lens' IndexingDatasourcesGetSchema (Maybe Text)
- idgsName :: Lens' IndexingDatasourcesGetSchema Text
- idgsDebugOptionsEnableDebugging :: Lens' IndexingDatasourcesGetSchema (Maybe Bool)
- idgsCallback :: Lens' IndexingDatasourcesGetSchema (Maybe Text)
REST Resource
type IndexingDatasourcesGetSchemaResource = "v1" :> ("indexing" :> (Capture "name" Text :> ("schema" :> (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] Schema)))))))))) Source #
A resource alias for cloudsearch.indexing.datasources.getSchema
method which the
IndexingDatasourcesGetSchema
request conforms to.
Creating a Request
indexingDatasourcesGetSchema Source #
Creates a value of IndexingDatasourcesGetSchema
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data IndexingDatasourcesGetSchema Source #
Gets the schema of a data source.
See: indexingDatasourcesGetSchema
smart constructor.
Instances
Request Lenses
idgsUploadProtocol :: Lens' IndexingDatasourcesGetSchema (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
idgsAccessToken :: Lens' IndexingDatasourcesGetSchema (Maybe Text) Source #
OAuth access token.
idgsUploadType :: Lens' IndexingDatasourcesGetSchema (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
idgsName :: Lens' IndexingDatasourcesGetSchema Text Source #
Name of the data source to get Schema. Format: datasources/{source_id}
idgsDebugOptionsEnableDebugging :: Lens' IndexingDatasourcesGetSchema (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.
idgsCallback :: Lens' IndexingDatasourcesGetSchema (Maybe Text) Source #
JSONP