Metode DocsView.setFileIds
Menetapkan ID file yang disertakan dalam tampilan.
Tanda Tangan
setFileIds(fileIds: string): DocsView;
Detail
Opsional |
Tidak |
Final |
Tidak |
Dengan kontrasepsi |
Tidak |
Statis |
Tidak |
Parameter
Nama |
Jenis |
Opsional |
Deskripsi |
fileIds
|
string
|
Tidak
|
String ID file. Gunakan koma untuk
memisahkan ID file jika menetapkan lebih
dari satu. Jika Anda menyertakan ID file yang tidak dapat diakses oleh pengguna, file tersebut akan dikecualikan dari tampilan. |
Hasil
DocsView
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-21 UTC.
[null,null,["Terakhir diperbarui pada 2025-01-21 UTC."],[[["`setFileIds` is a function that sets the file IDs to be included in a `DocsView`."],["The `setFileIds` function takes a mandatory string parameter `fileIds`, which can include multiple comma-separated file IDs."],["If a file ID specified in `fileIds` is not accessible to the user, that file will be excluded from the `DocsView`."],["The `setFileIds` function returns a `DocsView` object."]]],[]]