- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates a datasource.
Note: This API requires an admin account to execute.
HTTP request
PATCH https://cloudsearch.googleapis.com/v1/settings/{source.name=datasources/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
source.name |
The name of the datasource resource. Format: datasources/{sourceId}. The name is ignored when creating a datasource. |
Query parameters
| Parameters | |
|---|---|
debugOptions |
Common debug options. |
updateMask |
Only applies to Update mask to control which fields to update. Example field paths:
|
Request body
The request body contains an instance of DataSource.
Response body
If successful, the response body contains an instance of Operation.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud_search.settings.indexinghttps://www.googleapis.com/auth/cloud_search.settingshttps://www.googleapis.com/auth/cloud_search
For more information, see the Authorization guide.