DocsView.setFileIds 메서드
뷰에 포함된 파일 ID를 설정합니다.
서명
setFileIds(fileIds: string): DocsView;
세부정보
선택사항 |
아니요 |
종료 |
아니요 |
보호됨 |
아니요 |
정적 |
아니요 |
매개변수
이름 |
유형 |
선택사항 |
설명 |
fileIds
|
string
|
아니요
|
파일 ID의 문자열입니다. 파일 ID를 두 개 이상 설정하는 경우 쉼표를 사용하여 구분합니다. 사용자가 액세스할 수 없는 파일의 파일 ID를 포함하면 해당 파일이 뷰에서 제외됩니다. |
반환 값
DocsView
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-01-21(UTC)
[null,null,["최종 업데이트: 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."]]],[]]