Memperbarui skema sumber data. Metode ini tidak melakukan pembaruan bertahap pada skema. Sebagai gantinya, metode ini memperbarui skema dengan menimpa seluruh skema.
Catatan: API ini memerlukan admin atau akun layanan agar dapat dijalankan.
Permintaan HTTP
PUT https://cloudsearch.googleapis.com/v1/indexing/{name=datasources/*}/schema
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-10-11 UTC."],[[["This API updates a data source's schema by completely replacing the existing one with a new one provided in the request."],["The request requires specifying the data source name and the new schema, with options for validation and debugging."],["Admin or service account authorization is necessary to execute this API."],["Successful execution returns an Operation object indicating the status of the schema update."],["OAuth scopes like `cloud_search.settings.indexing`, `cloud_search.settings`, or `cloud_search` are needed for authorization."]]],[]]