Creates a datasource.
Note: This API requires an admin account to execute.
HTTP request
POST https://cloudsearch.googleapis.com/v1/settings/datasources
The URL uses gRPC Transcoding syntax.
Request body
The request body contains an instance of DataSource
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud_search.settings.indexing
https://www.googleapis.com/auth/cloud_search.settings
https://www.googleapis.com/auth/cloud_search
For more information, see the Authorization guide.