Menghapus file konteks dari sesi.
Permintaan HTTP
POST https://discoveryengine.googleapis.com/v1alpha/{name=projects/*/locations/*/collections/*/engines/*/sessions/*}:removeContextFile
URL menggunakan sintaks gRPC Transcoding.
Parameter jalur
| Parameter | |
|---|---|
name |
Wajib. Nama sesi. Format: |
Isi permintaan
Isi permintaan memuat data dengan struktur berikut:
| Representasi JSON |
|---|
{ "fileId": string } |
| Kolom | |
|---|---|
fileId |
Wajib. ID file konteks. |
Isi respons
Jika berhasil, isi respons akan kosong.
Cakupan otorisasi
Memerlukan salah satu cakupan OAuth berikut:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/discoveryengine.readwritehttps://www.googleapis.com/auth/discoveryengine.assist.readwrite
Untuk mengetahui informasi selengkapnya, lihat Authentication Overview.
Izin IAM
Memerlukan izin IAM berikut pada resource name:
discoveryengine.sessions.removeContextFile
Untuk mengetahui informasi selengkapnya, lihat dokumentasi IAM.