Method: settings.datasources.create
Erstellt eine Datenquelle.
Hinweis:Zum Ausführen dieser API ist ein Administratorkonto erforderlich.
HTTP-Anfrage
POST https://cloudsearch.googleapis.com/v1/settings/datasources
Die URL verwendet die Syntax der gRPC-Transcodierung.
Anfragetext
Der Anfragetext enthält eine Instanz von DataSource
.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von Operation
.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
https://www.googleapis.com/auth/cloud_search.settings.indexing
https://www.googleapis.com/auth/cloud_search.settings
https://www.googleapis.com/auth/cloud_search
Weitere Informationen finden Sie im Leitfaden zur Autorisierung.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-09-03 (UTC).
[null,null,["Zuletzt aktualisiert: 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."]]],[]]