Method: settings.datasources.create
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[null,null,["Last updated 2024-09-03 UTC."],[[["Creates a new datasource in Cloud Search, requiring an admin account and specific authorization scopes."],["Sends a POST request to the specified URL with the datasource details in the request body."],["Upon successful execution, returns an Operation object detailing the status of the datasource creation."],["Requires authorization with one of the listed OAuth scopes to access and modify Cloud Search settings."]]],[]]